So I just updated the mail gem to 1.3.0 and against my fork of actionmailer at github/mikel/rails, ActionMailer now passes all tests in MRI 1.8.6, 1.8.7 and 1.9.1
So I just updated the mail gem to 1.3.0 and against my fork of actionmailer
at github/mikel/rails, ActionMailer now passes all tests in MRI 1.8.6, 1.8.7
and 1.9.1
Ask and ye shall receive. So, there are 10 failures on JRuby 1.4 and a
TONNE a warnings. You can see the full output here: http://gist.github.com/242667
Do you know if Carlhuda is intending on making changes in the mailer
department of Rails 3? I seem to recall Yehuda mentioning something to
this effect at one point. If I recall correctly it was about treating
mailers like controllers.
A lot of the warnings actually come from
the treetop parsers’ auto generated ruby code. I’ll be cleaning up as
much as I can over the coming weeks.
The errors look fairly easy… most of them are probably test suite failures in terms of having these types of constructs:
if RUBY_VERSION < ‘1.9’
force_encoding code
else
don’t force encoding
end
If you could form mail, and fix up those so they run in 1.9, 1.8 and jruby and do a pull request, I would be much obliged
Do you know if Carlhuda is intending on making changes in the mailer
department of Rails 3? I seem to recall Yehuda mentioning something to
this effect at one point. If I recall correctly it was about treating
mailers like controllers.
I
was talking to Yehuda about extracting actionmailer out to allow other
types of mailers, including things like IM clients etc. But from what I
know, it won’t make Rails 3.