solidus_me 2.2.0 → 2.2.1

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: d2e9f293638ff0c3b7d0c57b87aeec56046f7f846cea50a1b6b3fef334df7a44
4
- data.tar.gz: 5100ecb5e3b430fdb67ba3d76ae28eb1f96cbb092b8f966660134203da115a9b
3
+ metadata.gz: 62dc6eb4a3e71567bda2d582a32a291159d9b89c76fed8719aec035d4668f3f3
4
+ data.tar.gz: c82e7fd2763ce627db6cba278036fa3b1f864363d89cab1a83720c7c8913382a
5
5
  SHA512:
6
- metadata.gz: 17401a6ce413265b73362cae515fca208b9f811eac36e50abe8b415996fa224547ee371607515ffefc3fb6e62f2a771dd8afd682903552f21b50febc71abf018
7
- data.tar.gz: 8045ae66d039acc94ddfea8ff8261019657b1b31eb41fa2cad26b92fbe29676d806bb546add6433c8465cb113bbec1607a811b01ddcfa8272e8c30c3107e82da
6
+ metadata.gz: 455417c56401f745ac3c946531f7597930998808edefe1d9666c78decbe058ba1fa2d79b5dc4b28f348f57f9dcd046cee01447c30174b75c0067092b3aa4c81b
7
+ data.tar.gz: a7d939b072ad093ee5c59eb0760ceb2c6b2d1fcc357899d5ab0aa875ff4bfd2501bb723c2ddc26cbb44af540494c225be624ad4b87afa0a0925cbdb848820e43
@@ -2,7 +2,7 @@ module SolidusMe
2
2
  class ShippingEstimator
3
3
  def shipping_rates(package, _frontend_only = true)
4
4
  @me_account = Account.first
5
- return [] if @me_account.blank?
5
+ return [build_shipping_rate(default_rate, package)] if @me_account.blank?
6
6
 
7
7
  @me_account.check_token
8
8
  @me_client = MeApi::Client.new(@me_account.access_token)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SolidusMe
4
- VERSION = "2.2.0"
4
+ VERSION = "2.2.1"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solidus_me
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.0
4
+ version: 2.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hamilton Tumenas Borges
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-05-02 00:00:00.000000000 Z
11
+ date: 2024-05-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: solidus_core
@@ -157,7 +157,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
157
157
  - !ruby/object:Gem::Version
158
158
  version: '0'
159
159
  requirements: []
160
- rubygems_version: 3.5.3
160
+ rubygems_version: 3.5.10
161
161
  signing_key:
162
162
  specification_version: 4
163
163
  summary: Gem para integração com a API do Melhor Envio