smartsend-ruby 0.2.2 → 0.3
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 +4 -4
- data/lib/smartsend/shipment.rb +1 -1
- data/lib/smartsend/version.rb +1 -1
- data/test/test_shipment.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bd44755c68468afb9cd1f69b71dcb6e58d165bae78139372fe7e4bf973a48b0c
|
4
|
+
data.tar.gz: 13470b8e487cb9987ebb04d736bbea860999ecf1835afa8b04c606ad0c3dc2f6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 04170b4f36833aa17340d47066238b12e5203b95a0ade34d801706ee34d0e528b4622df2d312326e4dd565a87f1163585475d60be5465abd887fb56b3972ef7b
|
7
|
+
data.tar.gz: '08f8ba3a9f05d1bb74dacdb24bb913643e6679ee518613092cee91fd8fc3fed96c6af345a3236dc28fd4be96293f416e0274fa0c9bd4e96ad3e3718a0919219b'
|
data/lib/smartsend/shipment.rb
CHANGED
data/lib/smartsend/version.rb
CHANGED
data/test/test_shipment.rb
CHANGED
@@ -111,7 +111,7 @@ class ShipmentTest < Minitest::Test
|
|
111
111
|
shipment.parcels << parcel2
|
112
112
|
|
113
113
|
# send the shipment to Smartsend.io
|
114
|
-
shipment.
|
114
|
+
shipment.save_and_create_label!
|
115
115
|
|
116
116
|
assert shipment.success?
|
117
117
|
|
@@ -213,7 +213,7 @@ class ShipmentTest < Minitest::Test
|
|
213
213
|
shipment.parcels << parcel
|
214
214
|
|
215
215
|
# send the shipment to Smartsend.io
|
216
|
-
shipment.
|
216
|
+
shipment.save_and_create_label!
|
217
217
|
|
218
218
|
assert !shipment.success?
|
219
219
|
assert_equal 5, shipment.error.errors.count
|