mailchimp_api_v3 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 34e567e873e3cefffcf6e6cf6224fc7bf86c8fb7
4
- data.tar.gz: 58c3046b2c65d34e357a31c24cc39eeca007c755
3
+ metadata.gz: 237c744a06494dca2f120ac1312fcbe256657061
4
+ data.tar.gz: 29926cc5c88b7f586d876072af1b32dbbcd0c6e8
5
5
  SHA512:
6
- metadata.gz: b84f051c8cc71d32a4e8da36d81c65e401b90414e937fc89f24e599fdf7eb0985eeeb5bec373c3ebd0b27fde0a5e5f3db6567267611585ffbde537a8736d1515
7
- data.tar.gz: a5976a54748eacb143d540666ed1a4f2720dfc817b77ae8ce754e92f867247c2c19109a15c4fcfabd8a33eb5967cef05ec7720c31e705ef98e85c9c05e42d530
6
+ metadata.gz: dc2c10322e770aca669b2ab7a0c61b61cce049ed2dfe3e6ed649f27c3b4dac4a6fa39dc78e50263a95ce43c3c83f4ea7cadc2773f3c67aef46725f1c5e36fb51
7
+ data.tar.gz: 0fb38afb83d209a11308d3c28b23f89c36bffe0883a7d25f811d1e2593b386a0bb45ffa813efefe2eca9278d38d7f36ce4ee89f3d8ceb128a7bee228ddd1b2dc
data/README.md CHANGED
@@ -4,7 +4,8 @@
4
4
  [![Build status](https://img.shields.io/circleci/project/Xenapto/mailchimp_api_v3/develop.svg)](https://circleci.com/gh/Xenapto/mailchimp_api_v3)
5
5
  [![Code quality](http://img.shields.io/codeclimate/github/Xenapto/mailchimp_api_v3.svg?style=flat)](https://codeclimate.com/github/Xenapto/mailchimp_api_v3)
6
6
  [![Coverage](https://img.shields.io/coveralls/Xenapto/mailchimp_api_v3/develop.svg?style=flat)](https://coveralls.io/r/Xenapto/mailchimp_api_v3?branch=develop)
7
- [![Dependency Status](https://gemnasium.com/Xenapto/mailchimp_api_v3.svg)](https://gemnasium.com/Xenapto/mailchimp_api_v3)
7
+ [![Dependency Status](https://dependencyci.com/github/Xenapto/mailchimp_api_v3/badge)](https://dependencyci.com/github/Xenapto/mailchimp_api_v3)
8
+ [![Dependency Status](https://gemnasium.com/Xenapto/mailchimp_api_v3.svg)](https://gemnasium.com/Xenapto/mailchimp_api_v3) [![Join the chat at https://gitter.im/Xenapto/mailchimp_api_v3](https://badges.gitter.im/Xenapto/mailchimp_api_v3.svg)](https://gitter.im/Xenapto/mailchimp_api_v3?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
8
9
 
9
10
  A simple gem to interact with Mailchimp through the Mailchimp API v3
10
11
 
@@ -62,7 +63,7 @@ member.update last_name: 'Williams'
62
63
  mailchimp = Mailchimp.connect
63
64
  members = mailchimp.lists('e73f5910ca').where last_name: 'Example'
64
65
  members.count # => 3
65
- member = mailchimp.lists('e73f5910ca').first_or_create(
66
+ member = mailchimp.lists('e73f5910ca').members.first_or_create(
66
67
  email_address: 'ann@example.com',
67
68
  name: 'Ann Example',
68
69
  status: 'subscribed'
@@ -1,3 +1,3 @@
1
1
  module Mailchimp
2
- VERSION = '0.1.0'
2
+ VERSION = '0.1.1'
3
3
  end
@@ -17,18 +17,18 @@ Gem::Specification.new do |spec|
17
17
  spec.test_files = spec.files.grep(%r{^(test|spec|features|coverage)\/})
18
18
  spec.require_paths = ['lib']
19
19
 
20
- spec.add_runtime_dependency 'rest-client', '~> 1.6', '> 1.6'
20
+ spec.add_runtime_dependency 'rest-client', '~> 1'
21
21
 
22
- spec.add_development_dependency 'bundler', '~> 1.8', '> 1.8'
23
- spec.add_development_dependency 'rspec', '~> 3.3'
24
- spec.add_development_dependency 'rspec_junit_formatter', '~> 0.2'
25
- spec.add_development_dependency 'gem-release', '~> 0.7'
26
- spec.add_development_dependency 'simplecov', '~> 0.10'
27
- spec.add_development_dependency 'coveralls', '~> 0.8'
28
- spec.add_development_dependency 'vcr', '~> 2.9'
29
- spec.add_development_dependency 'webmock', '~> 1.21'
30
- spec.add_development_dependency 'guard', '~> 2.12'
31
- spec.add_development_dependency 'guard-rspec', '~> 4.5'
32
- spec.add_development_dependency 'guard-rubocop', '~> 1.2'
33
- spec.add_development_dependency 'rubocop', '~> 0.32'
22
+ spec.add_development_dependency 'bundler', '~> 1'
23
+ spec.add_development_dependency 'rspec', '~> 3'
24
+ spec.add_development_dependency 'rspec_junit_formatter', '~> 0'
25
+ spec.add_development_dependency 'simplecov', '~> 0'
26
+ spec.add_development_dependency 'coveralls', '~> 0'
27
+ spec.add_development_dependency 'vcr', '~> 3'
28
+ spec.add_development_dependency 'webmock', '~> 2'
29
+ spec.add_development_dependency 'listen', '~> 3.0', '< 3.1' # Dependency of guard, 3.1 requires Ruby 2.2+
30
+ spec.add_development_dependency 'guard', '~> 2'
31
+ spec.add_development_dependency 'guard-rspec', '~> 4'
32
+ spec.add_development_dependency 'guard-rubocop', '~> 1'
33
+ spec.add_development_dependency 'gem-release', '~> 0'
34
34
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mailchimp_api_v3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Xenapto
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-07-13 00:00:00.000000000 Z
11
+ date: 2016-07-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client
@@ -16,194 +16,188 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.6'
20
- - - ">"
21
- - !ruby/object:Gem::Version
22
- version: '1.6'
19
+ version: '1'
23
20
  type: :runtime
24
21
  prerelease: false
25
22
  version_requirements: !ruby/object:Gem::Requirement
26
23
  requirements:
27
24
  - - "~>"
28
25
  - !ruby/object:Gem::Version
29
- version: '1.6'
30
- - - ">"
31
- - !ruby/object:Gem::Version
32
- version: '1.6'
26
+ version: '1'
33
27
  - !ruby/object:Gem::Dependency
34
28
  name: bundler
35
29
  requirement: !ruby/object:Gem::Requirement
36
30
  requirements:
37
31
  - - "~>"
38
32
  - !ruby/object:Gem::Version
39
- version: '1.8'
40
- - - ">"
41
- - !ruby/object:Gem::Version
42
- version: '1.8'
33
+ version: '1'
43
34
  type: :development
44
35
  prerelease: false
45
36
  version_requirements: !ruby/object:Gem::Requirement
46
37
  requirements:
47
38
  - - "~>"
48
39
  - !ruby/object:Gem::Version
49
- version: '1.8'
50
- - - ">"
51
- - !ruby/object:Gem::Version
52
- version: '1.8'
40
+ version: '1'
53
41
  - !ruby/object:Gem::Dependency
54
42
  name: rspec
55
43
  requirement: !ruby/object:Gem::Requirement
56
44
  requirements:
57
45
  - - "~>"
58
46
  - !ruby/object:Gem::Version
59
- version: '3.3'
47
+ version: '3'
60
48
  type: :development
61
49
  prerelease: false
62
50
  version_requirements: !ruby/object:Gem::Requirement
63
51
  requirements:
64
52
  - - "~>"
65
53
  - !ruby/object:Gem::Version
66
- version: '3.3'
54
+ version: '3'
67
55
  - !ruby/object:Gem::Dependency
68
56
  name: rspec_junit_formatter
69
57
  requirement: !ruby/object:Gem::Requirement
70
58
  requirements:
71
59
  - - "~>"
72
60
  - !ruby/object:Gem::Version
73
- version: '0.2'
61
+ version: '0'
74
62
  type: :development
75
63
  prerelease: false
76
64
  version_requirements: !ruby/object:Gem::Requirement
77
65
  requirements:
78
66
  - - "~>"
79
67
  - !ruby/object:Gem::Version
80
- version: '0.2'
68
+ version: '0'
81
69
  - !ruby/object:Gem::Dependency
82
- name: gem-release
70
+ name: simplecov
83
71
  requirement: !ruby/object:Gem::Requirement
84
72
  requirements:
85
73
  - - "~>"
86
74
  - !ruby/object:Gem::Version
87
- version: '0.7'
75
+ version: '0'
88
76
  type: :development
89
77
  prerelease: false
90
78
  version_requirements: !ruby/object:Gem::Requirement
91
79
  requirements:
92
80
  - - "~>"
93
81
  - !ruby/object:Gem::Version
94
- version: '0.7'
82
+ version: '0'
95
83
  - !ruby/object:Gem::Dependency
96
- name: simplecov
84
+ name: coveralls
97
85
  requirement: !ruby/object:Gem::Requirement
98
86
  requirements:
99
87
  - - "~>"
100
88
  - !ruby/object:Gem::Version
101
- version: '0.10'
89
+ version: '0'
102
90
  type: :development
103
91
  prerelease: false
104
92
  version_requirements: !ruby/object:Gem::Requirement
105
93
  requirements:
106
94
  - - "~>"
107
95
  - !ruby/object:Gem::Version
108
- version: '0.10'
96
+ version: '0'
109
97
  - !ruby/object:Gem::Dependency
110
- name: coveralls
98
+ name: vcr
111
99
  requirement: !ruby/object:Gem::Requirement
112
100
  requirements:
113
101
  - - "~>"
114
102
  - !ruby/object:Gem::Version
115
- version: '0.8'
103
+ version: '3'
116
104
  type: :development
117
105
  prerelease: false
118
106
  version_requirements: !ruby/object:Gem::Requirement
119
107
  requirements:
120
108
  - - "~>"
121
109
  - !ruby/object:Gem::Version
122
- version: '0.8'
110
+ version: '3'
123
111
  - !ruby/object:Gem::Dependency
124
- name: vcr
112
+ name: webmock
125
113
  requirement: !ruby/object:Gem::Requirement
126
114
  requirements:
127
115
  - - "~>"
128
116
  - !ruby/object:Gem::Version
129
- version: '2.9'
117
+ version: '2'
130
118
  type: :development
131
119
  prerelease: false
132
120
  version_requirements: !ruby/object:Gem::Requirement
133
121
  requirements:
134
122
  - - "~>"
135
123
  - !ruby/object:Gem::Version
136
- version: '2.9'
124
+ version: '2'
137
125
  - !ruby/object:Gem::Dependency
138
- name: webmock
126
+ name: listen
139
127
  requirement: !ruby/object:Gem::Requirement
140
128
  requirements:
141
129
  - - "~>"
142
130
  - !ruby/object:Gem::Version
143
- version: '1.21'
131
+ version: '3.0'
132
+ - - "<"
133
+ - !ruby/object:Gem::Version
134
+ version: '3.1'
144
135
  type: :development
145
136
  prerelease: false
146
137
  version_requirements: !ruby/object:Gem::Requirement
147
138
  requirements:
148
139
  - - "~>"
149
140
  - !ruby/object:Gem::Version
150
- version: '1.21'
141
+ version: '3.0'
142
+ - - "<"
143
+ - !ruby/object:Gem::Version
144
+ version: '3.1'
151
145
  - !ruby/object:Gem::Dependency
152
146
  name: guard
153
147
  requirement: !ruby/object:Gem::Requirement
154
148
  requirements:
155
149
  - - "~>"
156
150
  - !ruby/object:Gem::Version
157
- version: '2.12'
151
+ version: '2'
158
152
  type: :development
159
153
  prerelease: false
160
154
  version_requirements: !ruby/object:Gem::Requirement
161
155
  requirements:
162
156
  - - "~>"
163
157
  - !ruby/object:Gem::Version
164
- version: '2.12'
158
+ version: '2'
165
159
  - !ruby/object:Gem::Dependency
166
160
  name: guard-rspec
167
161
  requirement: !ruby/object:Gem::Requirement
168
162
  requirements:
169
163
  - - "~>"
170
164
  - !ruby/object:Gem::Version
171
- version: '4.5'
165
+ version: '4'
172
166
  type: :development
173
167
  prerelease: false
174
168
  version_requirements: !ruby/object:Gem::Requirement
175
169
  requirements:
176
170
  - - "~>"
177
171
  - !ruby/object:Gem::Version
178
- version: '4.5'
172
+ version: '4'
179
173
  - !ruby/object:Gem::Dependency
180
174
  name: guard-rubocop
181
175
  requirement: !ruby/object:Gem::Requirement
182
176
  requirements:
183
177
  - - "~>"
184
178
  - !ruby/object:Gem::Version
185
- version: '1.2'
179
+ version: '1'
186
180
  type: :development
187
181
  prerelease: false
188
182
  version_requirements: !ruby/object:Gem::Requirement
189
183
  requirements:
190
184
  - - "~>"
191
185
  - !ruby/object:Gem::Version
192
- version: '1.2'
186
+ version: '1'
193
187
  - !ruby/object:Gem::Dependency
194
- name: rubocop
188
+ name: gem-release
195
189
  requirement: !ruby/object:Gem::Requirement
196
190
  requirements:
197
191
  - - "~>"
198
192
  - !ruby/object:Gem::Version
199
- version: '0.32'
193
+ version: '0'
200
194
  type: :development
201
195
  prerelease: false
202
196
  version_requirements: !ruby/object:Gem::Requirement
203
197
  requirements:
204
198
  - - "~>"
205
199
  - !ruby/object:Gem::Version
206
- version: '0.32'
200
+ version: '0'
207
201
  description: A simple gem to interact with Mailchimp through their API v3
208
202
  email:
209
203
  - developers@xenapto.com
@@ -284,7 +278,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
284
278
  version: '0'
285
279
  requirements: []
286
280
  rubyforge_project:
287
- rubygems_version: 2.4.8
281
+ rubygems_version: 2.6.4
288
282
  signing_key:
289
283
  specification_version: 4
290
284
  summary: 'Example: mailchimp.lists("My first list").member("ann@example.com")'
@@ -318,4 +312,3 @@ test_files:
318
312
  - spec/spec_helper.rb
319
313
  - spec/support/api_key.rb
320
314
  - spec/support/vcr_setup.rb
321
- has_rdoc: