notifiable-apns-apnotic 0.3.5 → 0.3.6

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
  SHA256:
3
- metadata.gz: c2a8589b443c156f3ea758cc6c0dc623ec2f058fd2a424b22250bbe902d1ef1d
4
- data.tar.gz: 59e1cc4403c7d68a9a5f5fa1cda08f3582160423d524b2e1d2fc63e7c88ce9eb
3
+ metadata.gz: 962d13629648b33d24f7767c6f6f874051905ce5405b5a04dadeef1f01757661
4
+ data.tar.gz: 988c8c6459f9ebece9afebc1817fe22f8b0ae335c4eb99ece23e0f410ed56f8d
5
5
  SHA512:
6
- metadata.gz: 7e935436f3107200388eb528c74006a3fd9d36827ba25fd726041fa8d910d9b90ee146b4e2c6e3b573a7191861b2fd9da83efd373ef6202520d38a44f3157f6a
7
- data.tar.gz: 1eb55cd1134ea62a037b46c3d9f3cf30c0f42c50fc512b4b34f5a3cec4a391d684036d5e729511d9b152a23e551d102bf06d1233544fe3b303cbb9f016cdde7b
6
+ metadata.gz: a8da618b9fb538d0f861e2bc368671c13e6a4e46bc6631346001aaf52b8d5ed07dea8369292b65ef98587c669f63a32a46d630a21055c15fa06e15818d9b03b1
7
+ data.tar.gz: 26bffe1a47acc9b3d505717bf280df5506d1a0060a2aa8e68989107444239d08d44453998ce8738a61ca0905d0281a783b5bba7feaf9c4f77e165baf2f82e74d
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- notifiable-apns-apnotic (0.3.5)
4
+ notifiable-apns-apnotic (0.3.6)
5
5
  apnotic (~> 1.6.0)
6
6
  grocer (~> 0.7.1)
7
7
  notifiable-core (>= 0.1.3)
@@ -15,7 +15,7 @@ GEM
15
15
  activemodel (= 5.2.1)
16
16
  activesupport (= 5.2.1)
17
17
  arel (>= 9.0)
18
- activerecord-import (1.0.2)
18
+ activerecord-import (1.0.3)
19
19
  activerecord (>= 3.2)
20
20
  activesupport (5.2.1)
21
21
  concurrent-ruby (~> 1.0, >= 1.0.2)
@@ -40,7 +40,7 @@ GEM
40
40
  minitest (5.11.3)
41
41
  net-http2 (0.18.2)
42
42
  http-2 (~> 0.10.1)
43
- notifiable-core (0.3.6)
43
+ notifiable-core (0.4.0)
44
44
  activerecord
45
45
  activerecord-import
46
46
  pg (1.1.0)
@@ -72,6 +72,7 @@ module Notifiable
72
72
  payload.sound = notification.sound || 'default'
73
73
  payload.category = notification.category if notification.category
74
74
  payload.content_available = notification.content_available if notification.content_available
75
+ payload.priority = 5 if notification.content_available # infer valid priority if content_avalible flag is true
75
76
  payload.badge = notification.badge_count if notification.badge_count
76
77
  payload.custom_payload = notification.send_params
77
78
  payload.thread_id = notification.thread_id if notification.thread_id
@@ -1,7 +1,7 @@
1
1
  module Notifiable
2
2
  module Apns
3
3
  module Apnotic
4
- VERSION = "0.3.5"
4
+ VERSION = "0.3.6"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: notifiable-apns-apnotic
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.5
4
+ version: 0.3.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Brooke-Smith
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-10-03 00:00:00.000000000 Z
11
+ date: 2019-11-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: notifiable-core