notifiable-apns-grocer 0.15.2 → 0.16.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -3
- data/lib/notifiable/apns/grocer/stream.rb +1 -0
- data/lib/notifiable/apns/grocer/version.rb +1 -1
- data/notifiable-apns-grocer.gemspec +1 -1
- data/spec/spec_helper.rb +2 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7e5f4841e095e7ea307029f7292e8e22f5a1a21e
|
4
|
+
data.tar.gz: 3ca1ad0d68c572c998e08743717737e03c81711f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 89a8d9cdb1b09ae72c328de828829dd7157b1c0726ee149f9ec2c28c38c5e0013634b18ae12830d1d84b7a2a4a1b2d093564052721387a6b2fa88bc0a7298595
|
7
|
+
data.tar.gz: 87f7e49e40767d157602b79534d00675e792aafe1ebcaa9b1aa04595bf82cf00ffaa7fbedb516b7ba982549f6c38daf90226dc224d107b7d4e09ceec7e0b0f35
|
data/Gemfile
CHANGED
@@ -89,6 +89,7 @@ module Notifiable
|
|
89
89
|
payload[:alert][:title] = notification.title if notification.title
|
90
90
|
payload[:alert][:body] = notification.message if notification.message
|
91
91
|
payload[:sound] = notification.sound || 'default'
|
92
|
+
payload[:'thread-id'] = notification.thread_id if notification.thread_id
|
92
93
|
payload[:badge] = notification.badge_count if notification.badge_count
|
93
94
|
payload[:identifier] = notification.identifier if notification.identifier
|
94
95
|
payload[:content_available] = notification.content_available if notification.content_available
|
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
|
|
18
18
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
19
|
spec.require_paths = ["lib"]
|
20
20
|
|
21
|
-
spec.add_dependency "notifiable-rails", "
|
21
|
+
spec.add_dependency "notifiable-rails", "~> 0.28.1"
|
22
22
|
spec.add_dependency "grocer", '~> 0.7.0'
|
23
23
|
spec.add_dependency "connection_pool", '~> 2.0.0'
|
24
24
|
|
data/spec/spec_helper.rb
CHANGED
@@ -41,8 +41,9 @@ RSpec.configure do |config|
|
|
41
41
|
|
42
42
|
ActiveRecord::Migration.verbose = false
|
43
43
|
notifiable_rails_path = Gem.loaded_specs['notifiable-rails'].full_gem_path
|
44
|
-
ActiveRecord::Migrator.migrate File.join(notifiable_rails_path, 'db', 'migrate')
|
45
44
|
|
45
|
+
ActiveRecord::MigrationContext.new(File.join(notifiable_rails_path, 'db', 'migrate')).migrate
|
46
|
+
|
46
47
|
@grocer = Grocer.server(port: 2195)
|
47
48
|
@grocer.accept
|
48
49
|
}
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: notifiable-apns-grocer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.16.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kamil Kocemba
|
@@ -9,22 +9,22 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2018-
|
12
|
+
date: 2018-06-18 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: notifiable-rails
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
requirements:
|
18
|
-
- - "
|
18
|
+
- - "~>"
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version: 0.
|
20
|
+
version: 0.28.1
|
21
21
|
type: :runtime
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
|
-
- - "
|
25
|
+
- - "~>"
|
26
26
|
- !ruby/object:Gem::Version
|
27
|
-
version: 0.
|
27
|
+
version: 0.28.1
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: grocer
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|