no_notifier_needed 2.4.1 → 2.4.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.
- data/VERSION +1 -1
- data/initializers/notifier.rb +2 -2
- data/no_notifier_needed.gemspec +1 -1
- metadata +1 -1
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.4.
|
1
|
+
2.4.2
|
data/initializers/notifier.rb
CHANGED
@@ -91,12 +91,12 @@ class Notifier < ActionMailer::Base
|
|
91
91
|
to_ret.join(" ")
|
92
92
|
end
|
93
93
|
|
94
|
-
def utm_params
|
94
|
+
def utm_params
|
95
95
|
return "" unless @template.respond_to?(:utm_params)
|
96
96
|
utm = @template.utm_params
|
97
97
|
to_ret = utm if utm.is_a?(String)
|
98
98
|
to_ret = utm.join("&") if utm.is_a?(Array)
|
99
|
-
to_ret = utm.collect { |k,v| "#{k}=#{v}"}.join("&")
|
99
|
+
to_ret = utm.collect { |k,v| "#{k}=#{v}"}.join("&") if utm.is_a?(Hash)
|
100
100
|
return "?" + to_ret
|
101
101
|
end
|
102
102
|
|
data/no_notifier_needed.gemspec
CHANGED