chimpy 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +21 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +47 -0
- data/README.rdoc +3 -0
- data/Rakefile +8 -0
- data/chimpy.gemspec +37 -0
- data/fixtures/vcr_cassettes/run.yml +34 -0
- data/fixtures/vcr_cassettes/succesful_list_subscription.yml +34 -0
- data/lib/chimpy.rb +22 -0
- data/lib/chimpy/base.rb +9 -0
- data/lib/chimpy/configuration.rb +11 -0
- data/lib/chimpy/email_service.rb +40 -0
- data/lib/chimpy/railtie.rb +16 -0
- data/lib/chimpy/user_manager.rb +22 -0
- data/lib/chimpy/version.rb +3 -0
- data/lib/generators/migration_generator.rb +23 -0
- data/lib/generators/templates/add_column_to_sync_class.rb.erb +5 -0
- data/lib/tasks/chimpy.rake +6 -0
- data/test/base_test.rb +36 -0
- data/test/configuration_test.rb +16 -0
- data/test/dummy/README.rdoc +28 -0
- data/test/dummy/Rakefile +6 -0
- data/test/dummy/app/assets/images/.keep +0 -0
- data/test/dummy/app/assets/javascripts/application.js +13 -0
- data/test/dummy/app/assets/stylesheets/application.css +15 -0
- data/test/dummy/app/controllers/application_controller.rb +5 -0
- data/test/dummy/app/controllers/concerns/.keep +0 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/app/mailers/.keep +0 -0
- data/test/dummy/app/models/.keep +0 -0
- data/test/dummy/app/models/concerns/.keep +0 -0
- data/test/dummy/app/models/user.rb +3 -0
- data/test/dummy/app/views/layouts/application.html.erb +14 -0
- data/test/dummy/bin/bundle +3 -0
- data/test/dummy/bin/rails +4 -0
- data/test/dummy/bin/rake +4 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/config/application.rb +23 -0
- data/test/dummy/config/boot.rb +5 -0
- data/test/dummy/config/database.yml +25 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +37 -0
- data/test/dummy/config/environments/production.rb +83 -0
- data/test/dummy/config/environments/test.rb +39 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/cookies_serializer.rb +3 -0
- data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/test/dummy/config/initializers/inflections.rb +16 -0
- data/test/dummy/config/initializers/mime_types.rb +4 -0
- data/test/dummy/config/initializers/session_store.rb +3 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/test/dummy/config/locales/en.yml +23 -0
- data/test/dummy/config/routes.rb +56 -0
- data/test/dummy/config/secrets.yml +22 -0
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/migrate/20140509170116_create_users.rb +11 -0
- data/test/dummy/db/migrate/20140513015907_remove_column_from_users.rb +5 -0
- data/test/dummy/db/migrate/20140513022907_add_chimpy_to_users.rb +5 -0
- data/test/dummy/db/schema.rb +24 -0
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/lib/assets/.keep +0 -0
- data/test/dummy/public/404.html +67 -0
- data/test/dummy/public/422.html +67 -0
- data/test/dummy/public/500.html +66 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/dummy/test/fixtures/users.yml +11 -0
- data/test/dummy/test/models/user_test.rb +7 -0
- data/test/email_service_test.rb +26 -0
- data/test/test_helper.rb +44 -0
- data/test/user_manager_test.rb +35 -0
- metadata +341 -0
metadata
ADDED
@@ -0,0 +1,341 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: chimpy
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.6
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Ignacio Gutierrez
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2014-05-15 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: gibbon
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 1.1.2
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 1.1.2
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: railties
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 3.0.0
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 3.0.0
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: activerecord
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 3.0.0
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 3.0.0
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: bundler
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '1.5'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '1.5'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rake
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: minitest
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: dotenv
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: webmock
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ">="
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: database_cleaner
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - ">="
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0'
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - ">="
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0'
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: vcr
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - ">="
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '0'
|
146
|
+
type: :development
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - ">="
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '0'
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: rails
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - ">="
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: 4.0.2
|
160
|
+
type: :development
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - ">="
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: 4.0.2
|
167
|
+
- !ruby/object:Gem::Dependency
|
168
|
+
name: sqlite3
|
169
|
+
requirement: !ruby/object:Gem::Requirement
|
170
|
+
requirements:
|
171
|
+
- - ">="
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: '0'
|
174
|
+
type: :development
|
175
|
+
prerelease: false
|
176
|
+
version_requirements: !ruby/object:Gem::Requirement
|
177
|
+
requirements:
|
178
|
+
- - ">="
|
179
|
+
- !ruby/object:Gem::Version
|
180
|
+
version: '0'
|
181
|
+
description: Chimpy syncs your users from your DB to your respective lists in MailChimp.
|
182
|
+
email:
|
183
|
+
- nachojgutierrez@gmail.com
|
184
|
+
executables: []
|
185
|
+
extensions: []
|
186
|
+
extra_rdoc_files: []
|
187
|
+
files:
|
188
|
+
- ".gitignore"
|
189
|
+
- Gemfile
|
190
|
+
- LICENSE.txt
|
191
|
+
- README.md
|
192
|
+
- README.rdoc
|
193
|
+
- Rakefile
|
194
|
+
- chimpy.gemspec
|
195
|
+
- fixtures/vcr_cassettes/run.yml
|
196
|
+
- fixtures/vcr_cassettes/succesful_list_subscription.yml
|
197
|
+
- lib/chimpy.rb
|
198
|
+
- lib/chimpy/base.rb
|
199
|
+
- lib/chimpy/configuration.rb
|
200
|
+
- lib/chimpy/email_service.rb
|
201
|
+
- lib/chimpy/railtie.rb
|
202
|
+
- lib/chimpy/user_manager.rb
|
203
|
+
- lib/chimpy/version.rb
|
204
|
+
- lib/generators/migration_generator.rb
|
205
|
+
- lib/generators/templates/add_column_to_sync_class.rb.erb
|
206
|
+
- lib/tasks/chimpy.rake
|
207
|
+
- test/.DS_Store
|
208
|
+
- test/base_test.rb
|
209
|
+
- test/configuration_test.rb
|
210
|
+
- test/dummy/.DS_Store
|
211
|
+
- test/dummy/README.rdoc
|
212
|
+
- test/dummy/Rakefile
|
213
|
+
- test/dummy/app/assets/images/.keep
|
214
|
+
- test/dummy/app/assets/javascripts/application.js
|
215
|
+
- test/dummy/app/assets/stylesheets/application.css
|
216
|
+
- test/dummy/app/controllers/application_controller.rb
|
217
|
+
- test/dummy/app/controllers/concerns/.keep
|
218
|
+
- test/dummy/app/helpers/application_helper.rb
|
219
|
+
- test/dummy/app/mailers/.keep
|
220
|
+
- test/dummy/app/models/.keep
|
221
|
+
- test/dummy/app/models/concerns/.keep
|
222
|
+
- test/dummy/app/models/user.rb
|
223
|
+
- test/dummy/app/views/layouts/application.html.erb
|
224
|
+
- test/dummy/bin/bundle
|
225
|
+
- test/dummy/bin/rails
|
226
|
+
- test/dummy/bin/rake
|
227
|
+
- test/dummy/config.ru
|
228
|
+
- test/dummy/config/application.rb
|
229
|
+
- test/dummy/config/boot.rb
|
230
|
+
- test/dummy/config/database.yml
|
231
|
+
- test/dummy/config/environment.rb
|
232
|
+
- test/dummy/config/environments/development.rb
|
233
|
+
- test/dummy/config/environments/production.rb
|
234
|
+
- test/dummy/config/environments/test.rb
|
235
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
236
|
+
- test/dummy/config/initializers/cookies_serializer.rb
|
237
|
+
- test/dummy/config/initializers/filter_parameter_logging.rb
|
238
|
+
- test/dummy/config/initializers/inflections.rb
|
239
|
+
- test/dummy/config/initializers/mime_types.rb
|
240
|
+
- test/dummy/config/initializers/session_store.rb
|
241
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
242
|
+
- test/dummy/config/locales/en.yml
|
243
|
+
- test/dummy/config/routes.rb
|
244
|
+
- test/dummy/config/secrets.yml
|
245
|
+
- test/dummy/db/development.sqlite3
|
246
|
+
- test/dummy/db/migrate/20140509170116_create_users.rb
|
247
|
+
- test/dummy/db/migrate/20140513015907_remove_column_from_users.rb
|
248
|
+
- test/dummy/db/migrate/20140513022907_add_chimpy_to_users.rb
|
249
|
+
- test/dummy/db/schema.rb
|
250
|
+
- test/dummy/db/test.sqlite3
|
251
|
+
- test/dummy/lib/assets/.keep
|
252
|
+
- test/dummy/log/.keep
|
253
|
+
- test/dummy/public/404.html
|
254
|
+
- test/dummy/public/422.html
|
255
|
+
- test/dummy/public/500.html
|
256
|
+
- test/dummy/public/favicon.ico
|
257
|
+
- test/dummy/test/fixtures/users.yml
|
258
|
+
- test/dummy/test/models/user_test.rb
|
259
|
+
- test/email_service_test.rb
|
260
|
+
- test/test_helper.rb
|
261
|
+
- test/user_manager_test.rb
|
262
|
+
homepage: ''
|
263
|
+
licenses:
|
264
|
+
- MIT
|
265
|
+
metadata: {}
|
266
|
+
post_install_message:
|
267
|
+
rdoc_options: []
|
268
|
+
require_paths:
|
269
|
+
- lib
|
270
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
271
|
+
requirements:
|
272
|
+
- - ">="
|
273
|
+
- !ruby/object:Gem::Version
|
274
|
+
version: '0'
|
275
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
276
|
+
requirements:
|
277
|
+
- - ">="
|
278
|
+
- !ruby/object:Gem::Version
|
279
|
+
version: '0'
|
280
|
+
requirements: []
|
281
|
+
rubyforge_project:
|
282
|
+
rubygems_version: 2.2.2
|
283
|
+
signing_key:
|
284
|
+
specification_version: 4
|
285
|
+
summary: Chimpy syncs your users from your DB to your respective lists in MailChimp.
|
286
|
+
test_files:
|
287
|
+
- test/.DS_Store
|
288
|
+
- test/base_test.rb
|
289
|
+
- test/configuration_test.rb
|
290
|
+
- test/dummy/.DS_Store
|
291
|
+
- test/dummy/README.rdoc
|
292
|
+
- test/dummy/Rakefile
|
293
|
+
- test/dummy/app/assets/images/.keep
|
294
|
+
- test/dummy/app/assets/javascripts/application.js
|
295
|
+
- test/dummy/app/assets/stylesheets/application.css
|
296
|
+
- test/dummy/app/controllers/application_controller.rb
|
297
|
+
- test/dummy/app/controllers/concerns/.keep
|
298
|
+
- test/dummy/app/helpers/application_helper.rb
|
299
|
+
- test/dummy/app/mailers/.keep
|
300
|
+
- test/dummy/app/models/.keep
|
301
|
+
- test/dummy/app/models/concerns/.keep
|
302
|
+
- test/dummy/app/models/user.rb
|
303
|
+
- test/dummy/app/views/layouts/application.html.erb
|
304
|
+
- test/dummy/bin/bundle
|
305
|
+
- test/dummy/bin/rails
|
306
|
+
- test/dummy/bin/rake
|
307
|
+
- test/dummy/config.ru
|
308
|
+
- test/dummy/config/application.rb
|
309
|
+
- test/dummy/config/boot.rb
|
310
|
+
- test/dummy/config/database.yml
|
311
|
+
- test/dummy/config/environment.rb
|
312
|
+
- test/dummy/config/environments/development.rb
|
313
|
+
- test/dummy/config/environments/production.rb
|
314
|
+
- test/dummy/config/environments/test.rb
|
315
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
316
|
+
- test/dummy/config/initializers/cookies_serializer.rb
|
317
|
+
- test/dummy/config/initializers/filter_parameter_logging.rb
|
318
|
+
- test/dummy/config/initializers/inflections.rb
|
319
|
+
- test/dummy/config/initializers/mime_types.rb
|
320
|
+
- test/dummy/config/initializers/session_store.rb
|
321
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
322
|
+
- test/dummy/config/locales/en.yml
|
323
|
+
- test/dummy/config/routes.rb
|
324
|
+
- test/dummy/config/secrets.yml
|
325
|
+
- test/dummy/db/development.sqlite3
|
326
|
+
- test/dummy/db/migrate/20140509170116_create_users.rb
|
327
|
+
- test/dummy/db/migrate/20140513015907_remove_column_from_users.rb
|
328
|
+
- test/dummy/db/migrate/20140513022907_add_chimpy_to_users.rb
|
329
|
+
- test/dummy/db/schema.rb
|
330
|
+
- test/dummy/db/test.sqlite3
|
331
|
+
- test/dummy/lib/assets/.keep
|
332
|
+
- test/dummy/log/.keep
|
333
|
+
- test/dummy/public/404.html
|
334
|
+
- test/dummy/public/422.html
|
335
|
+
- test/dummy/public/500.html
|
336
|
+
- test/dummy/public/favicon.ico
|
337
|
+
- test/dummy/test/fixtures/users.yml
|
338
|
+
- test/dummy/test/models/user_test.rb
|
339
|
+
- test/email_service_test.rb
|
340
|
+
- test/test_helper.rb
|
341
|
+
- test/user_manager_test.rb
|