zaikio-warehouse 0.2.0 → 0.2.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: '08efd2961bb82ad548a2c1726bb9d1c83a80c0ee1ef01f4ccfafa145616206af'
4
- data.tar.gz: 04311e0db411614128b857c5beab4ffd162e0815451895a26f257cd7d92caef4
3
+ metadata.gz: 52d32a256aed17d3e92a936de6927757cd94ca28f8f8be50d3a9e33897112b92
4
+ data.tar.gz: 04d573452964227c0d120b69ba92f60f43c6fa78ce15d79da136e1dbad14139b
5
5
  SHA512:
6
- metadata.gz: 2d5c5a056d3ffeb1ce97cf8b874e4e4d9f0ffd77ba15eb94d2e09f515bb275589e785664409730a705d919d8c34ad498090fc4d90a0b040aff80bd6f44f9a9d2
7
- data.tar.gz: 4c281c51a05fdfae8a3b1e4a1f6c5bdbf167bd4d15a615ecf91b911ef4e80a4dcdea10a15b28a128770d937b14d835f811e5fb83e7c3731a2bca9a3cc23db892
6
+ metadata.gz: 218fd3f076cad1e85c185a0c909e6d9c8cec1e831a0cd7e839844326004a5858e23ac70a5487bb54fed89bb0f5c5fca2ade3301561996923065711847aacb96d
7
+ data.tar.gz: '044525588fddeda857034a709c434a614f962b3ceeaf42ba5db7b46b91dbab4b2035ece696a180ce101586f9d50d96b6c2c408ca1ee0a6a46fd496f429826ecf'
data/CHANGELOG.md CHANGED
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.2.1] - 2023-02-16
11
+
12
+ - Add endpoint to `#consumption_requests` assocation for `MaterialReservationFulfillment`
13
+
10
14
  ## [0.2.0] - 2023-02-15
11
15
 
12
16
  - Add `opening_balance` to `Deposit`
@@ -22,6 +26,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
22
26
  - Update and reuse `zaikio-client-helpers` logic to support `Zaikio::Client.with_token`
23
27
  - Initial release
24
28
 
25
- [Unreleased]: https://github.com/zaikio/zaikio-warehouse-ruby/compare/v0.2.0..HEAD
29
+ [Unreleased]: https://github.com/zaikio/zaikio-warehouse-ruby/compare/v0.2.1..HEAD
30
+ [0.2.1]: https://github.com/zaikio/zaikio-warehouse-ruby/compare/v0.2.0..v0.2.1
26
31
  [0.2.0]: https://github.com/zaikio/zaikio-warehouse-ruby/compare/v0.1.0..v0.2.0
27
32
  [0.1.0]: https://github.com/zaikio/zaikio-hub-models/compare/c96ae1302a6ec5b90cfc445116fc83af16579e01..v0.1.0
@@ -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.1"
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.1
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-02-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport