deliveries 0.3.2 → 0.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b81282b682e4b3ff62068d9d6eebc5c83224e8c37be4897e3326422f46ea2233
4
- data.tar.gz: d9f151ffe9b195af67f34cd3b1ce922b695ba5c19f3b3f7fcfa8629e47052db5
3
+ metadata.gz: ba2e39ae0b06a76579bfc7a307349e04e37a3ea8fe042bc6507f616f4c3d130c
4
+ data.tar.gz: fb095cefd928d32463559ece7a1a48b1ef7932965094a27efb33ee7223dd7a87
5
5
  SHA512:
6
- metadata.gz: 6270940ee403aa5ccda7ed7f4e9a21bdfd0fc41e70054bd4ab2f7e5966c877c54ab978d0f225f09b46f4a21b834468db9ef04acc54756be2922ba07224076004
7
- data.tar.gz: 676f1093e67b4d2e64bc270e33ab86f20c4bb0b9c59c09f053faca7899dfd47020dfd515ba6c18b8b31716e53667a05474b197258ff7c542c70ad48371bbd678
6
+ metadata.gz: bfe834accdc7b8ae7a2b5929240ce3536f10c895554caecc99edb2c1289f8593981dfd1504ab178908f2112316fd2cf85384916ea20e903ead27e5e13794d36f
7
+ data.tar.gz: 9661c3076ca1a3a681bd525801fd089232b473a1c2daf69c0a3d301afb77b85c35f9e0326efd862d73fb74e234f860ab47c6c974b7bf427c238693a6933f1cae
data/CHANGELOG.md CHANGED
@@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [0.3.3] - 2024-03-22
10
+ ### Fixed
11
+ - Prefix delivery location with country code in Mondial Relay Dual.
12
+
9
13
  ## [0.3.2] - 2023-09-14
10
14
  ### Fixed
11
15
  - Add follow_redirect to MondialRelay module API call
@@ -33,7 +37,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
33
37
  ## [0.1.0] - 2021-09-27
34
38
  🎉 First release!
35
39
 
36
- [Unreleased]: https://github.com/ecommerce-ventures/deliveries/compare/v0.3.2...HEAD
40
+ [Unreleased]: https://github.com/ecommerce-ventures/deliveries/compare/v0.3.3...HEAD
41
+ [0.3.3]: https://github.com/ecommerce-ventures/deliveries/compare/v0.3.2...v0.3.3
37
42
  [0.3.2]: https://github.com/ecommerce-ventures/deliveries/compare/v0.3.1...v0.3.2
38
43
  [0.3.1]: https://github.com/ecommerce-ventures/deliveries/compare/v0.3.0...v0.3.1
39
44
  [0.3.0]: https://github.com/ecommerce-ventures/deliveries/compare/v0.2.1...v0.3.0
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- deliveries (0.3.2)
4
+ deliveries (0.3.3)
5
5
  activesupport (>= 5.2.0)
6
6
  hexapdf
7
7
  httparty
@@ -12,7 +12,7 @@ PATH
12
12
  GEM
13
13
  remote: https://rubygems.org/
14
14
  specs:
15
- activesupport (6.1.7.6)
15
+ activesupport (6.1.7.7)
16
16
  concurrent-ruby (~> 1.0, >= 1.0.2)
17
17
  i18n (>= 1.6, < 2)
18
18
  minitest (>= 5.1)
@@ -27,17 +27,17 @@ GEM
27
27
  builder (3.2.4)
28
28
  byebug (11.1.3)
29
29
  cmdparse (3.0.7)
30
- concurrent-ruby (1.2.2)
30
+ concurrent-ruby (1.2.3)
31
31
  crack (0.4.5)
32
32
  rexml
33
- date (3.3.3)
33
+ date (3.3.4)
34
34
  diff-lcs (1.4.4)
35
35
  geom2d (0.4.1)
36
36
  gyoku (1.4.0)
37
37
  builder (>= 2.1.2)
38
38
  rexml (~> 3.0)
39
39
  hashdiff (1.0.1)
40
- hexapdf (0.33.0)
40
+ hexapdf (0.36.0)
41
41
  cmdparse (~> 3.0, >= 3.0.3)
42
42
  geom2d (~> 0.4, >= 0.4.1)
43
43
  openssl (>= 2.2.1)
@@ -46,7 +46,7 @@ GEM
46
46
  multi_xml (>= 0.5.2)
47
47
  httpi (3.0.1)
48
48
  rack
49
- i18n (1.14.1)
49
+ i18n (1.14.4)
50
50
  concurrent-ruby (~> 1.0)
51
51
  mail (2.8.1)
52
52
  mini_mime (>= 0.1.1)
@@ -55,16 +55,16 @@ GEM
55
55
  net-smtp
56
56
  mini_magick (4.12.0)
57
57
  mini_mime (1.1.5)
58
- minitest (5.20.0)
58
+ minitest (5.22.3)
59
59
  multi_xml (0.6.0)
60
60
  net-imap (0.3.7)
61
61
  date
62
62
  net-protocol
63
63
  net-pop (0.1.2)
64
64
  net-protocol
65
- net-protocol (0.2.1)
65
+ net-protocol (0.2.2)
66
66
  timeout
67
- net-smtp (0.3.3)
67
+ net-smtp (0.4.0.1)
68
68
  net-protocol
69
69
  nokogiri (1.13.10-x86_64-linux)
70
70
  racc (~> 1.4)
@@ -74,8 +74,8 @@ GEM
74
74
  parser (3.0.2.0)
75
75
  ast (~> 2.4.1)
76
76
  public_suffix (4.0.6)
77
- racc (1.7.1)
78
- rack (3.0.8)
77
+ racc (1.7.3)
78
+ rack (3.0.10)
79
79
  rainbow (3.0.0)
80
80
  rake (13.0.6)
81
81
  regexp_parser (2.1.1)
@@ -114,7 +114,7 @@ GEM
114
114
  nokogiri (>= 1.8.1)
115
115
  nori (~> 2.4)
116
116
  wasabi (~> 3.4)
117
- timeout (0.4.0)
117
+ timeout (0.4.1)
118
118
  tzinfo (2.0.6)
119
119
  concurrent-ruby (~> 1.0)
120
120
  unicode-display_width (1.8.0)
@@ -126,7 +126,7 @@ GEM
126
126
  addressable (>= 2.8.0)
127
127
  crack (>= 0.3.2)
128
128
  hashdiff (>= 0.4.0, < 2.0.0)
129
- zeitwerk (2.6.11)
129
+ zeitwerk (2.6.13)
130
130
 
131
131
  PLATFORMS
132
132
  x86_64-linux
@@ -61,7 +61,7 @@ module Deliveries
61
61
  if collection_point
62
62
  {
63
63
  mode: '24R',
64
- location: collection_point.point_id
64
+ location: "#{receiver.country.upcase}-#{collection_point.point_id}"
65
65
  }
66
66
  else
67
67
  home_delivery_mode = MondialRelayDual.config("countries.#{receiver.country.downcase}.home_delivery_mode") || 'HOM'
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Deliveries
4
- VERSION = '0.3.2'
4
+ VERSION = '0.3.3'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: deliveries
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fran Vega
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2023-09-14 00:00:00.000000000 Z
14
+ date: 2024-03-22 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: activesupport
@@ -242,7 +242,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
242
242
  - !ruby/object:Gem::Version
243
243
  version: '0'
244
244
  requirements: []
245
- rubygems_version: 3.1.6
245
+ rubygems_version: 3.0.3.1
246
246
  signing_key:
247
247
  specification_version: 4
248
248
  summary: Library to abstract multiple courier web services.