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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 24112199ffde45889cc684f1e02c1d7673b10853d3c0c75f251287c3f3a31f1b
4
- data.tar.gz: 1450ec6514fa4dc335a11d70ed56ab31acabf737c3a066b7ca9226c7ae139d07
3
+ metadata.gz: 437a94a0deb0e8c81bff6bafd1d10245618c34008e4f3a84a0001760b225bc92
4
+ data.tar.gz: cccefa5ce69265dd4d3824d1b0df3e6d2a99239ef78ef6a1913cc84412943aef
5
5
  SHA512:
6
- metadata.gz: f0b7cd03c9305d1601e086f747ffe9fa6cb6d09db67df904232da9e001900da6aba474375f4154ba416b9dd581cfbb8c0d83979c44818ed366621899c061a34c
7
- data.tar.gz: 31b7e340eb81a5c26cce0bcd57ab14aa33da396e8a66f6955afd78141cd7fe356185818dcea7927c01fa286e3cc91758a31eb88d8ec8c67d248bdce2f91a16af
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,2 +1,5 @@
1
1
  pt-BR:
2
-
2
+ spree:
3
+ admin:
4
+ tab:
5
+ melhor_envio: "Melhor Envio"
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SolidusMe
4
- VERSION = '1.0.5'
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.5
4
+ version: 1.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hamilton Tumenas Borges