solidus_me 1.0.5 → 1.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/solidus_me/preferences.rb +1 -1
- data/config/locales/pt-BR.yml +4 -1
- data/lib/solidus_me/version.rb +1 -1
- 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: 437a94a0deb0e8c81bff6bafd1d10245618c34008e4f3a84a0001760b225bc92
|
4
|
+
data.tar.gz: cccefa5ce69265dd4d3824d1b0df3e6d2a99239ef78ef6a1913cc84412943aef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8ef1cdb2de6acbdcaa11f8841b6d71fd6d89f0bd455dc6b961649d12a6bd5c8b17d2035fc070a25d448260eb1e0d4102004a435f7ef9770fe8a61f3805df926c
|
7
|
+
data.tar.gz: 6b2612906888be73c9fe0df813c73fb21c04467e5ce623b72725932edd959f0e0fbf22d3f03a4adc396f4264193bd11182f364cd77c70bae20989051a7847bd8
|
@@ -9,7 +9,7 @@ module SolidusMe
|
|
9
9
|
end
|
10
10
|
|
11
11
|
def check
|
12
|
-
return if @preferences[:client_id].
|
12
|
+
return if @preferences[:client_id].blank? || @preferences[:client_secret].blank? || @preferences[:refresh_token].blank?
|
13
13
|
return if (@preferences[:token_expires_in]&.to_datetime - 1.day) > DateTime.now
|
14
14
|
refresh
|
15
15
|
end
|
data/config/locales/pt-BR.yml
CHANGED
data/lib/solidus_me/version.rb
CHANGED