ts_p8push 1.0.9 → 1.1.0

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: ef00369583da57c6a37bc90bee3a2faacdbe2f3aa6b9f97cc778495ae9b7f22d
4
- data.tar.gz: 1714c119948a3c9189fa4f7581213eae29ed1eb51357aad690dae04e5aa0b0b7
3
+ metadata.gz: 9157428f246ccf247d785321bac8acdda1e80e7669f36ca23c952b89630d82ab
4
+ data.tar.gz: 16075c32def63a69fa676cb614326ec50237b5c268955f1b1c6d8e56ae49d063
5
5
  SHA512:
6
- metadata.gz: c5b6df0eb81504e649f7cbda63ba0543ad794b842a8ae730bffd2e5961f3f302faf68d6055b162240de25b0cc0ee6657233198402dd9a802e9cd67ac24ae0281
7
- data.tar.gz: 16862c58308ce5b9b0aa7cd75dcd67beec12c957df06cbc65e3c9bee850c9ea441db0b35879c373d3315cefa829daf04de04f0d4701eb85124029c2b8f4e16bc
6
+ metadata.gz: a2e4c7da29520fd8fea6f27ba46005579ca796dfc9a30012e22ed5b8f4a0b56562936826565640dd39ed7976bd2d00cecc851851c0be861a5408818c59f15a1b
7
+ data.tar.gz: a655dc32e991d469395c0cff8c398017a1272a6a0f5c5e1be624f1ed09720cc2252700b00ddfd1e7ab746134aae08a2bc96a4b2e6337bf995291338f710049c7
data/lib/p8push/client.rb CHANGED
@@ -41,6 +41,10 @@ module P8push
41
41
  h['scheme'] = 'https'
42
42
  h['authorization'] = "bearer #{jwt_token}"
43
43
  h['content-type'] = 'application/json'
44
+
45
+
46
+ puts payload.inspect
47
+
44
48
  res = client.call(:post, '/3/device/'+token, body: payload.to_json, timeout: @timeout,
45
49
  headers: h)
46
50
  client.close
@@ -1,3 +1,3 @@
1
1
  module P8push
2
- VERSION = '1.0.9'
2
+ VERSION = '1.1.0'
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.0.9
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Arrow
@@ -87,6 +87,7 @@ files:
87
87
  - "./p8push.gemspec"
88
88
  - "./ts_p8push-1.0.7.gem"
89
89
  - "./ts_p8push-1.0.8.gem"
90
+ - "./ts_p8push-1.0.9.gem"
90
91
  homepage: https://talhashoaib.me
91
92
  licenses:
92
93
  - MIT