eancom 1.5.6 → 1.5.7

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: 28d0ac841ab2d2b574ec0bc021c80822967d89ce5b1a15ef001ce336c68b9792
4
- data.tar.gz: f79c78ca706ce396af0ebdf305464aa1f3d6118d70a3c7b8d04f71b75977e63f
3
+ metadata.gz: a6528d1683b7871c94ada34d8b29f46827c1fcc9c970855e81190d020cfe435e
4
+ data.tar.gz: c3a8326ce9be33cd202b315fedc82235fff74e9ee1238b05e13008a40ece8f7d
5
5
  SHA512:
6
- metadata.gz: 2fa8099abfc90d8e89504faa5e010084ab09abdaf4986db52c8bd66d14e7cb155d5f609ce744d78c98a9c8f47bb38dc96016f82393f6b001ef9711fcfdcd76cb
7
- data.tar.gz: 12187f1d4f64e62c6d1751dbbe8b70665f0d2752506f9809ca3c24928918ae939c199b06e3e28b324f7165162f0597aa513408ed787b3ffcb919b2d2ce42dc48
6
+ metadata.gz: 719ec7a34fe12a4fc3738d97bb732dd36bc793e965b3e21b85bce5007c0e1f2ee6a4694901faf2a55721980da3058c0374a4be4bd2cd81098968e66be6070902
7
+ data.tar.gz: 2935634f2d295dfbe11b213eee756d7ed6268cd266afebd2717f35b5d29b145cfeacc250745763f185e0d346fe538fe28eddbfd11b36c7db28cb72692b05c868
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- eancom (1.5.5)
4
+ eancom (1.5.6)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -137,4 +137,4 @@ DEPENDENCIES
137
137
  timecop
138
138
 
139
139
  BUNDLED WITH
140
- 2.1.4
140
+ 2.2.22
@@ -255,6 +255,14 @@ data = Eancom::Edifact::Data.new(
255
255
  '42' => {
256
256
  description: 'Confirmation_via_specific_means',
257
257
  identifier: 'confirmation_via_specific_means'
258
+ },
259
+ '46' => {
260
+ description: 'Message content is provisional',
261
+ identifier: 'provisional'
262
+ },
263
+ '47' => {
264
+ description: 'Message content is definitive',
265
+ identifier: 'definitive'
258
266
  }
259
267
  },
260
268
  description: 'Message function code',
@@ -43,6 +43,10 @@ data = Eancom::Edifact::Data.new(
43
43
  '1' => {
44
44
  description: 'Text for subsequent use',
45
45
  identifier: 'text_for_subsequent_use'
46
+ },
47
+ '3' => {
48
+ description: 'Text for immediate use',
49
+ identifier: 'text_for_immediate_use'
46
50
  }
47
51
  },
48
52
  description: "Free Text function code",
@@ -92,6 +96,10 @@ data = Eancom::Edifact::Data.new(
92
96
  '246' => {
93
97
  description: "GS1 Germany",
94
98
  identifier: 'gs1_germany'
99
+ },
100
+ 'ZZZ' => {
101
+ description: 'Mutually defined',
102
+ identifier: 'mutually_defined'
95
103
  }
96
104
  },
97
105
  description: "Code list responsible agency code",
@@ -115,26 +115,34 @@ data = Eancom::Edifact::Data.new(
115
115
  description: 'Discount price',
116
116
  identifier: 'discount_price',
117
117
  },
118
- 'MRP' => {
119
- description: 'Market retail price',
120
- identifier: 'market_retail_price',
118
+ 'EUP' => {
119
+ description: 'Expected unit price',
120
+ identifier: 'expected_unit_price'
121
121
  },
122
122
  'LIU' => {
123
123
  description: 'List price',
124
124
  identifier: 'list_price',
125
125
  },
126
- 'SRP' => {
127
- description: 'Suggested retail price',
128
- identifier: 'suggested_retail_price',
126
+ 'LBL' => {
127
+ description: 'Labelling price',
128
+ identifier: 'labelling_price'
129
129
  },
130
- 'RTP' => {
131
- description: 'Retail price',
132
- identifier: 'retail_price',
130
+ 'MRP' => {
131
+ description: 'Market retail price',
132
+ identifier: 'market_retail_price',
133
133
  },
134
134
  'NTP' => {
135
135
  description: 'Net unit price',
136
136
  identifier: 'net_unit_price',
137
- }
137
+ },
138
+ 'RTP' => {
139
+ description: 'Retail price',
140
+ identifier: 'retail_price',
141
+ },
142
+ 'SRP' => {
143
+ description: 'Suggested retail price',
144
+ identifier: 'suggested_retail_price',
145
+ },
138
146
  },
139
147
  description: 'Price specification code',
140
148
  required: false
@@ -153,7 +161,7 @@ price_information.add(:unit_price_basis_value, data)
153
161
  data = Eancom::Edifact::Data.new(
154
162
  type: String,
155
163
  length: 0..3,
156
- dictionary: {
164
+ dictionary: {
157
165
  'KGM' => {
158
166
  description: 'Kilogram',
159
167
  identifier: 'kilogram',
@@ -40,6 +40,10 @@ data = Eancom::Edifact::Data.new(
40
40
  description: 'Invoiced quantity',
41
41
  identifier: 'invoiced_quantity'
42
42
  },
43
+ '53' => {
44
+ description: 'Minimum order quantity',
45
+ identifier: 'minimum_order_quantity'
46
+ },
43
47
  '59' => {
44
48
  description: 'Numbers of consumer units in the traded unit',
45
49
  identifier: 'numbers_or_consumer_units_in_the_traded_unit'
@@ -49,6 +49,10 @@ data = Eancom::Edifact::Data.new(
49
49
  description: 'Beneficiarys reference',
50
50
  identifier: 'beneficiarys_reference'
51
51
  },
52
+ 'AJS' => {
53
+ description: 'Agreement number',
54
+ identifier: 'agreement_number'
55
+ },
52
56
  'ALL' => {
53
57
  description: 'Message Batch number',
54
58
  identifier: 'message_batch_number'
@@ -137,6 +141,10 @@ data = Eancom::Edifact::Data.new(
137
141
  description: 'VAT registration number',
138
142
  identifier: 'vat_registration_number'
139
143
  },
144
+ 'XB8' => {
145
+ description: 'Agreement number',
146
+ identifier: 'agreement_number_old'
147
+ }
140
148
  },
141
149
  description: "Reference code quailifier",
142
150
  required: true
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Eancom
4
- VERSION = '1.5.6'
4
+ VERSION = '1.5.7'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eancom
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.6
4
+ version: 1.5.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fadendaten GmbH
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-04-24 00:00:00.000000000 Z
11
+ date: 2023-05-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pry