contactology 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (54) hide show
  1. data/.infinity_test +1 -1
  2. data/.travis.yml +5 -0
  3. data/Gemfile +3 -0
  4. data/README.markdown +64 -0
  5. data/Rakefile +4 -0
  6. data/contactology.gemspec +1 -0
  7. data/lib/contactology.rb +2 -0
  8. data/lib/contactology/api.rb +2 -0
  9. data/lib/contactology/basic_object.rb +2 -0
  10. data/lib/contactology/campaign.rb +2 -0
  11. data/lib/contactology/campaign/preview.rb +2 -0
  12. data/lib/contactology/campaigns.rb +2 -0
  13. data/lib/contactology/campaigns/standard.rb +2 -0
  14. data/lib/contactology/campaigns/transactional.rb +2 -0
  15. data/lib/contactology/configuration.rb +2 -0
  16. data/lib/contactology/contact.rb +2 -0
  17. data/lib/contactology/errors.rb +2 -0
  18. data/lib/contactology/issue.rb +2 -0
  19. data/lib/contactology/issues.rb +2 -0
  20. data/lib/contactology/list.rb +2 -0
  21. data/lib/contactology/list_proxy.rb +2 -0
  22. data/lib/contactology/parser.rb +35 -0
  23. data/lib/contactology/send_result.rb +2 -0
  24. data/lib/contactology/stash.rb +2 -0
  25. data/lib/contactology/transactional_message.rb +2 -0
  26. data/lib/contactology/version.rb +3 -1
  27. data/spec/contactology.example.yml +1 -0
  28. data/spec/factories/campaigns.rb +2 -0
  29. data/spec/factories/contacts.rb +2 -0
  30. data/spec/factories/issues.rb +2 -0
  31. data/spec/factories/lists.rb +2 -0
  32. data/spec/factories/transactional_messages.rb +2 -0
  33. data/spec/fixtures/net/campaign/destroy.yml +170 -168
  34. data/spec/fixtures/net/campaign/find/success.yml +227 -120
  35. data/spec/fixtures/net/campaign/find_by_name/success.yml +215 -143
  36. data/spec/fixtures/net/campaign/preview.yml +136 -61
  37. data/spec/models/contactology/api_spec.rb +2 -0
  38. data/spec/models/contactology/campaign_spec.rb +6 -3
  39. data/spec/models/contactology/campaigns/standard_spec.rb +2 -0
  40. data/spec/models/contactology/campaigns/transactional_spec.rb +2 -0
  41. data/spec/models/contactology/configuration_spec.rb +2 -0
  42. data/spec/models/contactology/contact_spec.rb +2 -0
  43. data/spec/models/contactology/issues_spec.rb +2 -0
  44. data/spec/models/contactology/list_spec.rb +2 -0
  45. data/spec/models/contactology/send_result_spec.rb +2 -0
  46. data/spec/models/contactology/stash_spec.rb +2 -0
  47. data/spec/models/contactology/transactional_message_spec.rb +2 -0
  48. data/spec/models/contactology_spec.rb +2 -0
  49. data/spec/requests/contacts_spec.rb +2 -0
  50. data/spec/spec_helper.rb +2 -0
  51. data/spec/support/contactology.rb +2 -0
  52. data/spec/support/factory_girl.rb +2 -0
  53. data/spec/support/vcr.rb +2 -0
  54. metadata +98 -87
@@ -1,106 +1,181 @@
1
- ---
2
- - !ruby/struct:VCR::HTTPInteraction
3
- request: !ruby/struct:VCR::Request
1
+ ---
2
+ - !ruby/struct:VCR::HTTPInteraction
3
+ request: !ruby/struct:VCR::Request
4
4
  method: :get
5
5
  uri: https://api.emailcampaigns.net:443/2/REST/?campaignName=factory%20campaign&key=%{API_KEY}&method=Campaign_Create_Transactional&senderEmail=sender@example.com&senderName=Sender%20Example&subject=Test%20Creation&content%5Btext%5D=This%20is%20a%20good%20email.%20%7BCOMPANY_ADDRESS%7D&testContact%5Bemail%5D=test-contact@example.com&testReplacements%5Bfirst_name%5D=John
6
- body:
7
- headers:
8
- accept:
6
+ body: !!null
7
+ headers:
8
+ accept:
9
9
  - application/json
10
- user-agent:
10
+ user-agent:
11
11
  - contactology/0.0.1 (Rubygems; Ruby 1.9.2 x86_64-darwin10.7.1)
12
- response: !ruby/struct:VCR::Response
13
- status: !ruby/struct:VCR::ResponseStatus
12
+ response: !ruby/struct:VCR::Response
13
+ status: !ruby/struct:VCR::ResponseStatus
14
14
  code: 200
15
15
  message: OK
16
- headers:
17
- x-powered-by:
16
+ headers:
17
+ x-powered-by:
18
18
  - PHP/5.2.10
19
- set-cookie:
19
+ set-cookie:
20
20
  - PHPSESSID=52d93bd350333509a8408946083c9e9c; path=/
21
- expires:
21
+ expires:
22
22
  - Thu, 19 Nov 1981 08:52:00 GMT
23
- cache-control:
23
+ cache-control:
24
24
  - no-store, no-cache, must-revalidate, post-check=0, pre-check=0
25
- pragma:
25
+ pragma:
26
26
  - no-cache
27
- content-type:
27
+ content-type:
28
28
  - text/plain;charset=UTF-8
29
- transfer-encoding:
29
+ transfer-encoding:
30
30
  - chunked
31
- date:
31
+ date:
32
32
  - Wed, 03 Aug 2011 19:44:47 GMT
33
- server:
33
+ server:
34
34
  - lighttpd/1.4.28
35
- body: "42"
36
- http_version: "1.1"
37
- - !ruby/struct:VCR::HTTPInteraction
38
- request: !ruby/struct:VCR::Request
35
+ body: '42'
36
+ http_version: '1.1'
37
+ - !ruby/struct:VCR::HTTPInteraction
38
+ request: !ruby/struct:VCR::Request
39
39
  method: :get
40
40
  uri: https://api.emailcampaigns.net:443/2/REST/?campaignId=42&key=%{API_KEY}&method=Campaign_Preview
41
- body:
42
- headers:
43
- accept:
41
+ body: !!null
42
+ headers:
43
+ accept:
44
44
  - application/json
45
- user-agent:
45
+ user-agent:
46
46
  - contactology/0.0.1 (Rubygems; Ruby 1.9.2 x86_64-darwin10.7.1)
47
- response: !ruby/struct:VCR::Response
48
- status: !ruby/struct:VCR::ResponseStatus
47
+ response: !ruby/struct:VCR::Response
48
+ status: !ruby/struct:VCR::ResponseStatus
49
49
  code: 200
50
50
  message: OK
51
- headers:
52
- x-powered-by:
51
+ headers:
52
+ x-powered-by:
53
53
  - PHP/5.2.10
54
- set-cookie:
54
+ set-cookie:
55
55
  - PHPSESSID=dd9488706f6a3ec57062351c82577b93; path=/
56
- expires:
56
+ expires:
57
57
  - Thu, 19 Nov 1981 08:52:00 GMT
58
- cache-control:
58
+ cache-control:
59
59
  - no-store, no-cache, must-revalidate, post-check=0, pre-check=0
60
- pragma:
60
+ pragma:
61
61
  - no-cache
62
- content-type:
62
+ content-type:
63
63
  - text/plain;charset=UTF-8
64
- transfer-encoding:
64
+ transfer-encoding:
65
65
  - chunked
66
- date:
66
+ date:
67
67
  - Wed, 03 Aug 2011 19:44:58 GMT
68
- server:
68
+ server:
69
69
  - lighttpd/1.4.28
70
- body: "{\"html\":\"\",\"text\":\"This is a good email. \\tEnvy Labs LLC\\n\\t\\n\\t\\n\\t, \\n\\n\\nGo to the following url to unsubscribe: http:\\/\\/clicks.skem1.com\\/r\\/?g=42&c=10509&p=&l=0\\n\\nAbout this list: http:\\/\\/clicks.skem1.com\\/manage\\/about_list.php?g=42&c=10509&p=\\n\\n\\n\\nUpdate Profile\\/Email Address: http:\\/\\/clicks.skem1.com\\/manage\\/?g=42&c=10509&p=\\n\\nForward to Friend: http:\\/\\/clicks.skem1.com\\/f\\/?g=42&c=10509&p=\\n\\nPowered By Contactology http:\\/\\/www.contactology.com\",\"links\":[]}"
71
- http_version: "1.1"
72
- - !ruby/struct:VCR::HTTPInteraction
73
- request: !ruby/struct:VCR::Request
70
+ body: ! '{"html":"","text":"This is a good email. \tEnvy Labs LLC\n\t\n\t\n\t, \n\n\nGo
71
+ to the following url to unsubscribe: http:\/\/clicks.skem1.com\/r\/?g=42&c=10509&p=&l=0\n\nAbout
72
+ this list: http:\/\/clicks.skem1.com\/manage\/about_list.php?g=42&c=10509&p=\n\n\n\nUpdate
73
+ Profile\/Email Address: http:\/\/clicks.skem1.com\/manage\/?g=42&c=10509&p=\n\nForward
74
+ to Friend: http:\/\/clicks.skem1.com\/f\/?g=42&c=10509&p=\n\nPowered By Contactology
75
+ http:\/\/www.contactology.com","links":[]}'
76
+ http_version: '1.1'
77
+ - !ruby/struct:VCR::HTTPInteraction
78
+ request: !ruby/struct:VCR::Request
74
79
  method: :get
75
80
  uri: https://api.emailcampaigns.net:443/2/REST/?campaignId=42&key=%{API_KEY}&method=Campaign_Delete
76
- body:
77
- headers:
78
- accept:
81
+ body: !!null
82
+ headers:
83
+ accept:
79
84
  - application/json
80
- user-agent:
85
+ user-agent:
81
86
  - contactology/0.0.1 (Rubygems; Ruby 1.9.2 x86_64-darwin10.7.1)
82
- response: !ruby/struct:VCR::Response
83
- status: !ruby/struct:VCR::ResponseStatus
87
+ response: !ruby/struct:VCR::Response
88
+ status: !ruby/struct:VCR::ResponseStatus
84
89
  code: 200
85
90
  message: OK
86
- headers:
87
- x-powered-by:
91
+ headers:
92
+ x-powered-by:
88
93
  - PHP/5.2.10
89
- set-cookie:
94
+ set-cookie:
90
95
  - PHPSESSID=8a310ecf8b58215b062b0cd4e8128f70; path=/
91
- expires:
96
+ expires:
92
97
  - Thu, 19 Nov 1981 08:52:00 GMT
93
- cache-control:
98
+ cache-control:
94
99
  - no-store, no-cache, must-revalidate, post-check=0, pre-check=0
95
- pragma:
100
+ pragma:
96
101
  - no-cache
97
- content-type:
102
+ content-type:
98
103
  - text/plain;charset=UTF-8
99
- transfer-encoding:
104
+ transfer-encoding:
100
105
  - chunked
101
- date:
106
+ date:
102
107
  - Wed, 03 Aug 2011 19:44:59 GMT
103
- server:
108
+ server:
104
109
  - lighttpd/1.4.28
105
- body: "true"
106
- http_version: "1.1"
110
+ body: 'true'
111
+ http_version: '1.1'
112
+ - !ruby/struct:VCR::HTTPInteraction
113
+ request: !ruby/struct:VCR::Request
114
+ method: :get
115
+ uri: https://api.emailcampaigns.net:443/2/REST/?key=%{API_KEY}&method=Campaign_Preview&campaignId%5B0%5D=42
116
+ body: !!null
117
+ headers:
118
+ accept:
119
+ - application/json
120
+ user-agent:
121
+ - contactology/0.0.1 (Rubygems; Ruby 1.9.2 x86_64-darwin10.8.0)
122
+ response: !ruby/struct:VCR::Response
123
+ status: !ruby/struct:VCR::ResponseStatus
124
+ code: 200
125
+ message: OK
126
+ headers:
127
+ x-powered-by:
128
+ - PHP/5.2.10
129
+ set-cookie:
130
+ - PHPSESSID=a3e019d4ff519d12a2f41b9f672a8c85; path=/
131
+ expires:
132
+ - Thu, 19 Nov 1981 08:52:00 GMT
133
+ cache-control:
134
+ - no-store, no-cache, must-revalidate, post-check=0, pre-check=0
135
+ pragma:
136
+ - no-cache
137
+ content-type:
138
+ - text/plain;charset=UTF-8
139
+ transfer-encoding:
140
+ - chunked
141
+ date:
142
+ - Thu, 04 Aug 2011 02:13:50 GMT
143
+ server:
144
+ - lighttpd/1.4.28
145
+ body: ! '{"result":"error","message":"Input Error: campaignId Array not found","code":601}'
146
+ http_version: '1.1'
147
+ - !ruby/struct:VCR::HTTPInteraction
148
+ request: !ruby/struct:VCR::Request
149
+ method: :get
150
+ uri: https://api.emailcampaigns.net:443/2/REST/?key=%{API_KEY}&method=Campaign_Delete&campaignId%5B0%5D=42
151
+ body: !!null
152
+ headers:
153
+ accept:
154
+ - application/json
155
+ user-agent:
156
+ - contactology/0.0.1 (Rubygems; Ruby 1.9.2 x86_64-darwin10.8.0)
157
+ response: !ruby/struct:VCR::Response
158
+ status: !ruby/struct:VCR::ResponseStatus
159
+ code: 200
160
+ message: OK
161
+ headers:
162
+ x-powered-by:
163
+ - PHP/5.2.10
164
+ set-cookie:
165
+ - PHPSESSID=ca79bcee5ab677be60eeb1331d1f40ff; path=/
166
+ expires:
167
+ - Thu, 19 Nov 1981 08:52:00 GMT
168
+ cache-control:
169
+ - no-store, no-cache, must-revalidate, post-check=0, pre-check=0
170
+ pragma:
171
+ - no-cache
172
+ content-type:
173
+ - text/plain;charset=UTF-8
174
+ transfer-encoding:
175
+ - chunked
176
+ date:
177
+ - Thu, 04 Aug 2011 02:13:51 GMT
178
+ server:
179
+ - lighttpd/1.4.28
180
+ body: ! '{"result":"error","message":"Input Error: campaignId Array not found","code":601}'
181
+ http_version: '1.1'
@@ -1,3 +1,5 @@
1
+ # encoding: UTF-8
2
+
1
3
  require 'spec_helper'
2
4
 
3
5
  class APIClient
@@ -1,3 +1,5 @@
1
+ # encoding: UTF-8
2
+
1
3
  require 'spec_helper'
2
4
 
3
5
  describe Contactology::Campaign do
@@ -47,11 +49,12 @@ describe Contactology::Campaign do
47
49
  end
48
50
 
49
51
  context '#destroy' do
50
- use_vcr_cassette 'campaign/destroy'
52
+ use_vcr_cassette 'campaign/destroy', :record => :new_episodes
51
53
  let(:list) { Factory :list }
52
54
  let(:campaign) { Factory :standard_campaign, :recipients => list }
55
+ after(:each) { list.destroy }
53
56
 
54
- subject { list.destroy; campaign.destroy }
57
+ subject { campaign.destroy }
55
58
 
56
59
  it 'removes the campaign from Contactology' do
57
60
  expect { subject }.to change { Contactology::Campaign.find campaign.id }.to(nil)
@@ -61,7 +64,7 @@ describe Contactology::Campaign do
61
64
  end
62
65
 
63
66
  context '#preview' do
64
- use_vcr_cassette 'campaign/preview', :record => :new_episodes
67
+ use_vcr_cassette 'campaign/preview'
65
68
  let(:campaign) { Factory :transactional_campaign }
66
69
  after(:each) { campaign.destroy }
67
70
 
@@ -1,3 +1,5 @@
1
+ # encoding: UTF-8
2
+
1
3
  require 'spec_helper'
2
4
 
3
5
  describe Contactology::Campaigns::Standard do
@@ -1,3 +1,5 @@
1
+ # encoding: UTF-8
2
+
1
3
  require 'spec_helper'
2
4
 
3
5
  describe Contactology::Campaigns::Transactional do
@@ -1,3 +1,5 @@
1
+ # encoding: UTF-8
2
+
1
3
  require 'spec_helper'
2
4
 
3
5
  describe Contactology::Configuration do
@@ -1,3 +1,5 @@
1
+ # encoding: UTF-8
2
+
1
3
  require 'spec_helper'
2
4
 
3
5
  describe Contactology::Contact do
@@ -1,3 +1,5 @@
1
+ # encoding: UTF-8
2
+
1
3
  require 'spec_helper'
2
4
 
3
5
  describe Contactology::Issues do
@@ -1,3 +1,5 @@
1
+ # encoding: UTF-8
2
+
1
3
  require 'spec_helper'
2
4
 
3
5
  describe Contactology::List do
@@ -1,3 +1,5 @@
1
+ # encoding: UTF-8
2
+
1
3
  require 'spec_helper'
2
4
 
3
5
  describe Contactology::SendResult do
@@ -1,3 +1,5 @@
1
+ # encoding: UTF-8
2
+
1
3
  require 'spec_helper'
2
4
 
3
5
  describe Contactology::Stash do
@@ -1,3 +1,5 @@
1
+ # encoding: UTF-8
2
+
1
3
  require 'spec_helper'
2
4
 
3
5
  describe Contactology::TransactionalMessage do
@@ -1,3 +1,5 @@
1
+ # encoding: UTF-8
2
+
1
3
  require 'spec_helper'
2
4
 
3
5
  describe Contactology do
@@ -1,3 +1,5 @@
1
+ # encoding: UTF-8
2
+
1
3
  require 'spec_helper'
2
4
 
3
5
  describe 'Contacts' do
@@ -1,3 +1,5 @@
1
+ # encoding: UTF-8
2
+
1
3
  require 'rubygems'
2
4
  require 'bundler/setup'
3
5
  Bundler.require(:default, :development)
@@ -1,3 +1,5 @@
1
+ # encoding: UTF-8
2
+
1
3
  require 'pathname'
2
4
 
3
5
  path = Pathname.new(File.expand_path('../../contactology.yml', __FILE__))
@@ -1,3 +1,5 @@
1
+ # encoding: UTF-8
2
+
1
3
  Dir[File.expand_path('../../factories', __FILE__) + '/*.rb'].each do |factory|
2
4
  require factory
3
5
  end
@@ -1,3 +1,5 @@
1
+ # encoding: UTF-8
2
+
1
3
  VCR.config do |config|
2
4
  config.cassette_library_dir = File.expand_path('../../fixtures/net', __FILE__)
3
5
  config.default_cassette_options = { :record => :none }
metadata CHANGED
@@ -1,121 +1,132 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: contactology
3
- version: !ruby/object:Gem::Version
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.2
4
5
  prerelease:
5
- version: 0.0.1
6
6
  platform: ruby
7
- authors:
7
+ authors:
8
8
  - Nathaniel Bibler
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
-
13
- date: 2011-08-03 00:00:00 Z
14
- dependencies:
15
- - !ruby/object:Gem::Dependency
12
+ date: 2011-08-03 00:00:00.000000000 -04:00
13
+ default_executable:
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
16
  name: hashie
17
- prerelease: false
18
- requirement: &id001 !ruby/object:Gem::Requirement
17
+ requirement: &2157591680 !ruby/object:Gem::Requirement
19
18
  none: false
20
- requirements:
19
+ requirements:
21
20
  - - ~>
22
- - !ruby/object:Gem::Version
23
- version: "1.1"
21
+ - !ruby/object:Gem::Version
22
+ version: '1.1'
24
23
  type: :runtime
25
- version_requirements: *id001
26
- - !ruby/object:Gem::Dependency
24
+ prerelease: false
25
+ version_requirements: *2157591680
26
+ - !ruby/object:Gem::Dependency
27
27
  name: httparty
28
+ requirement: &2151962600 !ruby/object:Gem::Requirement
29
+ none: false
30
+ requirements:
31
+ - - ! '>='
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
28
35
  prerelease: false
29
- requirement: &id002 !ruby/object:Gem::Requirement
36
+ version_requirements: *2151962600
37
+ - !ruby/object:Gem::Dependency
38
+ name: multi_json
39
+ requirement: &2151962140 !ruby/object:Gem::Requirement
30
40
  none: false
31
- requirements:
32
- - - ">="
33
- - !ruby/object:Gem::Version
34
- version: "0"
41
+ requirements:
42
+ - - ! '>='
43
+ - !ruby/object:Gem::Version
44
+ version: '0'
35
45
  type: :runtime
36
- version_requirements: *id002
37
- - !ruby/object:Gem::Dependency
38
- name: vcr
39
46
  prerelease: false
40
- requirement: &id003 !ruby/object:Gem::Requirement
47
+ version_requirements: *2151962140
48
+ - !ruby/object:Gem::Dependency
49
+ name: vcr
50
+ requirement: &2151961640 !ruby/object:Gem::Requirement
41
51
  none: false
42
- requirements:
52
+ requirements:
43
53
  - - ~>
44
- - !ruby/object:Gem::Version
45
- version: "1.5"
54
+ - !ruby/object:Gem::Version
55
+ version: '1.5'
46
56
  type: :development
47
- version_requirements: *id003
48
- - !ruby/object:Gem::Dependency
49
- name: rspec
50
57
  prerelease: false
51
- requirement: &id004 !ruby/object:Gem::Requirement
58
+ version_requirements: *2151961640
59
+ - !ruby/object:Gem::Dependency
60
+ name: rspec
61
+ requirement: &2151961140 !ruby/object:Gem::Requirement
52
62
  none: false
53
- requirements:
63
+ requirements:
54
64
  - - ~>
55
- - !ruby/object:Gem::Version
56
- version: "2.0"
65
+ - !ruby/object:Gem::Version
66
+ version: '2.0'
57
67
  type: :development
58
- version_requirements: *id004
59
- - !ruby/object:Gem::Dependency
60
- name: infinity_test
61
68
  prerelease: false
62
- requirement: &id005 !ruby/object:Gem::Requirement
69
+ version_requirements: *2151961140
70
+ - !ruby/object:Gem::Dependency
71
+ name: infinity_test
72
+ requirement: &2151960760 !ruby/object:Gem::Requirement
63
73
  none: false
64
- requirements:
65
- - - ">="
66
- - !ruby/object:Gem::Version
67
- version: "0"
74
+ requirements:
75
+ - - ! '>='
76
+ - !ruby/object:Gem::Version
77
+ version: '0'
68
78
  type: :development
69
- version_requirements: *id005
70
- - !ruby/object:Gem::Dependency
71
- name: factory_girl
72
79
  prerelease: false
73
- requirement: &id006 !ruby/object:Gem::Requirement
80
+ version_requirements: *2151960760
81
+ - !ruby/object:Gem::Dependency
82
+ name: factory_girl
83
+ requirement: &2151960220 !ruby/object:Gem::Requirement
74
84
  none: false
75
- requirements:
85
+ requirements:
76
86
  - - ~>
77
- - !ruby/object:Gem::Version
78
- version: "2.0"
87
+ - !ruby/object:Gem::Version
88
+ version: '2.0'
79
89
  type: :development
80
- version_requirements: *id006
81
- - !ruby/object:Gem::Dependency
82
- name: rack
83
90
  prerelease: false
84
- requirement: &id007 !ruby/object:Gem::Requirement
91
+ version_requirements: *2151960220
92
+ - !ruby/object:Gem::Dependency
93
+ name: rack
94
+ requirement: &2151959720 !ruby/object:Gem::Requirement
85
95
  none: false
86
- requirements:
96
+ requirements:
87
97
  - - ~>
88
- - !ruby/object:Gem::Version
89
- version: "1.2"
98
+ - !ruby/object:Gem::Version
99
+ version: '1.2'
90
100
  type: :development
91
- version_requirements: *id007
92
- - !ruby/object:Gem::Dependency
93
- name: watchr
94
101
  prerelease: false
95
- requirement: &id008 !ruby/object:Gem::Requirement
102
+ version_requirements: *2151959720
103
+ - !ruby/object:Gem::Dependency
104
+ name: watchr
105
+ requirement: &2151959340 !ruby/object:Gem::Requirement
96
106
  none: false
97
- requirements:
98
- - - ">="
99
- - !ruby/object:Gem::Version
100
- version: "0"
107
+ requirements:
108
+ - - ! '>='
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
101
111
  type: :development
102
- version_requirements: *id008
103
- description: This library provides Ruby calls to interact with the Contactology email marketing API
104
- email:
112
+ prerelease: false
113
+ version_requirements: *2151959340
114
+ description: This library provides Ruby calls to interact with the Contactology email
115
+ marketing API
116
+ email:
105
117
  - git@nathanielbibler.com
106
118
  executables: []
107
-
108
119
  extensions: []
109
-
110
120
  extra_rdoc_files: []
111
-
112
- files:
121
+ files:
113
122
  - .gitignore
114
123
  - .infinity_test
115
124
  - .rspec
116
125
  - .rvmrc
126
+ - .travis.yml
117
127
  - .watchr
118
128
  - Gemfile
129
+ - README.markdown
119
130
  - Rakefile
120
131
  - contactology.gemspec
121
132
  - lib/contactology.rb
@@ -138,6 +149,7 @@ files:
138
149
  - lib/contactology/stash.rb
139
150
  - lib/contactology/transactional_message.rb
140
151
  - lib/contactology/version.rb
152
+ - spec/contactology.example.yml
141
153
  - spec/factories/campaigns.rb
142
154
  - spec/factories/contacts.rb
143
155
  - spec/factories/issues.rb
@@ -195,34 +207,33 @@ files:
195
207
  - spec/support/contactology.rb
196
208
  - spec/support/factory_girl.rb
197
209
  - spec/support/vcr.rb
210
+ has_rdoc: true
198
211
  homepage: https://github.com/nbibler/contactology
199
212
  licenses: []
200
-
201
213
  post_install_message:
202
214
  rdoc_options: []
203
-
204
- require_paths:
215
+ require_paths:
205
216
  - lib
206
- required_ruby_version: !ruby/object:Gem::Requirement
217
+ required_ruby_version: !ruby/object:Gem::Requirement
207
218
  none: false
208
- requirements:
209
- - - ">="
210
- - !ruby/object:Gem::Version
211
- version: "0"
212
- required_rubygems_version: !ruby/object:Gem::Requirement
219
+ requirements:
220
+ - - ! '>='
221
+ - !ruby/object:Gem::Version
222
+ version: '0'
223
+ required_rubygems_version: !ruby/object:Gem::Requirement
213
224
  none: false
214
- requirements:
215
- - - ">="
216
- - !ruby/object:Gem::Version
217
- version: "0"
225
+ requirements:
226
+ - - ! '>='
227
+ - !ruby/object:Gem::Version
228
+ version: '0'
218
229
  requirements: []
219
-
220
230
  rubyforge_project:
221
- rubygems_version: 1.8.5
231
+ rubygems_version: 1.6.2
222
232
  signing_key:
223
233
  specification_version: 3
224
234
  summary: A Ruby interface to the Contactology email marketing API
225
- test_files:
235
+ test_files:
236
+ - spec/contactology.example.yml
226
237
  - spec/factories/campaigns.rb
227
238
  - spec/factories/contacts.rb
228
239
  - spec/factories/issues.rb