aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenare Degan <henare.degan@gmail.com>2013-02-10 16:51:30 +1100
committerHenare Degan <henare.degan@gmail.com>2013-02-10 16:51:30 +1100
commitb9a2d996408c1ef703aa78311f8c2a0f6e0d7afc (patch)
treea61a1c33c7061c93b41d5ef0057d942c7509bb3e
parentd38e035cced8bf225f1e3c94755f3ad14db0b302 (diff)
Update this to match the older version of the mail gem we're using
-rw-r--r--lib/mail_handler/backends/mail_extensions.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/mail_handler/backends/mail_extensions.rb b/lib/mail_handler/backends/mail_extensions.rb
index f756abd1a..83dce5733 100644
--- a/lib/mail_handler/backends/mail_extensions.rb
+++ b/lib/mail_handler/backends/mail_extensions.rb
@@ -50,8 +50,7 @@ module Mail
# A patched version of the parameter hash that handles nil values without throwing
# an error.
- class ParameterHash < IndifferentHash
-
+ class ParameterHash < HashWithIndifferentAccess
def encoded
map.sort { |a,b| a.first.to_s <=> b.first.to_s }.map do |key_name, value|
# The replacement of this commented out line is the change
@@ -64,4 +63,4 @@ module Mail
end.join(";\r\n\s")
end
end
-end \ No newline at end of file
+end