zaikio-procurement 2.1.1 → 2.1.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: 9801ec4f74a47abc8bf08a21be94d5a46604a64d9e695966bf8a3d477e863b47
4
- data.tar.gz: f575819922ae1b608395f1e2ef0d7bb0c2f809fd9fb0cdbe3580de82c0acd55d
3
+ metadata.gz: 04f6172910b9cfece842db08006b3e020d4de614c940585f74db84c24280e7d1
4
+ data.tar.gz: 42e2c9fc11f422ca0b0c57dbb1c5dacde30cacf969ac352dbb472c7818cbb67f
5
5
  SHA512:
6
- metadata.gz: 91cb81d7e99d9d2f65b78b49d509eea1d561ef06f2611ea46af91565d131690d99ff13b7264cab982dad9e2fd764b8ff41da2128c33e4c474488e6699765b626
7
- data.tar.gz: a8311d1754d9c5b11dd8163e628a48177fdcfd43d04249fa52da5dc273aaea90c7f7284900d471c4bb1ef58db0e589e522ddb14a309bbf5eaac13a215476e7bf
6
+ metadata.gz: '04521909e30e7a25ebc1082a0694047a671559b764b75c22844f34c74f9a1264aa59d6afa11be80f8f2459deb2231cec2877dc13b2f61bfa26ed59d198abd4ff'
7
+ data.tar.gz: fd6a863c8938b79b50aee6c5f395f3a0e60f4cb9de6cf39fe6435510f54af6cb645e01ffb13b5a20d853d3b09c9d0b5bafec7d292cc91e1834434cd0e85982c3
@@ -1,6 +1,11 @@
1
1
  module Zaikio
2
2
  module Procurement
3
3
  class Article < Base
4
+ # Attributes
5
+ attributes :base_unit, :description, :manufacturer, :name,
6
+ :summary, :classification_reports, :certifications,
7
+ :coated, :finish, :kind
8
+
4
9
  # Associations
5
10
  has_one :supplier, class_name: "Zaikio::Procurement::Supplier",
6
11
  uri: nil
@@ -1,6 +1,10 @@
1
1
  module Zaikio
2
2
  module Procurement
3
3
  class Sku < Base
4
+ # Attributes
5
+ attributes :amount, :amount_in_base_unit, :environmental_certification,
6
+ :order_number, :palletized, :unit
7
+
4
8
  # Associations
5
9
  has_many :suppliers, class_name: "Zaikio::Procurement::Supplier",
6
10
  uri: nil
@@ -10,6 +10,12 @@ module Zaikio
10
10
  sleeking_foil specialized_printing_blanket web_substrate].freeze
11
11
  end
12
12
 
13
+ # Attributes
14
+ attributes :type, :summary, :global_trade_item_number, :brightness, :category, :color,
15
+ :dimensions_unit, :form, :grain, :height, :optical_brightness_agent,
16
+ :optical_brightness_agent_amount, :paper_weight, :paper_weight_unit, :roughness,
17
+ :thickness, :transparency, :white_point_m0, :white_point_m1, :whiteness, :width
18
+
13
19
  # Associations
14
20
  has_one :article, class_name: "Zaikio::Procurement::Article",
15
21
  uri: nil
@@ -1,5 +1,5 @@
1
1
  module Zaikio
2
2
  module Procurement
3
- VERSION = "2.1.1".freeze
3
+ VERSION = "2.1.2".freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zaikio-procurement
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.1
4
+ version: 2.1.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: 2022-09-09 00:00:00.000000000 Z
12
+ date: 2022-11-08 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: concurrent-ruby