shoptet 0.0.15 → 0.0.16
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/shoptet.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4c86fdea4c6992986c3db615c17a5687d5fb71eedd29af756a1e746c03718df0
|
4
|
+
data.tar.gz: 275c40c5fedd71fb72b4be6327951ba810763661763d7d950c1eb273d6308625
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5d5775690ef05f456177650b4bf11ec8571c8fd33bd9c0ba86ca4b83057f3f0ef22fb4075161a6385f0bb9945b9c673f505b541e1a002a6b41e3bfe3cd815505
|
7
|
+
data.tar.gz: c2a5e2b984c2fedc2cedf6b5f59f125bc2c609bb3fe359ddeae11c6a20afceaf9e361d55f6b363d4695c633e8e48b4696e1924ce01e4009883a968d17d2f3214
|
data/lib/shoptet.rb
CHANGED
@@ -72,7 +72,7 @@ class Shoptet
|
|
72
72
|
end
|
73
73
|
|
74
74
|
def self.version
|
75
|
-
'0.0.
|
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?(
|
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?
|