physical 0.5.0 → 0.5.1

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: 03d9eb10ac73675e3aa2bac745e7a6d8a30f4b9c0c6cb810d4dac0235d0cc55f
4
- data.tar.gz: ed902ddd5a9349009a43d0a883a5526f7097d759e742c6ff43b8baf904765f63
3
+ metadata.gz: 27de598d29f3754f4a2f4676208da48ba8d83b4e59662c5bd267dffb3ccdee58
4
+ data.tar.gz: 38cc5da575f4e56cf001370aaea5fd906b82373f75fa6880d804fa20e1b828b9
5
5
  SHA512:
6
- metadata.gz: 52d08252ebda560e9abf682eb011c5e2281afbf0c3eead4acc650b9af8714555f465ffc9c613318eb2bed9e86caf72edddde1ad8edb5f26aea2233b7ebc38b96
7
- data.tar.gz: cfdb971e4bdf9d1ce7c830b8f6da93614e630251ca7307f91baddf05353f43e1c1ef51aa84dc3db505ffb8221bf7fde68ee1e6348462e4fd9cacc9c820c2efb8
6
+ metadata.gz: 9f80884f5e7333d29be10b70e27e683865e0a0ac1f43cfbb464d13008a482ea57932ccbd963599f3412563b556d535de54c43ab21ffb7b8ad0bac2d859895e26
7
+ data.tar.gz: abfb28ea0aa1fa6fdcfb8e4b31e7b5412d743a45edc4c22cd71d1b8146cdac741b5da69f362a573ac34985628e208e92c8c442a7de7aaf4e615f4ea6398e404e
data/CHANGELOG.md CHANGED
@@ -6,6 +6,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
6
6
 
7
7
  ## Unreleased
8
8
 
9
+ ## [0.5.1] - 2023-12-19
10
+
11
+ ### Changed
12
+ - Better pallet deprecations [#32]
13
+
9
14
  ## [0.5.0] - 2023-12-19
10
15
 
11
16
  ### Added
@@ -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) }
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Physical
4
- VERSION = "0.5.0"
4
+ VERSION = "0.5.1"
5
5
  end
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.0
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-19 00:00:00.000000000 Z
11
+ date: 2023-12-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: carmen