deliveries 0.3.2 → 0.3.4

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: fbc860dfdfe36fed83c50c0cb25bfb2e8f07d77703737769bc6867ed9c65ed2b
4
+ data.tar.gz: 3c499cdfbcb2342cdadc28c2aa40721c22b492fdbe24c081d864affb2f3b3607
5
5
  SHA512:
6
- metadata.gz: 6270940ee403aa5ccda7ed7f4e9a21bdfd0fc41e70054bd4ab2f7e5966c877c54ab978d0f225f09b46f4a21b834468db9ef04acc54756be2922ba07224076004
7
- data.tar.gz: 676f1093e67b4d2e64bc270e33ab86f20c4bb0b9c59c09f053faca7899dfd47020dfd515ba6c18b8b31716e53667a05474b197258ff7c542c70ad48371bbd678
6
+ metadata.gz: 5dffc35209c8c5527e973b22683e9848393427222e76e715cf77fab7a8f33a8e6151af0b29a35a552f0f475bcc8c1c33d82108719399026674af4f3e2d737c23
7
+ data.tar.gz: ba72d2083a9b2abd4179e172bb934ad8ffb5ea07f3296dbcd6470ed3fa47397f84923286c1cad3e85f3b1a091a5c0e3bbb765cc376757eda9e9a44733ab78db3
data/CHANGELOG.md CHANGED
@@ -6,6 +6,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [0.3.4] - 2024-12-05
10
+ ### Fixed
11
+ - Set default weight to one for Envialia shipping labels.
12
+
13
+ ## [0.3.3] - 2024-03-22
14
+ ### Fixed
15
+ - Prefix delivery location with country code in Mondial Relay Dual.
16
+
9
17
  ## [0.3.2] - 2023-09-14
10
18
  ### Fixed
11
19
  - Add follow_redirect to MondialRelay module API call
@@ -33,7 +41,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
33
41
  ## [0.1.0] - 2021-09-27
34
42
  🎉 First release!
35
43
 
36
- [Unreleased]: https://github.com/ecommerce-ventures/deliveries/compare/v0.3.2...HEAD
44
+ [Unreleased]: https://github.com/ecommerce-ventures/deliveries/compare/v0.3.4...HEAD
45
+ [0.3.4]: https://github.com/ecommerce-ventures/deliveries/compare/v0.3.3...v0.3.4
46
+ [0.3.3]: https://github.com/ecommerce-ventures/deliveries/compare/v0.3.2...v0.3.3
37
47
  [0.3.2]: https://github.com/ecommerce-ventures/deliveries/compare/v0.3.1...v0.3.2
38
48
  [0.3.1]: https://github.com/ecommerce-ventures/deliveries/compare/v0.3.0...v0.3.1
39
49
  [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.4)
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,18 +55,20 @@ 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
+ mini_portile2 (2.8.8)
59
+ minitest (5.22.3)
59
60
  multi_xml (0.6.0)
60
61
  net-imap (0.3.7)
61
62
  date
62
63
  net-protocol
63
64
  net-pop (0.1.2)
64
65
  net-protocol
65
- net-protocol (0.2.1)
66
+ net-protocol (0.2.2)
66
67
  timeout
67
- net-smtp (0.3.3)
68
+ net-smtp (0.4.0.1)
68
69
  net-protocol
69
- nokogiri (1.13.10-x86_64-linux)
70
+ nokogiri (1.13.10)
71
+ mini_portile2 (~> 2.8.0)
70
72
  racc (~> 1.4)
71
73
  nori (2.6.0)
72
74
  openssl (3.1.0)
@@ -74,8 +76,8 @@ GEM
74
76
  parser (3.0.2.0)
75
77
  ast (~> 2.4.1)
76
78
  public_suffix (4.0.6)
77
- racc (1.7.1)
78
- rack (3.0.8)
79
+ racc (1.7.3)
80
+ rack (3.0.10)
79
81
  rainbow (3.0.0)
80
82
  rake (13.0.6)
81
83
  regexp_parser (2.1.1)
@@ -114,7 +116,7 @@ GEM
114
116
  nokogiri (>= 1.8.1)
115
117
  nori (~> 2.4)
116
118
  wasabi (~> 3.4)
117
- timeout (0.4.0)
119
+ timeout (0.4.1)
118
120
  tzinfo (2.0.6)
119
121
  concurrent-ruby (~> 1.0)
120
122
  unicode-display_width (1.8.0)
@@ -126,9 +128,10 @@ GEM
126
128
  addressable (>= 2.8.0)
127
129
  crack (>= 0.3.2)
128
130
  hashdiff (>= 0.4.0, < 2.0.0)
129
- zeitwerk (2.6.11)
131
+ zeitwerk (2.6.13)
130
132
 
131
133
  PLATFORMS
134
+ ruby
132
135
  x86_64-linux
133
136
 
134
137
  DEPENDENCIES
@@ -92,7 +92,7 @@ module Deliveries
92
92
  <strCodPais>#{receiver.country}</strCodPais>
93
93
  <intDoc>0</intDoc>
94
94
  <intPaq>#{parcels}</intPaq>
95
- <dPesoOri>0</dPesoOri>
95
+ <dPesoOri>1</dPesoOri>
96
96
  <dAltoOri>0</dAltoOri>
97
97
  <dAnchoOri>0</dAnchoOri>
98
98
  <dLargoOri>0</dLargoOri>
@@ -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.4'
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.4
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-12-05 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: activesupport