zaikio-warehouse 0.2.1 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 52d32a256aed17d3e92a936de6927757cd94ca28f8f8be50d3a9e33897112b92
4
- data.tar.gz: 04d573452964227c0d120b69ba92f60f43c6fa78ce15d79da136e1dbad14139b
3
+ metadata.gz: 875d5cf17ce81095769341f2f64af5dd5bbbe69f5f7d4fa296db221075d2a5e1
4
+ data.tar.gz: e31637728832e4fce034a0e675e27b4d81c8195471c4b44fca6c98a38ec4f0e9
5
5
  SHA512:
6
- metadata.gz: 218fd3f076cad1e85c185a0c909e6d9c8cec1e831a0cd7e839844326004a5858e23ac70a5487bb54fed89bb0f5c5fca2ade3301561996923065711847aacb96d
7
- data.tar.gz: '044525588fddeda857034a709c434a614f962b3ceeaf42ba5db7b46b91dbab4b2035ece696a180ce101586f9d50d96b6c2c408ca1ee0a6a46fd496f429826ecf'
6
+ metadata.gz: 8f77cd1cda6f4e0419349781bdd3d59d8ea0f901ea80999fc72d31e5436b8093eb32b48415e44ec032191148eb887917835aa21d52f6f86244179c7ba3e812fe
7
+ data.tar.gz: f6e4e665ecbb961105a6800e01fda5a1bf1d0fee9e7ba53ec89f64c03396eef8783997f862814ca9e7813cfb21ee05c9c46407be37f202d13db547facf69a868
data/CHANGELOG.md CHANGED
@@ -7,9 +7,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.2.3] - 2023-03-20
11
+
12
+ - Add an optional `person_id` attribute for `MaterialReservationCancelation`
13
+
14
+ ## [0.2.2] - 2023-03-16
15
+
16
+ - Add endpoint to `#material_requests` association for `Material`
17
+
10
18
  ## [0.2.1] - 2023-02-16
11
19
 
12
- - Add endpoint to `#consumption_requests` assocation for `MaterialReservationFulfillment`
20
+ - Add endpoint to `#consumption_requests` association for `MaterialReservationFulfillment`
13
21
 
14
22
  ## [0.2.0] - 2023-02-15
15
23
 
@@ -26,7 +34,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
26
34
  - Update and reuse `zaikio-client-helpers` logic to support `Zaikio::Client.with_token`
27
35
  - Initial release
28
36
 
29
- [Unreleased]: https://github.com/zaikio/zaikio-warehouse-ruby/compare/v0.2.1..HEAD
37
+ [Unreleased]: https://github.com/zaikio/zaikio-warehouse-ruby/compare/v0.2.3..HEAD
38
+ [0.2.3]: https://github.com/zaikio/zaikio-warehouse-ruby/compare/v0.2.2..v0.2.3
39
+ [0.2.2]: https://github.com/zaikio/zaikio-warehouse-ruby/compare/v0.2.1..v0.2.2
30
40
  [0.2.1]: https://github.com/zaikio/zaikio-warehouse-ruby/compare/v0.2.0..v0.2.1
31
41
  [0.2.0]: https://github.com/zaikio/zaikio-warehouse-ruby/compare/v0.1.0..v0.2.0
32
42
  [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
@@ -9,7 +9,7 @@ module Zaikio
9
9
  uri "material_reservation_cancelations(/:id)"
10
10
 
11
11
  attributes :material_reservation_id, :cancelation_reference, :cancelation_reference_link,
12
- :cancelation_client, :cancelation_subject, :amount, :reason, :created_at, :updated_at
12
+ :cancelation_client, :cancelation_subject, :person_id, :amount, :reason, :created_at, :updated_at
13
13
 
14
14
  has_one :material, uri: nil, class_name: "Zaikio::Warehouse::Material"
15
15
  has_one :warehouse, uri: nil, class_name: "Zaikio::Warehouse::Warehouse"
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Zaikio
4
4
  module Warehouse
5
- VERSION = "0.2.1"
5
+ VERSION = "0.2.3"
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.1
4
+ version: 0.2.3
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-16 00:00:00.000000000 Z
12
+ date: 2023-03-20 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport