solidus_me 1.0.6 → 1.0.7

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: e1a1f428a4bbe87b39de0ed6b4709ea623c002ade688cbfe620a7da4be9791f4
4
- data.tar.gz: e33dbe5423dc653837cc164dc8f04670f4e066e4ba59db5a43b1e9543c11477c
3
+ metadata.gz: 437a94a0deb0e8c81bff6bafd1d10245618c34008e4f3a84a0001760b225bc92
4
+ data.tar.gz: cccefa5ce69265dd4d3824d1b0df3e6d2a99239ef78ef6a1913cc84412943aef
5
5
  SHA512:
6
- metadata.gz: 125e14c3e14cefebd1b31db77dceadbda72faf537e9aa082ff6ea8b09a4db318fe8ee8155dd114a6f8acc5f69fc781c3ea1d21382777bfe07f85176c51424b40
7
- data.tar.gz: 2925230ccc33cef0150c749024c926e439f735308f88ab4b823dec79c37d40274ae8c1e73cec7e95d6e5d30357edc1c9825f5d9b25581e3e0362a02457bfab8b
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].nil? || @preferences[:client_secret].nil? || @preferences[:refresh_token].nil?
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SolidusMe
4
- VERSION = '1.0.6'
4
+ VERSION = '1.0.7'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solidus_me
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.6
4
+ version: 1.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hamilton Tumenas Borges