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 +4 -4
- data/app/models/solidus_me/shipping_estimator.rb +1 -3
- data/lib/solidus_me/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ebf45ba51acd9453e579a60e54137080a16c9f2eae6c30a67b4d652b3567d3cd
|
4
|
+
data.tar.gz: 3eb9e0aee256fb909dc26be5b95b32ad8747a43ea1f52148b84848803f76aa86
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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"],
|
data/lib/solidus_me/version.rb
CHANGED
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.
|
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-
|
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.
|
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
|