solidus_me 2.2.1 → 2.3.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: 62dc6eb4a3e71567bda2d582a32a291159d9b89c76fed8719aec035d4668f3f3
4
- data.tar.gz: c82e7fd2763ce627db6cba278036fa3b1f864363d89cab1a83720c7c8913382a
3
+ metadata.gz: ebf45ba51acd9453e579a60e54137080a16c9f2eae6c30a67b4d652b3567d3cd
4
+ data.tar.gz: 3eb9e0aee256fb909dc26be5b95b32ad8747a43ea1f52148b84848803f76aa86
5
5
  SHA512:
6
- metadata.gz: 455417c56401f745ac3c946531f7597930998808edefe1d9666c78decbe058ba1fa2d79b5dc4b28f348f57f9dcd046cee01447c30174b75c0067092b3aa4c81b
7
- data.tar.gz: a7d939b072ad093ee5c59eb0760ceb2c6b2d1fcc357899d5ab0aa875ff4bfd2501bb723c2ddc26cbb44af540494c225be624ad4b87afa0a0925cbdb848820e43
6
+ metadata.gz: d42258f7940a6957d1cb589c46d4281db466e48b3039661da773595f5ee843ec3d9b4ef72d6587a4715f5d2fe981a7fe774cbd3d515ab0ebd0e8a5de9cb69652
7
+ data.tar.gz: ddaf8698dc583f58c603f7dfeb142cb8b2fbdb6102ec92857c43dc494f4fc1c9572434100a3a24c88f71f1130d5a79c48087c2c956c46ac843a0b72ff95a1220
@@ -38,9 +38,6 @@ module SolidusMe
38
38
  from: @me_account.postal_code_from,
39
39
  to: zipcode,
40
40
  weight_kg: (weight / 1000.00),
41
- height_cm: height_cm,
42
- width_cm: width_cm,
43
- length_cm: length_cm,
44
41
  contents_value_brl: price
45
42
  )
46
43
  rates.select { |rate| rate.price > 0 && services.include?(rate.service_name) }
@@ -60,6 +57,7 @@ module SolidusMe
60
57
  end
61
58
 
62
59
  Spree::ShippingRate.new(
60
+ shipment: package.shipment,
63
61
  shipping_method: shipping_method,
64
62
  cost: melhor_envio_rate.price,
65
63
  min_delivery_time: melhor_envio_rate.delivery_range["min"],
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SolidusMe
4
- VERSION = "2.2.1"
4
+ VERSION = "2.3.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.1
4
+ version: 2.3.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-10 00:00:00.000000000 Z
11
+ date: 2024-07-19 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.10
160
+ rubygems_version: 3.5.11
161
161
  signing_key:
162
162
  specification_version: 4
163
163
  summary: Gem para integração com a API do Melhor Envio