colissimo_label 0.7.0 → 0.8.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: f8f8a20a327418dfe312470af34a34eb7d696ff7b1b70b09730551dae5d7c196
4
- data.tar.gz: e5f1f5ddc8e585af429daaad47127140e1a6ba84fc1d17993c1149ddbe669580
3
+ metadata.gz: 19ad10e183d13f23efe72374d88ed68113302c5191e31c247f8529df552b26ff
4
+ data.tar.gz: d8cc68b2a530800f79f0392a535f3e5d766e159fbcfd1da71068618d50485da3
5
5
  SHA512:
6
- metadata.gz: bd7786f6db79f6c3ab98e628c24c9b5f58158b40b3340a3681cb059a4e61a0876fcab0f0f7761bec40a088a3c684e07a7f637a67fc8879a64f8f459e2921872a
7
- data.tar.gz: 11f967dc681137202a478d1692bca789f9fca43e9b7d201f65cf240adbeaaaf68514473c8aceebbded2d3cbc99d669a0b9b89f55456dafb11540842b4f80f4b2
6
+ metadata.gz: 0f109e80eec7b11ca2ba7e427122f105f6f571326af87ecf631e2e582c739dbabf5bba761e910ae2dc88fb7e68fa767b6980a9c4d99b758e883c41f392048ed7
7
+ data.tar.gz: 4311e0ea16b8918819b5cf6bdc98a18cf0b0295ba5d8eeb6362ea7620391d4205399a443945646b20befb21b0eb1cd5d988e49253dc2813bb0e04f0453871c01
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 0.8.0
2
+
3
+ - Add Spain to mandatory signature countries
4
+
1
5
  ## 0.7.0
2
6
 
3
7
  - Ensure message response is present
@@ -191,7 +191,7 @@ class ColissimoLabel::GenerateLabel
191
191
  # BPR : Colissimo - Point Retrait – en Bureau de Poste
192
192
  # A2P : Colissimo - Point Retrait – en relais Pickup ou en consigne Pickup Station
193
193
  def product_code
194
- if %w[DE IT GB LU].include?(@destination_country)
194
+ if %w[DE IT ES GB LU].include?(@destination_country)
195
195
  'DOS'
196
196
  elsif !@pickup_id.nil? && %w[FR].include?(@destination_country)
197
197
  @pickup_type || 'BPR'
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ColissimoLabel
4
- VERSION = '0.7.0'.freeze
4
+ VERSION = '0.8.0'.freeze
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: colissimo_label
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - FloXcoder