ts_p8push 1.1.3 → 1.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0b7a23e2b2c147643de610af283df24b79e8d1044858f75b536ed646720ca52c
4
- data.tar.gz: 397c9800e117aa52f8e00999251d0575b77903ee7bfc1ba895053b7086dcf08e
3
+ metadata.gz: 54b02ef4e92b6a3054868dfffd8613e8a0dd97a8b48617dcec455d59f8108c11
4
+ data.tar.gz: e9bf28c09bf2eca5bd804a9da891d1432a1def41013527b6a9995367c8ab0bd4
5
5
  SHA512:
6
- metadata.gz: 2af01065e809342e2393046dcb90a017e4f2205a3548f32f3e5da36292526a44b2ea3174b251c4105a6fc75f05c704f6abc493518636a8eb5f95bee0441162ce
7
- data.tar.gz: 00f24c0d707c0081e107b9f2128c106212eccbca06e81d2e7828fda32a276513071789c949e9df02368b97ecc0288c977a874554e916f8de3cc221fc2b8ea45d
6
+ metadata.gz: bb7f937b42df63ba627aaa64d50ea893e7f0e3078e88247af6537a2ba783ae78cd3d693d51462b87f96dfdaca70bbb3f41b7863395748b1496469e3c8ccbbdb2
7
+ data.tar.gz: f1c2d45ac5397e0d1bb6ad72293f4ecc4e2eb4e74471b59725bbbc4be9196d8421a73604a72fa3ad1f8aafce3df42bc34615bc51a79d54997087b68be933c1df
@@ -56,7 +56,7 @@ module P8push
56
56
  json = {}.merge(@custom_data || {}).inject({}) { |h, (k, v)| h[k.to_s] = v; h }
57
57
 
58
58
  json['aps'] ||= {}
59
- json['aps']['alert'] = @alert.to_json if @alert
59
+ json['aps']['alert'] = @alert.as_json if @alert
60
60
  json['aps']['badge'] = @badge.to_i rescue 0 if @badge
61
61
  json['aps']['sound'] = @sound if @sound
62
62
  json['aps']['category'] = @category if @category
@@ -1,3 +1,3 @@
1
1
  module P8push
2
- VERSION = '1.1.3'
2
+ VERSION = '1.1.4'
3
3
  end
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ts_p8push
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.3
4
+ version: 1.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Arrow
@@ -91,6 +91,7 @@ files:
91
91
  - "./ts_p8push-1.1.0.gem"
92
92
  - "./ts_p8push-1.1.1.gem"
93
93
  - "./ts_p8push-1.1.2.gem"
94
+ - "./ts_p8push-1.1.3.gem"
94
95
  homepage: https://talhashoaib.me
95
96
  licenses:
96
97
  - MIT