rpush 2.7.0 → 3.0.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (79) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +41 -0
  3. data/README.md +36 -15
  4. data/lib/generators/rpush_migration_generator.rb +1 -0
  5. data/lib/generators/templates/add_adm.rb +1 -1
  6. data/lib/generators/templates/add_alert_is_json_to_rapns_notifications.rb +1 -1
  7. data/lib/generators/templates/add_app_to_rapns.rb +1 -1
  8. data/lib/generators/templates/add_fail_after_to_rpush_notifications.rb +1 -1
  9. data/lib/generators/templates/add_gcm.rb +1 -1
  10. data/lib/generators/templates/add_rpush.rb +11 -11
  11. data/lib/generators/templates/add_wpns.rb +1 -1
  12. data/lib/generators/templates/create_rapns_apps.rb +1 -1
  13. data/lib/generators/templates/create_rapns_feedback.rb +1 -1
  14. data/lib/generators/templates/create_rapns_notifications.rb +1 -1
  15. data/lib/generators/templates/rename_rapns_to_rpush.rb +1 -1
  16. data/lib/generators/templates/rpush.rb +1 -1
  17. data/lib/generators/templates/rpush_2_0_0_updates.rb +1 -1
  18. data/lib/generators/templates/rpush_2_1_0_updates.rb +1 -1
  19. data/lib/generators/templates/rpush_2_6_0_updates.rb +1 -1
  20. data/lib/generators/templates/rpush_2_7_0_updates.rb +1 -1
  21. data/lib/generators/templates/rpush_3_0_0_updates.rb +11 -0
  22. data/lib/rpush.rb +2 -9
  23. data/lib/rpush/apns_feedback.rb +4 -0
  24. data/lib/rpush/cli.rb +2 -2
  25. data/lib/rpush/client/active_model.rb +3 -0
  26. data/lib/rpush/client/active_model/apns/notification.rb +11 -1
  27. data/lib/rpush/client/active_model/apns2/app.rb +15 -0
  28. data/lib/rpush/client/active_model/apns2/notification.rb +9 -0
  29. data/lib/rpush/client/active_record.rb +3 -0
  30. data/lib/rpush/client/active_record/apns/feedback.rb +0 -4
  31. data/lib/rpush/client/active_record/apns2/app.rb +11 -0
  32. data/lib/rpush/client/active_record/apns2/notification.rb +10 -0
  33. data/lib/rpush/client/active_record/app.rb +0 -4
  34. data/lib/rpush/client/active_record/notification.rb +0 -7
  35. data/lib/rpush/client/redis.rb +3 -0
  36. data/lib/rpush/client/redis/apns2/app.rb +11 -0
  37. data/lib/rpush/client/redis/apns2/notification.rb +11 -0
  38. data/lib/rpush/client/redis/notification.rb +1 -0
  39. data/lib/rpush/daemon.rb +5 -3
  40. data/lib/rpush/daemon/apns2.rb +10 -0
  41. data/lib/rpush/daemon/apns2/delivery.rb +127 -0
  42. data/lib/rpush/daemon/dispatcher/apns_http2.rb +50 -0
  43. data/lib/rpush/daemon/dispatcher/apns_tcp.rb +1 -1
  44. data/lib/rpush/daemon/dispatcher/http.rb +1 -1
  45. data/lib/rpush/daemon/gcm/delivery.rb +5 -5
  46. data/lib/rpush/daemon/service_config_methods.rb +4 -3
  47. data/lib/rpush/daemon/store/active_record/reconnectable.rb +11 -3
  48. data/lib/rpush/daemon/synchronizer.rb +14 -12
  49. data/lib/rpush/version.rb +12 -1
  50. data/spec/functional/apns2_spec.rb +232 -0
  51. data/spec/functional/apns_spec.rb +1 -2
  52. data/spec/functional/synchronization_spec.rb +29 -0
  53. data/spec/spec_helper.rb +0 -5
  54. data/spec/support/active_record_setup.rb +2 -1
  55. data/spec/unit/apns_feedback_spec.rb +9 -2
  56. data/spec/unit/client/active_record/apns/notification_spec.rb +34 -2
  57. data/spec/unit/daemon/store/active_record/reconnectable_spec.rb +30 -0
  58. data/spec/unit_spec_helper.rb +2 -21
  59. metadata +256 -29
  60. data/lib/rpush/client/mongoid.rb +0 -36
  61. data/lib/rpush/client/mongoid/adm/app.rb +0 -14
  62. data/lib/rpush/client/mongoid/adm/notification.rb +0 -11
  63. data/lib/rpush/client/mongoid/apns/app.rb +0 -11
  64. data/lib/rpush/client/mongoid/apns/feedback.rb +0 -24
  65. data/lib/rpush/client/mongoid/apns/notification.rb +0 -15
  66. data/lib/rpush/client/mongoid/app.rb +0 -23
  67. data/lib/rpush/client/mongoid/gcm/app.rb +0 -11
  68. data/lib/rpush/client/mongoid/gcm/notification.rb +0 -11
  69. data/lib/rpush/client/mongoid/notification.rb +0 -51
  70. data/lib/rpush/client/mongoid/wns/app.rb +0 -14
  71. data/lib/rpush/client/mongoid/wns/badge_notification.rb +0 -15
  72. data/lib/rpush/client/mongoid/wns/notification.rb +0 -11
  73. data/lib/rpush/client/mongoid/wns/raw_notification.rb +0 -11
  74. data/lib/rpush/client/mongoid/wpns/app.rb +0 -11
  75. data/lib/rpush/client/mongoid/wpns/notification.rb +0 -11
  76. data/lib/rpush/daemon/store/mongoid.rb +0 -157
  77. data/spec/support/config/mongoid.yml +0 -69
  78. data/spec/support/mongoid_setup.rb +0 -10
  79. data/spec/unit/daemon/store/mongoid_spec.rb +0 -339
@@ -85,6 +85,36 @@ describe Rpush::Daemon::Store::ActiveRecord::Reconnectable do
85
85
  test_doubles.each(&:perform)
86
86
  end
87
87
 
88
+ context "should reconnect on" do
89
+ [
90
+ ::ActiveRecord::ConnectionNotEstablished,
91
+ ::ActiveRecord::ConnectionTimeoutError,
92
+ ::ActiveRecord::JDBCError,
93
+ ::ActiveRecord::StatementInvalid,
94
+ Mysql::Error,
95
+ Mysql2::Error,
96
+ PG::Error,
97
+ PGError,
98
+ SQLite3::Exception
99
+ ].each do |error_class|
100
+ let(:error) { error_class.new }
101
+
102
+ it error_class.name do
103
+ expect(ActiveRecord::Base).to receive(:establish_connection)
104
+ test_doubles.each(&:perform)
105
+ end
106
+ end
107
+ end
108
+
109
+ context "should not reconnect on" do
110
+ let(:error) { ActiveRecord::ActiveRecordError.new }
111
+
112
+ it "ActiveRecord::ActiveRecordError" do
113
+ expect(ActiveRecord::Base).not_to receive(:establish_connection)
114
+ expect { test_doubles.each(&:perform) }.to raise_error(ActiveRecord::ActiveRecordError)
115
+ end
116
+ end
117
+
88
118
  context "when the reconnection attempt is not successful" do
89
119
  before do
90
120
  class << Rpush::Client::ActiveRecord::Notification
@@ -5,10 +5,6 @@ def unit_example?(metadata)
5
5
  metadata[:file_path] =~ %r{spec/unit}
6
6
  end
7
7
 
8
- def rails4?
9
- ::Rails::VERSION::STRING >= '4'
10
- end
11
-
12
8
  RSpec.configure do |config|
13
9
  config.before(:each) do
14
10
  Modis.with_connection do |redis|
@@ -17,29 +13,14 @@ RSpec.configure do |config|
17
13
 
18
14
  if active_record? && unit_example?(self.class.metadata)
19
15
  connection = ActiveRecord::Base.connection
20
-
21
- if rails4?
22
- connection.begin_transaction joinable: false
23
- else
24
- connection.increment_open_transactions
25
- connection.transaction_joinable = false
26
- connection.begin_db_transaction
27
- end
16
+ connection.begin_transaction joinable: false
28
17
  end
29
18
  end
30
19
 
31
20
  config.after(:each) do
32
21
  if active_record? && unit_example?(self.class.metadata)
33
22
  connection = ActiveRecord::Base.connection
34
-
35
- if rails4?
36
- connection.rollback_transaction if connection.transaction_open?
37
- else
38
- if connection.open_transactions != 0
39
- connection.rollback_db_transaction
40
- connection.decrement_open_transactions
41
- end
42
- end
23
+ connection.rollback_transaction if connection.transaction_open?
43
24
  end
44
25
  end
45
26
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rpush
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.7.0
4
+ version: 3.0.0.rc1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ian Leitch
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-02-09 00:00:00.000000000 Z
11
+ date: 2017-08-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: multi_json
@@ -38,6 +38,20 @@ dependencies:
38
38
  - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: net-http2
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '0.14'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '0.14'
41
55
  - !ruby/object:Gem::Dependency
42
56
  name: activesupport
43
57
  requirement: !ruby/object:Gem::Requirement
@@ -100,6 +114,230 @@ dependencies:
100
114
  - - ">="
101
115
  - !ruby/object:Gem::Version
102
116
  version: '0'
117
+ - !ruby/object:Gem::Dependency
118
+ name: rake
119
+ requirement: !ruby/object:Gem::Requirement
120
+ requirements:
121
+ - - ">="
122
+ - !ruby/object:Gem::Version
123
+ version: '0'
124
+ type: :development
125
+ prerelease: false
126
+ version_requirements: !ruby/object:Gem::Requirement
127
+ requirements:
128
+ - - ">="
129
+ - !ruby/object:Gem::Version
130
+ version: '0'
131
+ - !ruby/object:Gem::Dependency
132
+ name: rspec
133
+ requirement: !ruby/object:Gem::Requirement
134
+ requirements:
135
+ - - "~>"
136
+ - !ruby/object:Gem::Version
137
+ version: 3.4.0
138
+ type: :development
139
+ prerelease: false
140
+ version_requirements: !ruby/object:Gem::Requirement
141
+ requirements:
142
+ - - "~>"
143
+ - !ruby/object:Gem::Version
144
+ version: 3.4.0
145
+ - !ruby/object:Gem::Dependency
146
+ name: database_cleaner
147
+ requirement: !ruby/object:Gem::Requirement
148
+ requirements:
149
+ - - ">="
150
+ - !ruby/object:Gem::Version
151
+ version: '0'
152
+ type: :development
153
+ prerelease: false
154
+ version_requirements: !ruby/object:Gem::Requirement
155
+ requirements:
156
+ - - ">="
157
+ - !ruby/object:Gem::Version
158
+ version: '0'
159
+ - !ruby/object:Gem::Dependency
160
+ name: timecop
161
+ requirement: !ruby/object:Gem::Requirement
162
+ requirements:
163
+ - - ">="
164
+ - !ruby/object:Gem::Version
165
+ version: '0'
166
+ type: :development
167
+ prerelease: false
168
+ version_requirements: !ruby/object:Gem::Requirement
169
+ requirements:
170
+ - - ">="
171
+ - !ruby/object:Gem::Version
172
+ version: '0'
173
+ - !ruby/object:Gem::Dependency
174
+ name: stackprof
175
+ requirement: !ruby/object:Gem::Requirement
176
+ requirements:
177
+ - - ">="
178
+ - !ruby/object:Gem::Version
179
+ version: '0'
180
+ type: :development
181
+ prerelease: false
182
+ version_requirements: !ruby/object:Gem::Requirement
183
+ requirements:
184
+ - - ">="
185
+ - !ruby/object:Gem::Version
186
+ version: '0'
187
+ - !ruby/object:Gem::Dependency
188
+ name: modis
189
+ requirement: !ruby/object:Gem::Requirement
190
+ requirements:
191
+ - - '='
192
+ - !ruby/object:Gem::Version
193
+ version: 1.4.1
194
+ type: :development
195
+ prerelease: false
196
+ version_requirements: !ruby/object:Gem::Requirement
197
+ requirements:
198
+ - - '='
199
+ - !ruby/object:Gem::Version
200
+ version: 1.4.1
201
+ - !ruby/object:Gem::Dependency
202
+ name: rpush-redis
203
+ requirement: !ruby/object:Gem::Requirement
204
+ requirements:
205
+ - - '='
206
+ - !ruby/object:Gem::Version
207
+ version: 0.4.1
208
+ type: :development
209
+ prerelease: false
210
+ version_requirements: !ruby/object:Gem::Requirement
211
+ requirements:
212
+ - - '='
213
+ - !ruby/object:Gem::Version
214
+ version: 0.4.1
215
+ - !ruby/object:Gem::Dependency
216
+ name: appraisal
217
+ requirement: !ruby/object:Gem::Requirement
218
+ requirements:
219
+ - - ">="
220
+ - !ruby/object:Gem::Version
221
+ version: '0'
222
+ type: :development
223
+ prerelease: false
224
+ version_requirements: !ruby/object:Gem::Requirement
225
+ requirements:
226
+ - - ">="
227
+ - !ruby/object:Gem::Version
228
+ version: '0'
229
+ - !ruby/object:Gem::Dependency
230
+ name: cane
231
+ requirement: !ruby/object:Gem::Requirement
232
+ requirements:
233
+ - - ">="
234
+ - !ruby/object:Gem::Version
235
+ version: '0'
236
+ type: :development
237
+ prerelease: false
238
+ version_requirements: !ruby/object:Gem::Requirement
239
+ requirements:
240
+ - - ">="
241
+ - !ruby/object:Gem::Version
242
+ version: '0'
243
+ - !ruby/object:Gem::Dependency
244
+ name: codeclimate-test-reporter
245
+ requirement: !ruby/object:Gem::Requirement
246
+ requirements:
247
+ - - ">="
248
+ - !ruby/object:Gem::Version
249
+ version: '0'
250
+ type: :development
251
+ prerelease: false
252
+ version_requirements: !ruby/object:Gem::Requirement
253
+ requirements:
254
+ - - ">="
255
+ - !ruby/object:Gem::Version
256
+ version: '0'
257
+ - !ruby/object:Gem::Dependency
258
+ name: simplecov
259
+ requirement: !ruby/object:Gem::Requirement
260
+ requirements:
261
+ - - ">="
262
+ - !ruby/object:Gem::Version
263
+ version: '0'
264
+ type: :development
265
+ prerelease: false
266
+ version_requirements: !ruby/object:Gem::Requirement
267
+ requirements:
268
+ - - ">="
269
+ - !ruby/object:Gem::Version
270
+ version: '0'
271
+ - !ruby/object:Gem::Dependency
272
+ name: rubocop
273
+ requirement: !ruby/object:Gem::Requirement
274
+ requirements:
275
+ - - ">="
276
+ - !ruby/object:Gem::Version
277
+ version: '0'
278
+ type: :development
279
+ prerelease: false
280
+ version_requirements: !ruby/object:Gem::Requirement
281
+ requirements:
282
+ - - ">="
283
+ - !ruby/object:Gem::Version
284
+ version: '0'
285
+ - !ruby/object:Gem::Dependency
286
+ name: byebug
287
+ requirement: !ruby/object:Gem::Requirement
288
+ requirements:
289
+ - - ">="
290
+ - !ruby/object:Gem::Version
291
+ version: '0'
292
+ type: :development
293
+ prerelease: false
294
+ version_requirements: !ruby/object:Gem::Requirement
295
+ requirements:
296
+ - - ">="
297
+ - !ruby/object:Gem::Version
298
+ version: '0'
299
+ - !ruby/object:Gem::Dependency
300
+ name: pg
301
+ requirement: !ruby/object:Gem::Requirement
302
+ requirements:
303
+ - - ">="
304
+ - !ruby/object:Gem::Version
305
+ version: '0'
306
+ type: :development
307
+ prerelease: false
308
+ version_requirements: !ruby/object:Gem::Requirement
309
+ requirements:
310
+ - - ">="
311
+ - !ruby/object:Gem::Version
312
+ version: '0'
313
+ - !ruby/object:Gem::Dependency
314
+ name: mysql2
315
+ requirement: !ruby/object:Gem::Requirement
316
+ requirements:
317
+ - - ">="
318
+ - !ruby/object:Gem::Version
319
+ version: '0'
320
+ type: :development
321
+ prerelease: false
322
+ version_requirements: !ruby/object:Gem::Requirement
323
+ requirements:
324
+ - - ">="
325
+ - !ruby/object:Gem::Version
326
+ version: '0'
327
+ - !ruby/object:Gem::Dependency
328
+ name: sqlite3
329
+ requirement: !ruby/object:Gem::Requirement
330
+ requirements:
331
+ - - ">="
332
+ - !ruby/object:Gem::Version
333
+ version: '0'
334
+ type: :development
335
+ prerelease: false
336
+ version_requirements: !ruby/object:Gem::Requirement
337
+ requirements:
338
+ - - ">="
339
+ - !ruby/object:Gem::Version
340
+ version: '0'
103
341
  description: The push notification service for Ruby.
104
342
  email:
105
343
  - port001@gmail.com
@@ -130,6 +368,7 @@ files:
130
368
  - lib/generators/templates/rpush_2_1_0_updates.rb
131
369
  - lib/generators/templates/rpush_2_6_0_updates.rb
132
370
  - lib/generators/templates/rpush_2_7_0_updates.rb
371
+ - lib/generators/templates/rpush_3_0_0_updates.rb
133
372
  - lib/rpush.rb
134
373
  - lib/rpush/apns_feedback.rb
135
374
  - lib/rpush/cli.rb
@@ -141,6 +380,8 @@ files:
141
380
  - lib/rpush/client/active_model/apns/binary_notification_validator.rb
142
381
  - lib/rpush/client/active_model/apns/device_token_format_validator.rb
143
382
  - lib/rpush/client/active_model/apns/notification.rb
383
+ - lib/rpush/client/active_model/apns2/app.rb
384
+ - lib/rpush/client/active_model/apns2/notification.rb
144
385
  - lib/rpush/client/active_model/gcm/app.rb
145
386
  - lib/rpush/client/active_model/gcm/expiry_collapse_key_mutual_inclusion_validator.rb
146
387
  - lib/rpush/client/active_model/gcm/notification.rb
@@ -157,6 +398,8 @@ files:
157
398
  - lib/rpush/client/active_record/apns/app.rb
158
399
  - lib/rpush/client/active_record/apns/feedback.rb
159
400
  - lib/rpush/client/active_record/apns/notification.rb
401
+ - lib/rpush/client/active_record/apns2/app.rb
402
+ - lib/rpush/client/active_record/apns2/notification.rb
160
403
  - lib/rpush/client/active_record/app.rb
161
404
  - lib/rpush/client/active_record/gcm/app.rb
162
405
  - lib/rpush/client/active_record/gcm/notification.rb
@@ -167,28 +410,14 @@ files:
167
410
  - lib/rpush/client/active_record/wns/raw_notification.rb
168
411
  - lib/rpush/client/active_record/wpns/app.rb
169
412
  - lib/rpush/client/active_record/wpns/notification.rb
170
- - lib/rpush/client/mongoid.rb
171
- - lib/rpush/client/mongoid/adm/app.rb
172
- - lib/rpush/client/mongoid/adm/notification.rb
173
- - lib/rpush/client/mongoid/apns/app.rb
174
- - lib/rpush/client/mongoid/apns/feedback.rb
175
- - lib/rpush/client/mongoid/apns/notification.rb
176
- - lib/rpush/client/mongoid/app.rb
177
- - lib/rpush/client/mongoid/gcm/app.rb
178
- - lib/rpush/client/mongoid/gcm/notification.rb
179
- - lib/rpush/client/mongoid/notification.rb
180
- - lib/rpush/client/mongoid/wns/app.rb
181
- - lib/rpush/client/mongoid/wns/badge_notification.rb
182
- - lib/rpush/client/mongoid/wns/notification.rb
183
- - lib/rpush/client/mongoid/wns/raw_notification.rb
184
- - lib/rpush/client/mongoid/wpns/app.rb
185
- - lib/rpush/client/mongoid/wpns/notification.rb
186
413
  - lib/rpush/client/redis.rb
187
414
  - lib/rpush/client/redis/adm/app.rb
188
415
  - lib/rpush/client/redis/adm/notification.rb
189
416
  - lib/rpush/client/redis/apns/app.rb
190
417
  - lib/rpush/client/redis/apns/feedback.rb
191
418
  - lib/rpush/client/redis/apns/notification.rb
419
+ - lib/rpush/client/redis/apns2/app.rb
420
+ - lib/rpush/client/redis/apns2/notification.rb
192
421
  - lib/rpush/client/redis/app.rb
193
422
  - lib/rpush/client/redis/gcm/app.rb
194
423
  - lib/rpush/client/redis/gcm/notification.rb
@@ -206,11 +435,14 @@ files:
206
435
  - lib/rpush/daemon/apns.rb
207
436
  - lib/rpush/daemon/apns/delivery.rb
208
437
  - lib/rpush/daemon/apns/feedback_receiver.rb
438
+ - lib/rpush/daemon/apns2.rb
439
+ - lib/rpush/daemon/apns2/delivery.rb
209
440
  - lib/rpush/daemon/app_runner.rb
210
441
  - lib/rpush/daemon/batch.rb
211
442
  - lib/rpush/daemon/constants.rb
212
443
  - lib/rpush/daemon/delivery.rb
213
444
  - lib/rpush/daemon/delivery_error.rb
445
+ - lib/rpush/daemon/dispatcher/apns_http2.rb
214
446
  - lib/rpush/daemon/dispatcher/apns_tcp.rb
215
447
  - lib/rpush/daemon/dispatcher/http.rb
216
448
  - lib/rpush/daemon/dispatcher/tcp.rb
@@ -234,7 +466,6 @@ files:
234
466
  - lib/rpush/daemon/store/active_record.rb
235
467
  - lib/rpush/daemon/store/active_record/reconnectable.rb
236
468
  - lib/rpush/daemon/store/interface.rb
237
- - lib/rpush/daemon/store/mongoid.rb
238
469
  - lib/rpush/daemon/store/redis.rb
239
470
  - lib/rpush/daemon/string_helpers.rb
240
471
  - lib/rpush/daemon/synchronizer.rb
@@ -262,6 +493,7 @@ files:
262
493
  - lib/tasks/test.rake
263
494
  - spec/.rubocop.yml
264
495
  - spec/functional/adm_spec.rb
496
+ - spec/functional/apns2_spec.rb
265
497
  - spec/functional/apns_spec.rb
266
498
  - spec/functional/cli_spec.rb
267
499
  - spec/functional/embed_spec.rb
@@ -276,8 +508,6 @@ files:
276
508
  - spec/support/cert_with_password.pem
277
509
  - spec/support/cert_without_password.pem
278
510
  - spec/support/config/database.yml
279
- - spec/support/config/mongoid.yml
280
- - spec/support/mongoid_setup.rb
281
511
  - spec/support/simplecov_helper.rb
282
512
  - spec/support/simplecov_quality_formatter.rb
283
513
  - spec/tmp/.gitkeep
@@ -315,7 +545,6 @@ files:
315
545
  - spec/unit/daemon/signal_handler_spec.rb
316
546
  - spec/unit/daemon/store/active_record/reconnectable_spec.rb
317
547
  - spec/unit/daemon/store/active_record_spec.rb
318
- - spec/unit/daemon/store/mongoid_spec.rb
319
548
  - spec/unit/daemon/store/redis_spec.rb
320
549
  - spec/unit/daemon/tcp_connection_spec.rb
321
550
  - spec/unit/daemon/wns/delivery_spec.rb
@@ -345,21 +574,22 @@ required_ruby_version: !ruby/object:Gem::Requirement
345
574
  requirements:
346
575
  - - ">="
347
576
  - !ruby/object:Gem::Version
348
- version: '0'
577
+ version: 2.2.2
349
578
  required_rubygems_version: !ruby/object:Gem::Requirement
350
579
  requirements:
351
- - - ">="
580
+ - - ">"
352
581
  - !ruby/object:Gem::Version
353
- version: '0'
582
+ version: 1.3.1
354
583
  requirements: []
355
584
  rubyforge_project:
356
- rubygems_version: 2.4.8
585
+ rubygems_version: 2.6.12
357
586
  signing_key:
358
587
  specification_version: 4
359
588
  summary: The push notification service for Ruby.
360
589
  test_files:
361
590
  - spec/.rubocop.yml
362
591
  - spec/functional/adm_spec.rb
592
+ - spec/functional/apns2_spec.rb
363
593
  - spec/functional/apns_spec.rb
364
594
  - spec/functional/cli_spec.rb
365
595
  - spec/functional/embed_spec.rb
@@ -374,8 +604,6 @@ test_files:
374
604
  - spec/support/cert_with_password.pem
375
605
  - spec/support/cert_without_password.pem
376
606
  - spec/support/config/database.yml
377
- - spec/support/config/mongoid.yml
378
- - spec/support/mongoid_setup.rb
379
607
  - spec/support/simplecov_helper.rb
380
608
  - spec/support/simplecov_quality_formatter.rb
381
609
  - spec/tmp/.gitkeep
@@ -413,7 +641,6 @@ test_files:
413
641
  - spec/unit/daemon/signal_handler_spec.rb
414
642
  - spec/unit/daemon/store/active_record/reconnectable_spec.rb
415
643
  - spec/unit/daemon/store/active_record_spec.rb
416
- - spec/unit/daemon/store/mongoid_spec.rb
417
644
  - spec/unit/daemon/store/redis_spec.rb
418
645
  - spec/unit/daemon/tcp_connection_spec.rb
419
646
  - spec/unit/daemon/wns/delivery_spec.rb