Browse files

Unvendor'd text-format, now requires text-format gem

  • Loading branch information...
1 parent c1f308f commit a06a5a64ba8f7d7b11025d136013b48a01ccdcc8 @mikel mikel committed Jan 28, 2010
@@ -1,5 +1,7 @@
*Rails 3.0 (pending)*
+* Unvendor'd text-format, now requires text-format gem
* Whole new API added with tests. See base.rb for full details. Old API is deprecated.
* The Mail::Message class has helped methods for all the field types that return 'common' defaults for the common use case, so to get the subject, mail.subject will give you a string, will give you a DateTime object, mail.from will give you an array of address specs ( etc. If you want to access the field object itself, call mail[:field_name] which will return the field object you want, which you can then chain, like mail[:from].formatted
@@ -12,6 +12,7 @@ do |s|
s.add_dependency('actionpack', '= 3.0.pre')
s.add_dependency('mail', '~> 2.1.2')
+ s.add_dependency('text-format', '~> 1.0.0')
s.files = Dir['CHANGELOG', 'README', 'MIT-LICENSE', 'lib/**/*']
s.has_rdoc = true
@@ -45,5 +45,5 @@ module ActionMailer
module Text
extend ActiveSupport::Autoload
- autoload :Format, 'action_mailer/vendor/text_format'
+ autoload :Format, 'text/format'
Oops, something went wrong.

0 comments on commit a06a5a6

Please sign in to comment.