noticed 1.5.7 → 1.5.8

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: a428bc0978afe8b14abcb97a3d1044aa6b44acca00822f4f561eb2315392420d
4
- data.tar.gz: 5dc07c6c18523c083e981f0440f1c4d273f36e1b83e78c04e31f0822ada927c1
3
+ metadata.gz: 7857214fa6a81b4daa79df4247b40d7a807c50963a30c03b728452aa4c7a98ee
4
+ data.tar.gz: e5bb7f26fc03c44b71f130e14cba3d3b92e66f11c217cd48464967ee8e88f985
5
5
  SHA512:
6
- metadata.gz: 958fde4c959e18dfa7c569d4c5e3449b13332bd9a2161b1e0083b327f148edfb1ac454030576dc7f366d82c62ae7c6466f4a6d27fd44b97927d1b57e391498ca
7
- data.tar.gz: 1a18f5937d945ecf386a74002ca5dc7b61b441d583b41dd9383f1cb171ca442dd82827ecf93febf2053441cf566f3739b5eddbe8da2c7ab0ec7ac8b647e27f5e
6
+ metadata.gz: ce49d5a79dd42876bc83f5783e6b253a98edb1a21a6ddbe141bc3165aeff9efcd774bdfac6bf243643477b7401f547971f2eb9deb2c647ff162504ad62b5c0a7
7
+ data.tar.gz: 32bcf1c228a088843d334296aea80025e5d6d3fb503d00773426a422701e64cf03357be08ded20f65b0cf763486bb0b7d9cbd779833611cc044b74c379ff28b2
@@ -20,7 +20,7 @@ module Noticed
20
20
  device_tokens.each do |device_token|
21
21
  post("#{BASE_URI}#{project_id}/messages:send", headers: {authorization: "Bearer #{access_token}"}, json: {message: format(device_token)})
22
22
  rescue ResponseUnsuccessful => exception
23
- if exception.code == 404
23
+ if exception.response.code == 404
24
24
  cleanup_invalid_token(device_token)
25
25
  else
26
26
  raise
@@ -1,3 +1,3 @@
1
1
  module Noticed
2
- VERSION = "1.5.7"
2
+ VERSION = "1.5.8"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: noticed
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.7
4
+ version: 1.5.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Oliver
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-01-14 00:00:00.000000000 Z
11
+ date: 2022-03-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails