dpickett-monkey_party 0.0.3 → 0.1.0
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.yml +2 -2
- data/lib/monkey_party/subscriber.rb +1 -1
- data/test/monkey_party/subscriber_test.rb +7 -0
- metadata +2 -2
data/VERSION.yml
CHANGED
@@ -33,5 +33,12 @@ class MonkeyParty::SubscriberTest < Test::Unit::TestCase
|
|
33
33
|
|
34
34
|
assert_equal intended_hash, @subscriber.to_mailchimp_hash
|
35
35
|
end
|
36
|
+
|
37
|
+
should "limit merge vars to 10 characters" do
|
38
|
+
@merge_vars = {:a_really_long_merge_var => "LONG ONE"}
|
39
|
+
@subscriber = MonkeyParty::Subscriber.new(@email, @merge_vars)
|
40
|
+
assert @subscriber.to_mailchimp_hash.keys.include?("A_REALLY_L")
|
41
|
+
|
42
|
+
end
|
36
43
|
end
|
37
44
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dpickett-monkey_party
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dan Pickett
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-04-
|
12
|
+
date: 2009-04-07 00:00:00 -07:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|