no_notifier_needed 2.4.1 → 2.4.2

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.4.1
1
+ 2.4.2
@@ -91,12 +91,12 @@ class Notifier < ActionMailer::Base
91
91
  to_ret.join(" ")
92
92
  end
93
93
 
94
- def utm_params(utm)
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
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "no_notifier_needed"
8
- s.version = "2.4.1"
8
+ s.version = "2.4.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Robert R. Meyer"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: no_notifier_needed
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.1
4
+ version: 2.4.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: