colissimo_label 0.15.0 → 0.16.0

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: 8a6695bec2480207d3e9479703468a8252941b2598944ac67b105330f9c7366a
4
- data.tar.gz: e28880586b4cef27762d685a8774d800cc8e1b85f07ca4ec2f07532b7a5c3dd6
3
+ metadata.gz: c66bd1f3e7fd14f452e096ec6dfdfe3f8818939a43b577c899a011c12bdf6b8b
4
+ data.tar.gz: 37708156fdaecc9ffe79f3aa991a75ab3d688cfb8c692048e9944966d94b9112
5
5
  SHA512:
6
- metadata.gz: a2dde7499384b99d861bdf13dd98909fdbb3385e0412bbfab0241096eabd070cbc9eb33d786c4c6e5793ab36bfe3b9433ae4eb74612421871823cee9448aa12d
7
- data.tar.gz: 03dadf09a8be60b8c7da502d1da1363d5bc1aae17ecad0aede37e2d0bc573d7fc069296770f3b01b2e6655d2284588cb38837ffa91badd95c2e0a3975cac86bc
6
+ metadata.gz: c4239b31017b0deba9d4ad955f3fb7b42c2a01dbaaf592335f525e457059cd85b8ff4e1729712a2680e0bcabf260409a00291c9b581ac18b9ab67d792598f21b
7
+ data.tar.gz: '08f1e4e868e6f238b25b3cf60da9b7aa027eb2a38b61d7b51a7750cbff7721a27441e5657442bec3cbec25528b3a83eafb035689dbe980ba3795de11b40bcd90'
@@ -1,3 +1,7 @@
1
+ ## 0.16.0
2
+
3
+ - Use correct default value for insurance
4
+
1
5
  ## 0.15.0
2
6
 
3
7
  - Comment insurance value
@@ -16,7 +16,7 @@ class ColissimoLabel::GenerateLabel
16
16
  @customs_total_weight = options.fetch(:customs_total_weight, nil)
17
17
  @customs_data = options.fetch(:customs_data, nil)
18
18
  @with_signature = options.fetch(:with_signature, false)
19
- @insurance_value = options.fetch(:insurance_value, false)
19
+ @insurance_value = options.fetch(:insurance_value, nil)
20
20
  @label_output_format = options.fetch(:label_output_format, 'PDF_10x15_300dpi')
21
21
  @errors = []
22
22
  end
@@ -90,7 +90,7 @@ class ColissimoLabel::GenerateLabel
90
90
  "parcel": {
91
91
  "weight": format_weight,
92
92
  "pickupLocationId": @pickup_id,
93
- # "insuranceValue": @insurance_value
93
+ "insuranceValue": @insurance_value
94
94
  }.compact,
95
95
  "sender": {
96
96
  "address": format_sender
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ColissimoLabel
4
- VERSION = '0.15.0'.freeze
4
+ VERSION = '0.16.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.15.0
4
+ version: 0.16.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - FloXcoder