gnumarcelo-campaigning 0.11.0 → 0.11.1
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION.yml +1 -1
- data/lib/campaigning/subscriber.rb +7 -1
- metadata +2 -2
data/VERSION.yml
CHANGED
@@ -136,7 +136,13 @@ module Campaigning
|
|
136
136
|
def custom_fields_array(custom_fields) #:nodoc:
|
137
137
|
arr = []
|
138
138
|
custom_fields.each do |key, value|
|
139
|
-
|
139
|
+
if value.is_a? Array
|
140
|
+
value.each do |v|
|
141
|
+
arr << {:key => key, :value => v}
|
142
|
+
end
|
143
|
+
else
|
144
|
+
arr << { :key => key, :value => value }
|
145
|
+
end
|
140
146
|
end
|
141
147
|
arr
|
142
148
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gnumarcelo-campaigning
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.11.
|
4
|
+
version: 0.11.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Marcelo Menezes
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-
|
12
|
+
date: 2009-07-02 00:00:00 -07:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|