rails_default_url_options 1.3.1 → 1.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -31,7 +31,7 @@ unless defined?(DefaultUrlOptions)
|
|
31
31
|
DefaultUrlOptions = defined?(HashWithIndifferentAccess) ? HashWithIndifferentAccess.new : Hash.new
|
32
32
|
|
33
33
|
def DefaultUrlOptions.version
|
34
|
-
'1.3.
|
34
|
+
'1.3.2'
|
35
35
|
end
|
36
36
|
|
37
37
|
def DefaultUrlOptions.configure(request = {})
|
@@ -56,7 +56,9 @@ unless defined?(DefaultUrlOptions)
|
|
56
56
|
# force action_mailer to not lick balls
|
57
57
|
#
|
58
58
|
Rails.configuration.action_mailer.default_url_options = default_url_options
|
59
|
-
ActionMailer::Base.default_url_options
|
59
|
+
if ActionMailer::Base.respond_to?('default_url_options=')
|
60
|
+
ActionMailer::Base.default_url_options = default_url_options
|
61
|
+
end
|
60
62
|
|
61
63
|
default_url_options
|
62
64
|
end
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
Gem::Specification::new do |spec|
|
5
5
|
spec.name = "rails_default_url_options"
|
6
|
-
spec.version = "1.3.
|
6
|
+
spec.version = "1.3.2"
|
7
7
|
spec.platform = Gem::Platform::RUBY
|
8
8
|
spec.summary = "rails_default_url_options"
|
9
9
|
spec.description = "description: rails_default_url_options kicks the ass"
|