solidus_tec_estimator 1.0.1 → 1.0.2

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: e5e7cd13f4896e9a372dd9f05843b4740b416130570780457e1ee61bebde2c1a
4
- data.tar.gz: 3194224d288d40fd74bf0f9ce1558f84219c92739ed506840b75c93be07334a4
3
+ metadata.gz: ec04ac8776ab72173ed80d8e4c94ec6f7f96e09e67fb05f86588d680fe2cdaa3
4
+ data.tar.gz: 7f0019e36d4c414e1489b53c6489fb1e2d50fe25d0f6a8fefaba2e832fc0f340
5
5
  SHA512:
6
- metadata.gz: 4fa22eb8ecc2a66ee4431e6ad34db0adbe12b7e9ceea0d528f73800ca6a3dda880dd1379e1df1840e420afa3bc5e9a40f43479586b81a23029843592acc64956
7
- data.tar.gz: 3b7ad8dd88b055ff69d5c643cf47fb54feda8ec98769f651a3414e842e1fd662f529e55f1e7e9726289fd1996d0cbf167b74a7ed0bd8aa85f299a72f09e01c7c
6
+ metadata.gz: f40c6c0d165ece193dc40263667b4fa08043bdcac88431af801aeb9b0584d2aef128f1d12e0d1c3c4b3b3e29e93b0e6378f43523964631e906fcc52f35319862
7
+ data.tar.gz: 30da2db3d0463e33ca81c86ddab5c1f7d1a40b063d6d47e4fa77d4ac3e5de31510c8113c591cc145cc2bd4c8e4f2cf2352ab0536f67c1668a4ca8ec620c4504e
@@ -14,7 +14,7 @@ module SolidusTecEstimator
14
14
  end
15
15
  end.compact
16
16
  rates += providers(package).map do |provider|
17
- provider_shipping_methods = provider.spree_shipping_methods.available_in_stock_location(package.stock_location)
17
+ provider_shipping_methods = provider.spree_shipping_methods.available_to_store(package.shipment.order.store).available_in_stock_location(package.stock_location)
18
18
  provider.class_name.constantize.new(package, provider_shipping_methods).shipping_rates
19
19
  end.flatten.compact
20
20
 
@@ -1,3 +1,3 @@
1
1
  module SolidusTecEstimator
2
- VERSION = '1.0.1'
2
+ VERSION = '1.0.2'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solidus_tec_estimator
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - ulysses
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-08-15 00:00:00.000000000 Z
11
+ date: 2024-08-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: solidus_core