deliveries 0.3.0 → 0.3.2

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: bb252635f57203e34b0d593df80f4fc0aa033ebfb70675f646cf192fc946a647
4
- data.tar.gz: 6e232ea5c543aaeaf298e618f2f97b7192b04b6de72f45de3204b1f2f4ab1d3f
3
+ metadata.gz: b81282b682e4b3ff62068d9d6eebc5c83224e8c37be4897e3326422f46ea2233
4
+ data.tar.gz: d9f151ffe9b195af67f34cd3b1ce922b695ba5c19f3b3f7fcfa8629e47052db5
5
5
  SHA512:
6
- metadata.gz: 75e7cd7e1b1380f0b889d91515e7f356f5847b24106e98487c4b2cc1b1a907da87dfee8c184f29d7c6ffb6c9d89398b06d3ab30a67ee8535330a2263ff989a58
7
- data.tar.gz: f09ac1de09045873b6a8e0f91d31e011f7b7a232c4924d6b391f9b87b99d40dc62d1d0923b00c8fd96138df8dccda169f80669f259664d974dca47a8952dbb77
6
+ metadata.gz: 6270940ee403aa5ccda7ed7f4e9a21bdfd0fc41e70054bd4ab2f7e5966c877c54ab978d0f225f09b46f4a21b834468db9ef04acc54756be2922ba07224076004
7
+ data.tar.gz: 676f1093e67b4d2e64bc270e33ab86f20c4bb0b9c59c09f053faca7899dfd47020dfd515ba6c18b8b31716e53667a05474b197258ff7c542c70ad48371bbd678
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.2] - 2023-09-14
10
+ ### Fixed
11
+ - Add follow_redirect to MondialRelay module API call
12
+
13
+ ## [0.3.1] - 2023-01-13
14
+ ### Fixed
15
+ - Inpost week hours
16
+
9
17
  ## [0.3.0] - 2021-11-26
10
18
  ### Added
11
19
  - Envialia courier integration
@@ -25,7 +33,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
25
33
  ## [0.1.0] - 2021-09-27
26
34
  🎉 First release!
27
35
 
28
- [Unreleased]: https://github.com/ecommerce-ventures/deliveries/compare/v0.3.0...HEAD
36
+ [Unreleased]: https://github.com/ecommerce-ventures/deliveries/compare/v0.3.2...HEAD
37
+ [0.3.2]: https://github.com/ecommerce-ventures/deliveries/compare/v0.3.1...v0.3.2
38
+ [0.3.1]: https://github.com/ecommerce-ventures/deliveries/compare/v0.3.0...v0.3.1
29
39
  [0.3.0]: https://github.com/ecommerce-ventures/deliveries/compare/v0.2.1...v0.3.0
30
40
  [0.2.1]: https://github.com/ecommerce-ventures/deliveries/compare/v0.2.0...v0.2.1
31
41
  [0.2.0]: https://github.com/ecommerce-ventures/deliveries/compare/v0.1.1...v0.2.0
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- deliveries (0.3.0)
4
+ deliveries (0.3.2)
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.4.1)
15
+ activesupport (6.1.7.6)
16
16
  concurrent-ruby (~> 1.0, >= 1.0.2)
17
17
  i18n (>= 1.6, < 2)
18
18
  minitest (>= 5.1)
@@ -27,40 +27,55 @@ GEM
27
27
  builder (3.2.4)
28
28
  byebug (11.1.3)
29
29
  cmdparse (3.0.7)
30
- concurrent-ruby (1.1.9)
30
+ concurrent-ruby (1.2.2)
31
31
  crack (0.4.5)
32
32
  rexml
33
+ date (3.3.3)
33
34
  diff-lcs (1.4.4)
34
- geom2d (0.3.1)
35
- gyoku (1.3.1)
35
+ geom2d (0.4.1)
36
+ gyoku (1.4.0)
36
37
  builder (>= 2.1.2)
38
+ rexml (~> 3.0)
37
39
  hashdiff (1.0.1)
38
- hexapdf (0.19.0)
40
+ hexapdf (0.33.0)
39
41
  cmdparse (~> 3.0, >= 3.0.3)
40
- geom2d (~> 0.3)
41
- httparty (0.20.0)
42
- mime-types (~> 3.0)
42
+ geom2d (~> 0.4, >= 0.4.1)
43
+ openssl (>= 2.2.1)
44
+ httparty (0.21.0)
45
+ mini_mime (>= 1.0.0)
43
46
  multi_xml (>= 0.5.2)
44
- httpi (2.5.0)
47
+ httpi (3.0.1)
45
48
  rack
46
- socksify
47
- i18n (1.8.11)
49
+ i18n (1.14.1)
48
50
  concurrent-ruby (~> 1.0)
49
- mime-types (3.4.1)
50
- mime-types-data (~> 3.2015)
51
- mime-types-data (3.2021.1115)
52
- mini_magick (4.11.0)
53
- minitest (5.14.4)
51
+ mail (2.8.1)
52
+ mini_mime (>= 0.1.1)
53
+ net-imap
54
+ net-pop
55
+ net-smtp
56
+ mini_magick (4.12.0)
57
+ mini_mime (1.1.5)
58
+ minitest (5.20.0)
54
59
  multi_xml (0.6.0)
55
- nokogiri (1.12.5-x86_64-linux)
60
+ net-imap (0.3.7)
61
+ date
62
+ net-protocol
63
+ net-pop (0.1.2)
64
+ net-protocol
65
+ net-protocol (0.2.1)
66
+ timeout
67
+ net-smtp (0.3.3)
68
+ net-protocol
69
+ nokogiri (1.13.10-x86_64-linux)
56
70
  racc (~> 1.4)
57
71
  nori (2.6.0)
72
+ openssl (3.1.0)
58
73
  parallel (1.21.0)
59
74
  parser (3.0.2.0)
60
75
  ast (~> 2.4.1)
61
76
  public_suffix (4.0.6)
62
- racc (1.6.0)
63
- rack (2.2.3)
77
+ racc (1.7.1)
78
+ rack (3.0.8)
64
79
  rainbow (3.0.0)
65
80
  rake (13.0.6)
66
81
  regexp_parser (2.1.1)
@@ -90,27 +105,28 @@ GEM
90
105
  rubocop-ast (1.12.0)
91
106
  parser (>= 3.0.1.1)
92
107
  ruby-progressbar (1.11.0)
93
- savon (2.12.1)
108
+ savon (2.13.0)
94
109
  akami (~> 1.2)
95
110
  builder (>= 2.1.2)
96
111
  gyoku (~> 1.2)
97
- httpi (~> 2.3)
112
+ httpi (>= 2.4.5)
113
+ mail (~> 2.5)
98
114
  nokogiri (>= 1.8.1)
99
115
  nori (~> 2.4)
100
116
  wasabi (~> 3.4)
101
- socksify (1.7.1)
102
- tzinfo (2.0.4)
117
+ timeout (0.4.0)
118
+ tzinfo (2.0.6)
103
119
  concurrent-ruby (~> 1.0)
104
120
  unicode-display_width (1.8.0)
105
- wasabi (3.6.1)
121
+ wasabi (3.8.0)
106
122
  addressable
107
- httpi (~> 2.0)
123
+ httpi (~> 3.0)
108
124
  nokogiri (>= 1.4.2)
109
- webmock (3.14.0)
125
+ webmock (3.19.1)
110
126
  addressable (>= 2.8.0)
111
127
  crack (>= 0.3.2)
112
128
  hashdiff (>= 0.4.0, < 2.0.0)
113
- zeitwerk (2.5.1)
129
+ zeitwerk (2.6.11)
114
130
 
115
131
  PLATFORMS
116
132
  x86_64-linux
@@ -71,7 +71,7 @@ module Deliveries
71
71
  week_hours = get_week_hours_from_result(result)
72
72
  week_hours.each do |i, times|
73
73
  timetable[i] = []
74
- if times[0] == '0000'
74
+ if times[0] == '0000' && times[1] == '0000'
75
75
  timetable[i] << nil
76
76
  else
77
77
  timetable[i] << formatted_slot(open: times[0], close: times[1])
@@ -25,9 +25,12 @@ module Deliveries
25
25
  module_function
26
26
 
27
27
  def api_client
28
- Savon.client wsdl: WSDL_ENDPOINT,
29
- logger: Deliveries.logger,
30
- log: Deliveries.debug
28
+ Savon.client(
29
+ wsdl: WSDL_ENDPOINT,
30
+ logger: Deliveries.logger,
31
+ log: Deliveries.debug,
32
+ follow_redirects: true
33
+ )
31
34
  end
32
35
 
33
36
  def get_collection_points(country:, postcode:)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Deliveries
4
- VERSION = '0.3.0'
4
+ VERSION = '0.3.2'
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.0
4
+ version: 0.3.2
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: 2021-11-26 00:00:00.000000000 Z
14
+ date: 2023-09-14 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.2.22
245
+ rubygems_version: 3.1.6
246
246
  signing_key:
247
247
  specification_version: 4
248
248
  summary: Library to abstract multiple courier web services.