shoptet 0.0.15 → 0.0.16

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/shoptet.rb +2 -2
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9de0b397fa3b5dd0812bc64e68c9a2ed317955bc0f8a9e646dea9f7ed47c30c1
4
- data.tar.gz: e0ede103c20d5d0807bc6cec27f6e256fba7764ecf31a2e35a89c50c10094e42
3
+ metadata.gz: 4c86fdea4c6992986c3db615c17a5687d5fb71eedd29af756a1e746c03718df0
4
+ data.tar.gz: 275c40c5fedd71fb72b4be6327951ba810763661763d7d950c1eb273d6308625
5
5
  SHA512:
6
- metadata.gz: 97efaa5b7940915ef996ef5c3e37abb83a4fc19c1a2efabeb6dab20fbb3dc3b14f9dd25675dbc114418ba583672e92bebc0017e741107731c657e1668d24892c
7
- data.tar.gz: edb39d61b980ef258a6f0f5f95d8090f83ebe8a98f1be5d14676f5f33a8d50d965ea2f7978dcd0f3a754696e0932e086bf41f5e86ba20a58e35f72c554a6e428
6
+ metadata.gz: 5d5775690ef05f456177650b4bf11ec8571c8fd33bd9c0ba86ca4b83057f3f0ef22fb4075161a6385f0bb9945b9c673f505b541e1a002a6b41e3bfe3cd815505
7
+ data.tar.gz: c2a5e2b984c2fedc2cedf6b5f59f125bc2c609bb3fe359ddeae11c6a20afceaf9e361d55f6b363d4695c633e8e48b4696e1924ce01e4009883a968d17d2f3214
@@ -72,7 +72,7 @@ class Shoptet
72
72
  end
73
73
 
74
74
  def self.version
75
- '0.0.15'
75
+ '0.0.16'
76
76
  end
77
77
 
78
78
  def self.ar_on_token_error(model)
@@ -275,7 +275,7 @@ class Shoptet
275
275
  message = err['message']
276
276
 
277
277
  code == EXPIRED_TOKEN_CODE ||
278
- code == INVALID_TOKEN_CODE && message.include?("Invalid access token")
278
+ code == INVALID_TOKEN_CODE && (message.include?('Invalid access token') || message.include?('Missing access token'))
279
279
  end
280
280
 
281
281
  if error || non_token_errors.any?
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shoptet
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.15
4
+ version: 0.0.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Premysl Donat