sync_client 0.0.14 → 0.1.7

Sign up to get free protection for your applications and to get access to all the features.
metadata CHANGED
@@ -1,36 +1,18 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sync_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.14
5
- prerelease:
4
+ version: 0.1.7
6
5
  platform: ruby
7
6
  authors:
8
7
  - Bryce Schmidt
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-11-25 00:00:00.000000000 Z
11
+ date: 2014-11-20 00:00:00.000000000 Z
13
12
  dependencies:
14
- - !ruby/object:Gem::Dependency
15
- name: activerecord
16
- requirement: !ruby/object:Gem::Requirement
17
- none: false
18
- requirements:
19
- - - ! '>'
20
- - !ruby/object:Gem::Version
21
- version: '3.0'
22
- type: :runtime
23
- prerelease: false
24
- version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
- requirements:
27
- - - ! '>'
28
- - !ruby/object:Gem::Version
29
- version: '3.0'
30
13
  - !ruby/object:Gem::Dependency
31
14
  name: activesupport
32
15
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
16
  requirements:
35
17
  - - ! '>'
36
18
  - !ruby/object:Gem::Version
@@ -38,7 +20,6 @@ dependencies:
38
20
  type: :runtime
39
21
  prerelease: false
40
22
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
23
  requirements:
43
24
  - - ! '>'
44
25
  - !ruby/object:Gem::Version
@@ -46,7 +27,6 @@ dependencies:
46
27
  - !ruby/object:Gem::Dependency
47
28
  name: railties
48
29
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
30
  requirements:
51
31
  - - ! '>'
52
32
  - !ruby/object:Gem::Version
@@ -54,7 +34,6 @@ dependencies:
54
34
  type: :runtime
55
35
  prerelease: false
56
36
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
37
  requirements:
59
38
  - - ! '>'
60
39
  - !ruby/object:Gem::Version
@@ -62,23 +41,20 @@ dependencies:
62
41
  - !ruby/object:Gem::Dependency
63
42
  name: queuel
64
43
  requirement: !ruby/object:Gem::Requirement
65
- none: false
66
44
  requirements:
67
45
  - - ~>
68
46
  - !ruby/object:Gem::Version
69
- version: 0.2.0
47
+ version: 0.4.4
70
48
  type: :runtime
71
49
  prerelease: false
72
50
  version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
51
  requirements:
75
52
  - - ~>
76
53
  - !ruby/object:Gem::Version
77
- version: 0.2.0
54
+ version: 0.4.4
78
55
  - !ruby/object:Gem::Dependency
79
56
  name: daemons
80
57
  requirement: !ruby/object:Gem::Requirement
81
- none: false
82
58
  requirements:
83
59
  - - ~>
84
60
  - !ruby/object:Gem::Version
@@ -86,115 +62,146 @@ dependencies:
86
62
  type: :runtime
87
63
  prerelease: false
88
64
  version_requirements: !ruby/object:Gem::Requirement
89
- none: false
90
65
  requirements:
91
66
  - - ~>
92
67
  - !ruby/object:Gem::Version
93
68
  version: 1.1.9
94
69
  - !ruby/object:Gem::Dependency
95
- name: simplecov
70
+ name: activerecord
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ! '>'
74
+ - !ruby/object:Gem::Version
75
+ version: '3.0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ! '>'
81
+ - !ruby/object:Gem::Version
82
+ version: '3.0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: mongoid
96
85
  requirement: !ruby/object:Gem::Requirement
97
- none: false
98
86
  requirements:
99
- - - ! '>='
87
+ - - ~>
100
88
  - !ruby/object:Gem::Version
101
- version: '0'
89
+ version: 4.0.0.alpha
102
90
  type: :development
103
91
  prerelease: false
104
92
  version_requirements: !ruby/object:Gem::Requirement
105
- none: false
106
93
  requirements:
107
- - - ! '>='
94
+ - - ~>
108
95
  - !ruby/object:Gem::Version
109
- version: '0'
96
+ version: 4.0.0.alpha
110
97
  - !ruby/object:Gem::Dependency
111
98
  name: shoulda
112
99
  requirement: !ruby/object:Gem::Requirement
113
- none: false
114
100
  requirements:
115
- - - ! '>='
101
+ - - ~>
116
102
  - !ruby/object:Gem::Version
117
- version: '0'
103
+ version: 3.5.0
118
104
  type: :development
119
105
  prerelease: false
120
106
  version_requirements: !ruby/object:Gem::Requirement
121
- none: false
122
107
  requirements:
123
- - - ! '>='
108
+ - - ~>
124
109
  - !ruby/object:Gem::Version
125
- version: '0'
110
+ version: 3.5.0
126
111
  - !ruby/object:Gem::Dependency
127
112
  name: sqlite3
128
113
  requirement: !ruby/object:Gem::Requirement
129
- none: false
130
114
  requirements:
131
- - - ! '>='
115
+ - - ~>
132
116
  - !ruby/object:Gem::Version
133
- version: '0'
117
+ version: 1.3.8
134
118
  type: :development
135
119
  prerelease: false
136
120
  version_requirements: !ruby/object:Gem::Requirement
137
- none: false
138
121
  requirements:
139
- - - ! '>='
122
+ - - ~>
140
123
  - !ruby/object:Gem::Version
141
- version: '0'
124
+ version: 1.3.8
142
125
  - !ruby/object:Gem::Dependency
143
126
  name: mocha
144
127
  requirement: !ruby/object:Gem::Requirement
145
- none: false
146
128
  requirements:
147
- - - ! '>='
129
+ - - ~>
148
130
  - !ruby/object:Gem::Version
149
- version: '0'
131
+ version: 0.14.0
150
132
  type: :development
151
133
  prerelease: false
152
134
  version_requirements: !ruby/object:Gem::Requirement
153
- none: false
154
135
  requirements:
155
- - - ! '>='
136
+ - - ~>
156
137
  - !ruby/object:Gem::Version
157
- version: '0'
138
+ version: 0.14.0
158
139
  - !ruby/object:Gem::Dependency
159
140
  name: rdoc
160
141
  requirement: !ruby/object:Gem::Requirement
161
- none: false
162
142
  requirements:
163
- - - ! '>='
143
+ - - ~>
144
+ - !ruby/object:Gem::Version
145
+ version: 4.0.1
146
+ type: :development
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - ~>
151
+ - !ruby/object:Gem::Version
152
+ version: 4.0.1
153
+ - !ruby/object:Gem::Dependency
154
+ name: simplecov
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - ! '>'
158
+ - !ruby/object:Gem::Version
159
+ version: 0.7.0
160
+ type: :development
161
+ prerelease: false
162
+ version_requirements: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - ! '>'
165
+ - !ruby/object:Gem::Version
166
+ version: 0.7.0
167
+ - !ruby/object:Gem::Dependency
168
+ name: simplecov-gem-adapter
169
+ requirement: !ruby/object:Gem::Requirement
170
+ requirements:
171
+ - - ! '>'
164
172
  - !ruby/object:Gem::Version
165
- version: '0'
173
+ version: 1.0.0
166
174
  type: :development
167
175
  prerelease: false
168
176
  version_requirements: !ruby/object:Gem::Requirement
169
- none: false
170
177
  requirements:
171
- - - ! '>='
178
+ - - ! '>'
172
179
  - !ruby/object:Gem::Version
173
- version: '0'
180
+ version: 1.0.0
174
181
  - !ruby/object:Gem::Dependency
175
- name: debugger
182
+ name: coveralls
176
183
  requirement: !ruby/object:Gem::Requirement
177
- none: false
178
184
  requirements:
179
- - - ! '>='
185
+ - - ! '>'
180
186
  - !ruby/object:Gem::Version
181
- version: '0'
187
+ version: 0.7.0
182
188
  type: :development
183
189
  prerelease: false
184
190
  version_requirements: !ruby/object:Gem::Requirement
185
- none: false
186
191
  requirements:
187
- - - ! '>='
192
+ - - ! '>'
188
193
  - !ruby/object:Gem::Version
189
- version: '0'
194
+ version: 0.7.0
190
195
  description: ! "SyncClient is an interface for synchronizing attributes between services.\n
191
- \ It provides both a means of publishing changes and subscibing to them"
196
+ \ It provides both a means of publishing changes and subscribing to them"
192
197
  email:
193
198
  - bryce.schmidt@sportngin.com
194
199
  executables: []
195
200
  extensions: []
196
201
  extra_rdoc_files: []
197
202
  files:
203
+ - README.md
204
+ - Rakefile
198
205
  - app/models/jobs/sync_client_jobs/publish.rb
199
206
  - app/models/sync_client/message.rb
200
207
  - app/models/sync_client/pub_message.rb
@@ -203,33 +210,41 @@ files:
203
210
  - lib/generators/sync_client/install_generator.rb
204
211
  - lib/generators/templates/script
205
212
  - lib/generators/templates/sync_client.rb
213
+ - lib/sync_client.rb
206
214
  - lib/sync_client/configurations/message_handler.rb
207
215
  - lib/sync_client/configurator.rb
208
216
  - lib/sync_client/configurators/message_handlers.rb
209
217
  - lib/sync_client/engine.rb
210
218
  - lib/sync_client/poller.rb
211
219
  - lib/sync_client/publisher.rb
220
+ - lib/sync_client/publisher/active_record_publisher.rb
221
+ - lib/sync_client/publisher/base_publisher.rb
222
+ - lib/sync_client/publisher/mongoid_publisher.rb
223
+ - lib/sync_client/publisher/poro_publisher.rb
212
224
  - lib/sync_client/queue_publisher.rb
213
225
  - lib/sync_client/sync_queue.rb
214
226
  - lib/sync_client/task_queue/delayed_job.rb
215
227
  - lib/sync_client/task_queue/inline_task_queue.rb
216
228
  - lib/sync_client/task_queue/resque.rb
229
+ - lib/sync_client/task_queue/sidekiq.rb
217
230
  - lib/sync_client/tasks.rb
218
231
  - lib/sync_client/version.rb
219
232
  - lib/sync_client/worker.rb
220
- - lib/sync_client.rb
221
- - Rakefile
222
- - README.md
223
233
  - test/app/pub_message_test.rb
224
234
  - test/app/service_resource/base_test.rb
225
235
  - test/app/sub_message_test.rb
236
+ - test/dummy/README.rdoc
237
+ - test/dummy/Rakefile
226
238
  - test/dummy/app/assets/javascripts/application.js
227
239
  - test/dummy/app/assets/stylesheets/application.css
228
240
  - test/dummy/app/controllers/application_controller.rb
229
241
  - test/dummy/app/helpers/application_helper.rb
230
242
  - test/dummy/app/models/game.rb
231
243
  - test/dummy/app/models/player.rb
244
+ - test/dummy/app/models/stat.rb
245
+ - test/dummy/app/services/game_publisher.rb
232
246
  - test/dummy/app/views/layouts/application.html.erb
247
+ - test/dummy/config.ru
233
248
  - test/dummy/config/application.rb
234
249
  - test/dummy/config/boot.rb
235
250
  - test/dummy/config/database.yml
@@ -244,17 +259,18 @@ files:
244
259
  - test/dummy/config/initializers/wrap_parameters.rb
245
260
  - test/dummy/config/locales/en.yml
246
261
  - test/dummy/config/routes.rb
247
- - test/dummy/config.ru
248
262
  - test/dummy/lib/tasks/sync_client.rake
263
+ - test/dummy/log/test.log
249
264
  - test/dummy/public/404.html
250
265
  - test/dummy/public/422.html
251
266
  - test/dummy/public/500.html
252
267
  - test/dummy/public/favicon.ico
253
- - test/dummy/Rakefile
254
- - test/dummy/README.rdoc
255
268
  - test/dummy/script/rails
256
269
  - test/dummy/script/sync_client
257
270
  - test/lib/configurator_test.rb
271
+ - test/lib/publisher/active_record_publisher_test.rb
272
+ - test/lib/publisher/mongoid_publisher_test.rb
273
+ - test/lib/publisher/poro_publisher_test.rb
258
274
  - test/lib/publisher_test.rb
259
275
  - test/lib/queue_publisher_test.rb
260
276
  - test/lib/sync_queue_test.rb
@@ -263,33 +279,26 @@ files:
263
279
  homepage: http://www.sportngin.com
264
280
  licenses:
265
281
  - MIT
282
+ metadata: {}
266
283
  post_install_message:
267
284
  rdoc_options: []
268
285
  require_paths:
269
286
  - lib
270
287
  required_ruby_version: !ruby/object:Gem::Requirement
271
- none: false
272
288
  requirements:
273
289
  - - ! '>='
274
290
  - !ruby/object:Gem::Version
275
291
  version: '0'
276
- segments:
277
- - 0
278
- hash: -3609341098420398815
279
292
  required_rubygems_version: !ruby/object:Gem::Requirement
280
- none: false
281
293
  requirements:
282
294
  - - ! '>='
283
295
  - !ruby/object:Gem::Version
284
296
  version: '0'
285
- segments:
286
- - 0
287
- hash: -3609341098420398815
288
297
  requirements: []
289
298
  rubyforge_project:
290
- rubygems_version: 1.8.24
299
+ rubygems_version: 2.2.2
291
300
  signing_key:
292
- specification_version: 3
301
+ specification_version: 4
293
302
  summary: Interface to keep attributes synchronized between services using a message
294
303
  queue
295
304
  test_files:
@@ -302,6 +311,8 @@ test_files:
302
311
  - test/dummy/app/helpers/application_helper.rb
303
312
  - test/dummy/app/models/game.rb
304
313
  - test/dummy/app/models/player.rb
314
+ - test/dummy/app/models/stat.rb
315
+ - test/dummy/app/services/game_publisher.rb
305
316
  - test/dummy/app/views/layouts/application.html.erb
306
317
  - test/dummy/config/application.rb
307
318
  - test/dummy/config/boot.rb
@@ -319,6 +330,7 @@ test_files:
319
330
  - test/dummy/config/routes.rb
320
331
  - test/dummy/config.ru
321
332
  - test/dummy/lib/tasks/sync_client.rake
333
+ - test/dummy/log/test.log
322
334
  - test/dummy/public/404.html
323
335
  - test/dummy/public/422.html
324
336
  - test/dummy/public/500.html
@@ -328,6 +340,9 @@ test_files:
328
340
  - test/dummy/script/rails
329
341
  - test/dummy/script/sync_client
330
342
  - test/lib/configurator_test.rb
343
+ - test/lib/publisher/active_record_publisher_test.rb
344
+ - test/lib/publisher/mongoid_publisher_test.rb
345
+ - test/lib/publisher/poro_publisher_test.rb
331
346
  - test/lib/publisher_test.rb
332
347
  - test/lib/queue_publisher_test.rb
333
348
  - test/lib/sync_queue_test.rb