zaikio-warehouse 0.2.0 → 0.2.2

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: '08efd2961bb82ad548a2c1726bb9d1c83a80c0ee1ef01f4ccfafa145616206af'
4
- data.tar.gz: 04311e0db411614128b857c5beab4ffd162e0815451895a26f257cd7d92caef4
3
+ metadata.gz: 84d3b3d618cda393f386f9839345d2b428a94a704a0dafa4d22aacb25fe7a064
4
+ data.tar.gz: 1ff3543a8c05517cbfbe94eb54425c78240b24379fbe4a004db6cb8942724138
5
5
  SHA512:
6
- metadata.gz: 2d5c5a056d3ffeb1ce97cf8b874e4e4d9f0ffd77ba15eb94d2e09f515bb275589e785664409730a705d919d8c34ad498090fc4d90a0b040aff80bd6f44f9a9d2
7
- data.tar.gz: 4c281c51a05fdfae8a3b1e4a1f6c5bdbf167bd4d15a615ecf91b911ef4e80a4dcdea10a15b28a128770d937b14d835f811e5fb83e7c3731a2bca9a3cc23db892
6
+ metadata.gz: 2baf20da780caf3cca93770b1ef48672261304a06d5170c2c9dcdb2d1222d7cb408a200a19d42edc8f4ba3d80750f0040b3a69062ff1323286a46fb614f42720
7
+ data.tar.gz: ff8d7c8b8ca34cc26239195714e6b3de857cc83c58fb6974f74335a97b554f138718439d88e33a8b8b9e584d3d0a3da6a24341dbcf5d3f2fe0f3bc0930dee5a9
data/CHANGELOG.md CHANGED
@@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.2.2] - 2023-03-16
11
+
12
+ - Add endpoint to `#material_requests` association for `Material`
13
+
14
+ ## [0.2.1] - 2023-02-16
15
+
16
+ - Add endpoint to `#consumption_requests` association for `MaterialReservationFulfillment`
17
+
10
18
  ## [0.2.0] - 2023-02-15
11
19
 
12
20
  - Add `opening_balance` to `Deposit`
@@ -22,6 +30,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
22
30
  - Update and reuse `zaikio-client-helpers` logic to support `Zaikio::Client.with_token`
23
31
  - Initial release
24
32
 
25
- [Unreleased]: https://github.com/zaikio/zaikio-warehouse-ruby/compare/v0.2.0..HEAD
33
+ [Unreleased]: https://github.com/zaikio/zaikio-warehouse-ruby/compare/v0.2.1..HEAD
34
+ [0.2.1]: https://github.com/zaikio/zaikio-warehouse-ruby/compare/v0.2.0..v0.2.1
26
35
  [0.2.0]: https://github.com/zaikio/zaikio-warehouse-ruby/compare/v0.1.0..v0.2.0
27
36
  [0.1.0]: https://github.com/zaikio/zaikio-hub-models/compare/c96ae1302a6ec5b90cfc445116fc83af16579e01..v0.1.0
@@ -19,6 +19,9 @@ module Zaikio
19
19
  has_many :manifest_entries,
20
20
  uri: "materials/:material_id/manifest_entries(/:id)",
21
21
  class_name: "Zaikio::Warehouse::MaterialManifestEntry"
22
+ has_many :material_reservations,
23
+ uri: "materials/:material_id/material_reservations",
24
+ class_name: "Zaikio::Warehouse::MaterialReservation"
22
25
  end
23
26
  end
24
27
  end
@@ -15,7 +15,9 @@ module Zaikio
15
15
  has_one :warehouse, uri: nil, class_name: "Zaikio::Warehouse::Warehouse"
16
16
  has_one :person, uri: nil, class_name: "Zaikio::Warehouse::Person"
17
17
  has_one :material_reservation, uri: nil, class_name: "Zaikio::Warehouse::MaterialReservation"
18
- has_many :consumption_requests, uri: nil, class_name: "Zaikio::Warehouse::ConsumptionRequest"
18
+ has_many :consumption_requests,
19
+ uri: "material_reservation_fulfillments/:material_reservation_fulfillment_id/consumption_requests",
20
+ class_name: "Zaikio::Warehouse::ConsumptionRequest"
19
21
  end
20
22
  end
21
23
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Zaikio
4
4
  module Warehouse
5
- VERSION = "0.2.0"
5
+ VERSION = "0.2.2"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zaikio-warehouse
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zaikio GmbH
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2023-02-15 00:00:00.000000000 Z
12
+ date: 2023-03-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport