physical 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/physical/shipment.rb +1 -4
- data/lib/physical/spec_support/factories/shipment_factory.rb +0 -1
- data/lib/physical/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 27de598d29f3754f4a2f4676208da48ba8d83b4e59662c5bd267dffb3ccdee58
|
4
|
+
data.tar.gz: 38cc5da575f4e56cf001370aaea5fd906b82373f75fa6880d804fa20e1b828b9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9f80884f5e7333d29be10b70e27e683865e0a0ac1f43cfbb464d13008a482ea57932ccbd963599f3412563b556d535de54c43ab21ffb7b8ad0bac2d859895e26
|
7
|
+
data.tar.gz: abfb28ea0aa1fa6fdcfb8e4b31e7b5412d743a45edc4c22cd71d1b8146cdac741b5da69f362a573ac34985628e208e92c8c442a7de7aaf4e615f4ea6398e404e
|
data/CHANGELOG.md
CHANGED
data/lib/physical/shipment.rb
CHANGED
@@ -19,11 +19,8 @@ module Physical
|
|
19
19
|
@structures = structures
|
20
20
|
@packages = packages
|
21
21
|
@options = options
|
22
|
-
|
23
|
-
return unless pallets.any?
|
24
|
-
|
25
|
-
warn "[DEPRECATION] `pallets` is deprecated. Please use `structures` instead."
|
26
22
|
@pallets = pallets
|
23
|
+
warn "[DEPRECATION] `pallets` is deprecated. Please use `structures` instead." if pallets.any?
|
27
24
|
end
|
28
25
|
end
|
29
26
|
end
|
@@ -4,7 +4,6 @@ FactoryBot.define do
|
|
4
4
|
factory :physical_shipment, class: "Physical::Shipment" do
|
5
5
|
origin { FactoryBot.build(:physical_location) }
|
6
6
|
destination { FactoryBot.build(:physical_location) }
|
7
|
-
pallets { build_list(:physical_pallet, 1) } # deprecated, will be removed
|
8
7
|
packages { build_list(:physical_package, 2) }
|
9
8
|
service_code { "usps_priority_mail" }
|
10
9
|
initialize_with { new(**attributes) }
|
data/lib/physical/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: physical
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Martin Meyerhoff
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-12-
|
11
|
+
date: 2023-12-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: carmen
|