zaikio-procurement 2.1.1 → 2.1.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: 9801ec4f74a47abc8bf08a21be94d5a46604a64d9e695966bf8a3d477e863b47
4
- data.tar.gz: f575819922ae1b608395f1e2ef0d7bb0c2f809fd9fb0cdbe3580de82c0acd55d
3
+ metadata.gz: 0c698d8e528f23facf092f4bf7ece77699ac57ca51d2987e26ce38e5f98b8a1e
4
+ data.tar.gz: 453c48a1ea66df762187c7a66d915c6605c131bdcf35e5e3bb4554a52f1af763
5
5
  SHA512:
6
- metadata.gz: 91cb81d7e99d9d2f65b78b49d509eea1d561ef06f2611ea46af91565d131690d99ff13b7264cab982dad9e2fd764b8ff41da2128c33e4c474488e6699765b626
7
- data.tar.gz: a8311d1754d9c5b11dd8163e628a48177fdcfd43d04249fa52da5dc273aaea90c7f7284900d471c4bb1ef58db0e589e522ddb14a309bbf5eaac13a215476e7bf
6
+ metadata.gz: 9f9615de2a6c7b3af97a6551d25a203ef201de768879192795eb8979f17b5a649fc64403c5c607ffa128306db890fd2d318fd7581fd56c073b9ac427b4ef8000
7
+ data.tar.gz: 357c4dee783b25d5b3aa2dcf0dbe401774d939c17e47a6305bed9a26d051b9a800875ce67228ec1d99f4be528ab96f3a19be0d1373080c98a1c600a0fe0d84aa
@@ -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
@@ -7,9 +7,16 @@ module Zaikio
7
7
  def self.types
8
8
  %w[carbonless_copy_paper coating coating_plate envelope ink laminating_foil
9
9
  offset_printing_blanket plate ring_binding self_adhesive sheet_substrate
10
- sleeking_foil specialized_printing_blanket web_substrate].freeze
10
+ sleeking_foil specialized_printing_blanket web_substrate paper_proofing
11
+ paper_sheetfed paper_webfed].freeze
11
12
  end
12
13
 
14
+ # Attributes
15
+ attributes :type, :summary, :global_trade_item_number, :brightness, :category, :color,
16
+ :dimensions_unit, :form, :grain, :height, :optical_brightness_agent,
17
+ :optical_brightness_agent_amount, :paper_weight, :paper_weight_unit, :roughness,
18
+ :thickness, :transparency, :white_point_m0, :white_point_m1, :whiteness, :width
19
+
13
20
  # Associations
14
21
  has_one :article, class_name: "Zaikio::Procurement::Article",
15
22
  uri: nil
@@ -1,5 +1,5 @@
1
1
  module Zaikio
2
2
  module Procurement
3
- VERSION = "2.1.1".freeze
3
+ VERSION = "2.1.3".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.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: 2022-09-09 00:00:00.000000000 Z
12
+ date: 2022-12-02 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: concurrent-ruby