aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailer/lib/action_mailer/vendor
diff options
context:
space:
mode:
authorMikel Lindsaar <raasdnil@gmail.com>2009-11-22 23:20:57 +1100
committerMikel Lindsaar <raasdnil@gmail.com>2009-11-22 23:20:57 +1100
commit747d56881a07d4636fbaceb1542579d5e02daddd (patch)
treea50b5c656cd50e0d7b14281ffdb157ebb60f69d8 /actionmailer/lib/action_mailer/vendor
parentf6f70540bbb77a80df0949d0c9e57239bca10132 (diff)
downloadrails-747d56881a07d4636fbaceb1542579d5e02daddd.tar.gz
rails-747d56881a07d4636fbaceb1542579d5e02daddd.tar.bz2
rails-747d56881a07d4636fbaceb1542579d5e02daddd.zip
131 tests, 309 assertions, 0 failures, 0 errors
Diffstat (limited to 'actionmailer/lib/action_mailer/vendor')
-rw-r--r--actionmailer/lib/action_mailer/vendor/tmail_compat.rb22
1 files changed, 0 insertions, 22 deletions
diff --git a/actionmailer/lib/action_mailer/vendor/tmail_compat.rb b/actionmailer/lib/action_mailer/vendor/tmail_compat.rb
deleted file mode 100644
index 0e240eb478..0000000000
--- a/actionmailer/lib/action_mailer/vendor/tmail_compat.rb
+++ /dev/null
@@ -1,22 +0,0 @@
-# TMail Compatibility File
-# Created in 1.2 of Mail. Will be deprecated
-STDERR.puts("DEPRECATION WARNING, Mail running in TMail compatibility mode. This will be deprecated soon.")
-
-class Mail::Message
-
- def set_content_disposition(*args)
- STDERR.puts("DEPRECATION WARNING, Message#set_content_disposition is deprecated, please use Message#content_disposition")
- content_disposition(args)
- end
-
- def encoding=(val)
- STDERR.puts("DEPRECATION WARNING, Message#encoding= is deprecated, please use Message#content_transfer_encoding")
- content_transfer_encoding(val)
- end
-
- def quoted_body
- STDERR.puts("DEPRECATION WARNING, Body#quoted_body is deprecated, please use Message => Body#encoded")
- body.decoded
- end
-
-end