colissimo_label 0.16.0 → 0.17.0

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: c66bd1f3e7fd14f452e096ec6dfdfe3f8818939a43b577c899a011c12bdf6b8b
4
- data.tar.gz: 37708156fdaecc9ffe79f3aa991a75ab3d688cfb8c692048e9944966d94b9112
3
+ metadata.gz: b0418c3a7ede6f7d791adabea6b53e62aaf802d79158ba341ef237e16fdf05a2
4
+ data.tar.gz: 4963bb501b435a6a57cb75f9012c99b8b2751aa4637fc6a6e4cb77d8c2a56691
5
5
  SHA512:
6
- metadata.gz: c4239b31017b0deba9d4ad955f3fb7b42c2a01dbaaf592335f525e457059cd85b8ff4e1729712a2680e0bcabf260409a00291c9b581ac18b9ab67d792598f21b
7
- data.tar.gz: '08f1e4e868e6f238b25b3cf60da9b7aa027eb2a38b61d7b51a7750cbff7721a27441e5657442bec3cbec25528b3a83eafb035689dbe980ba3795de11b40bcd90'
6
+ metadata.gz: 27537e4c5f176cec0495a824252cf0d63d7a31c033ea3f9ba5f1bf7caf641fcec0a6f218ad2377ae2ff3698a00653e56ddad9d2bc04f4298b9c22ccabd0ad030
7
+ data.tar.gz: 917e2721f7d594cc9d3ff995b0260bb454122138a3787dff7ef268b2911ec10ff130f82a2db725a1507a5cdafc7610657b21893361a6cccab3a0a7c61d96b4b3
@@ -1,3 +1,7 @@
1
+ ## 0.17.0
2
+
3
+ - Add Sweden to mandatory signature countries
4
+
1
5
  ## 0.16.0
2
6
 
3
7
  - Use correct default value for insurance
@@ -214,7 +214,7 @@ class ColissimoLabel::GenerateLabel
214
214
  # BPR : Colissimo - Point Retrait – en Bureau de Poste
215
215
  # A2P : Colissimo - Point Retrait – en relais Pickup ou en consigne Pickup Station
216
216
  def product_code
217
- if %w[DE IT ES GB LU NL DK AT].include?(@destination_country)
217
+ if %w[DE IT ES GB LU NL DK AT SE].include?(@destination_country)
218
218
  'DOS'
219
219
  elsif !@pickup_id.nil? && %w[FR].include?(@destination_country)
220
220
  @pickup_type || 'BPR'
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ColissimoLabel
4
- VERSION = '0.16.0'.freeze
4
+ VERSION = '0.17.0'.freeze
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: colissimo_label
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.16.0
4
+ version: 0.17.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - FloXcoder
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-08-07 00:00:00.000000000 Z
11
+ date: 2020-10-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rack