eancom 1.3.0 → 1.5.0

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: 46fd5920646d9dda0e36a7085a34ba848fbe8b6ccca97de8ff330a77540e33fa
4
- data.tar.gz: 6de8a8ae09f69cb75da1b8f626678093377706f6feb6e91b7377ef163efb82d6
3
+ metadata.gz: 97ef524c991fd3f689a2647f9df86b2051f4e825b94941b9f3a14ccf50a1864d
4
+ data.tar.gz: e7da95225c95565066348dd62c4d99e00b426b7f33361b76d4bb1f5691a70a11
5
5
  SHA512:
6
- metadata.gz: 82c2ca7f80dbb8ddee208dd10f1588a63d7c019ea53e7883d9927e3fe9c63ebeb3fae63d0a6b3df2fe5cd1de60997a224dc907d909459abb30dacb04ca6bbed6
7
- data.tar.gz: 7ffdad1a7413957c408db081d5394e5063c2f207747c75085cc672abc7085e198f6756c7da28333b79b44800bdc1a476aafcc877d1635cb1c167d69acd4dbe3a
6
+ metadata.gz: dfe7060bbce2cce216f05d4056a32f4df66331dcca383b7bd6f85dd8fbd4895c702f32ae6ebf0bae1103811a625d38538178c6c3aa97ba74796418f1573dcad2
7
+ data.tar.gz: f9858d1ad8b04d7e1f4119fd61ec8a87b1eee97c3899dc1658695314f70fcf667d42aa1bc6ec7450402790f463a7a958f89d9922e78fb044fae143bda59b4925
data/.gitignore CHANGED
@@ -49,6 +49,7 @@ Temporary Items
49
49
  *.rbc
50
50
  capybara-*.html
51
51
  .rspec
52
+ .rspec_status
52
53
  /db/*.sqlite3
53
54
  /db/*.sqlite3-journal
54
55
  /public/system
data/.tool-versions ADDED
@@ -0,0 +1 @@
1
+ ruby 2.7.6
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- eancom (1.2.0)
4
+ eancom (1.4.0)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -11,7 +11,7 @@ GEM
11
11
  ast (2.4.2)
12
12
  coderay (1.1.2)
13
13
  diff-lcs (1.3)
14
- docile (1.3.2)
14
+ docile (1.4.0)
15
15
  faraday (1.10.0)
16
16
  faraday-em_http (~> 1.0)
17
17
  faraday-em_synchrony (~> 1.0)
@@ -107,10 +107,12 @@ GEM
107
107
  sawyer (0.8.2)
108
108
  addressable (>= 2.3.5)
109
109
  faraday (> 0.8, < 2.0)
110
- simplecov (0.18.5)
110
+ simplecov (0.22.0)
111
111
  docile (~> 1.1)
112
112
  simplecov-html (~> 0.11)
113
- simplecov-html (0.12.2)
113
+ simplecov_json_formatter (~> 0.1)
114
+ simplecov-html (0.12.3)
115
+ simplecov_json_formatter (0.1.4)
114
116
  slop (3.6.0)
115
117
  terminal-table (3.0.2)
116
118
  unicode-display_width (>= 1.1.1, < 3)
@@ -1,6 +1,8 @@
1
+ # frozen_string_literal: true
2
+
1
3
  Eancom::Definition.create(name: 'D01B', type: :desadv) do |document, config|
2
4
  document.header do |header|
3
- header.segment Eancom::Edifact::UNA.new()
5
+ header.segment Eancom::Edifact::UNA.new
4
6
 
5
7
  header.segment Eancom::Edifact::UNB.new(
6
8
  syntax_identifier: 'UNOC',
@@ -28,12 +30,10 @@ Eancom::Definition.create(name: 'D01B', type: :desadv) do |document, config|
28
30
  end
29
31
 
30
32
  document.body do |body|
31
-
32
33
  # Messages
33
34
  messages = config.body.messages
34
35
 
35
- messages.each do |message|
36
-
36
+ messages.each do |message|
37
37
  body.segment Eancom::Edifact::BGM.new(
38
38
  document_name_code: '351',
39
39
  document_identifier: message.document_identifier,
@@ -57,10 +57,10 @@ Eancom::Definition.create(name: 'D01B', type: :desadv) do |document, config|
57
57
  end
58
58
 
59
59
  # Order Reference
60
- if reference_identifier = message.order_number.reference_identifier
60
+ if order_number_buyer = message.order_number_buyer
61
61
  body.segment Eancom::Edifact::RFF.new(
62
62
  reference_code_qualifier: 'ON',
63
- reference_identifier: reference_identifier
63
+ reference_identifier: order_number_buyer.reference_identifier
64
64
  )
65
65
  end
66
66
 
@@ -145,16 +145,15 @@ Eancom::Definition.create(name: 'D01B', type: :desadv) do |document, config|
145
145
  items.each_with_index do |item, index|
146
146
  total_quantity += item.quantity.to_i
147
147
 
148
-
149
148
  body.segment Eancom::Edifact::LIN.new(
150
- line_item_identifier_1: "#{index + 1}",
149
+ line_item_identifier_1: item.line_item_identifier_1,
151
150
  item_identifier: item.ean,
152
151
  item_type_identification_code: 'SRV'
153
152
  )
154
153
 
155
154
  if additional_product_id = item.additional_product_id
156
155
  additional_product_id.each do |id|
157
- if additional_information = id.additional_information
156
+ if (additional_information = id.additional_information)
158
157
  body.segment Eancom::Edifact::PIA.new(
159
158
  product_identifier_code_qualifier: '1',
160
159
  item_identifier_1: additional_information.item_identifier_1,
@@ -172,34 +171,34 @@ Eancom::Definition.create(name: 'D01B', type: :desadv) do |document, config|
172
171
 
173
172
  body.segment Eancom::Edifact::QTY.new(
174
173
  quantity_type_code_qualifier: '12',
175
- quantity: "#{item.despatch_quantity.quantity}"
174
+ quantity: item.despatch_quantity.quantity.to_s
176
175
  )
177
176
 
178
177
  body.segment Eancom::Edifact::QTY.new(
179
178
  quantity_type_code_qualifier: '59',
180
- quantity: "#{item.despatch_quantity.quantity}"
179
+ quantity: item.despatch_quantity.quantity.to_s
181
180
  )
182
181
 
183
- if order_number = message.order_number
182
+ if (order_number_buyer = message.order_number_buyer)
184
183
  body.segment Eancom::Edifact::RFF.new(
185
184
  reference_code_qualifier: 'ON',
186
- reference_identifier: order_number.reference_identifier,
187
- document_line_identifier: "#{(index + 1) * 10}"
185
+ reference_identifier: order_number_buyer.reference_identifier,
186
+ document_line_identifier: ((index + 1) * 10).to_s
188
187
  )
189
188
  end
190
189
  end
191
190
 
192
191
  body.segment Eancom::Edifact::UNT.new(
193
- number_of_segments_in_message: "#{document.total_segments + 2}",
192
+ number_of_segments_in_message: (document.total_segments + 2).to_s,
194
193
  message_reference_number: '1'
195
194
  )
196
- end
195
+ end
197
196
  end
198
197
 
199
198
  document.footer do |footer|
200
199
  footer.segment Eancom::Edifact::UNZ.new(
201
200
  interchange_control_count: '1',
202
- interchange_control_reference: "#{config.header.interchange_control_reference}"
201
+ interchange_control_reference: config.header.interchange_control_reference.to_s
203
202
  )
204
203
  end
205
204
  end
@@ -1,19 +1,17 @@
1
+ # frozen_string_literal: true
2
+
1
3
  Eancom::Definition.create(name: 'D96A', type: :desadv) do |document, config|
2
4
  document.header do |header|
3
- header.segment Eancom::Edifact::UNA.new()
4
-
5
5
  header.segment Eancom::Edifact::UNB.new(
6
- syntax_identifier: 'UNOC',
7
- syntax_version_number: '3',
6
+ syntax_identifier: 'UNOA',
7
+ syntax_version_number: '2',
8
8
  interchange_sender_identification: config.header.interchange_sender_identification,
9
- sender_identifiction_code_qualifier: '14',
9
+ sender_identifiction_code_qualifier: config.header.sender_identification_code_qualifier || '14',
10
10
  interchange_recipient_identification: config.header.interchange_recipient_identification,
11
- recipient_identifiction_code_qualifier: '14',
11
+ recipient_identifiction_code_qualifier: config.header.recipient_identification_code_qualifier || '14',
12
12
  date: config.header.date,
13
13
  time: config.header.time,
14
- interchange_control_reference: config.header.interchange_control_reference,
15
- application_reference: 'DESADV',
16
- interchange_agreement_identifier: 'EANCOM'
14
+ interchange_control_reference: config.header.interchange_control_reference
17
15
  )
18
16
 
19
17
  header.segment Eancom::Edifact::UNH.new(
@@ -27,115 +25,140 @@ Eancom::Definition.create(name: 'D96A', type: :desadv) do |document, config|
27
25
  end
28
26
 
29
27
  document.body do |body|
30
- body.segment Eancom::Edifact::BGM.new(
31
- document_name_code: '351',
32
- document_identifier: config.body.document_identifier,
33
- message_function_code: '9'
34
- )
35
-
36
- # Document Date
37
- body.segment Eancom::Edifact::DTM.new(
38
- type: '137',
39
- date_time: config.body.document_message_date_time,
40
- format: '102'
41
- )
42
-
43
- # Shipping Date
44
- body.segment Eancom::Edifact::DTM.new(
45
- type: '11',
46
- date_time: config.body.despatch_date_and_or_time,
47
- format: '102'
48
- )
49
-
50
- # Order Reference
51
- body.segment Eancom::Edifact::RFF.new(
52
- reference_code_qualifier: 'VN',
53
- reference_identifier: config.body.document_identifier
54
- )
28
+ messages = config.body.messages
55
29
 
56
- # Sender ILN
57
- body.segment Eancom::Edifact::NAD.new(
58
- party_function_code_qualifier: 'SU',
59
- party_identifier: config.header.interchange_sender_identification,
60
- code_list_responsible_agancy_code_1: '9'
61
- )
30
+ messages.each do |message|
31
+ body.segment Eancom::Edifact::BGM.new(
32
+ document_name_code: '351',
33
+ document_identifier: message.document_identifier,
34
+ message_function_code: '9'
35
+ )
62
36
 
63
- # Manufacturer ILN
64
- body.segment Eancom::Edifact::NAD.new(
65
- party_function_code_qualifier: 'MF',
66
- party_identifier: config.header.interchange_sender_identification,
67
- code_list_responsible_agancy_code_1: '9'
68
- )
37
+ # Document Date
38
+ body.segment Eancom::Edifact::DTM.new(
39
+ type: '137',
40
+ date_time: message.document_message_date_time.date_time,
41
+ format: '102'
42
+ )
69
43
 
70
- # Reciver ILN
71
- body.segment Eancom::Edifact::NAD.new(
72
- party_function_code_qualifier: 'BY',
73
- party_identifier: config.header.interchange_recipient_identification,
74
- code_list_responsible_agancy_code_1: '9'
75
- )
44
+ # Shipping Date
45
+ body.segment Eancom::Edifact::DTM.new(
46
+ type: '11',
47
+ date_time: message.despatch_date_and_or_time.date_time,
48
+ format: '102'
49
+ )
76
50
 
77
- # Destination ILN
78
- body.segment Eancom::Edifact::NAD.new(
79
- party_function_code_qualifier: 'DP',
80
- party_identifier: config.header.interchange_recipient_identification,
81
- code_list_responsible_agancy_code_1: '9'
82
- )
51
+ # Order Reference
52
+ if order_number_buyer = message.order_number_buyer
53
+ body.segment Eancom::Edifact::RFF.new(
54
+ reference_code_qualifier: 'ON',
55
+ reference_identifier: order_number_buyer.reference_identifier
56
+ )
57
+ end
58
+
59
+ if order_number_supplier = message.order_number_supplier
60
+ body.segment Eancom::Edifact::RFF.new(
61
+ reference_code_qualifier: 'VN',
62
+ reference_identifier: order_number_supplier.reference_identifier
63
+ )
64
+ end
65
+
66
+ if (supplier = message.supplier)
67
+ # Sender ILN
68
+ body.segment Eancom::Edifact::NAD.new(
69
+ party_function_code_qualifier: 'SU',
70
+ party_identifier: supplier.party_identifier,
71
+ code_list_responsible_agancy_code_1: '9'
72
+ )
73
+
74
+ end
75
+
76
+ if (manufacturer = message.manufacturer)
77
+ # Manufacturer ILN
78
+ body.segment Eancom::Edifact::NAD.new(
79
+ party_function_code_qualifier: 'MF',
80
+ party_identifier: manufacturer.party_identifier,
81
+ code_list_responsible_agancy_code_1: '9'
82
+ )
83
+ end
84
+
85
+ # Reciver ILN
86
+ if (buyer = message.buyer)
87
+ body.segment Eancom::Edifact::NAD.new(
88
+ party_function_code_qualifier: 'BY',
89
+ party_identifier: buyer.party_identifier,
90
+ code_list_responsible_agancy_code_1: '9'
91
+ )
92
+ end
93
+
94
+ # Delivery Party ILN
95
+ if (delivery_party = message.delivery_party)
96
+ body.segment Eancom::Edifact::NAD.new(
97
+ party_function_code_qualifier: 'DP',
98
+ party_identifier: delivery_party.party_identifier,
99
+ code_list_responsible_agancy_code_1: '9'
100
+ )
101
+ end
102
+
103
+ # Final Recipient ILN
104
+ if (ultimate_consignee = message.ultimate_consignee)
105
+ body.segment Eancom::Edifact::NAD.new(
106
+ party_function_code_qualifier: 'UC',
107
+ party_identifier: ultimate_consignee.party_identifier,
108
+ code_list_responsible_agancy_code_1: '9'
109
+ )
110
+ end
111
+
112
+ # Delivery Note Mode
113
+ body.segment Eancom::Edifact::CPS.new(
114
+ hierarchical_structure_level_identifier: '1'
115
+ )
83
116
 
84
- # Final Recipient ILN
85
- body.segment Eancom::Edifact::NAD.new(
86
- party_function_code_qualifier: 'UC',
87
- party_identifier: config.header.interchange_recipient_identification,
88
- code_list_responsible_agancy_code_1: '9'
89
- )
117
+ # Items
118
+ total_quantity = 0
90
119
 
91
- # Delivery Note Mode
92
- body.segment Eancom::Edifact::CPS.new(
93
- hierarchical_structure_level_identifier: '1'
94
- )
120
+ items = message.items
95
121
 
96
- # Items
97
- total_quantity = 0
122
+ items.each_with_index do |item, _index|
123
+ dispatch_quantity = item.despatch_quantity
124
+ total_quantity += dispatch_quantity.quantity.to_i
98
125
 
99
- items = config.body.items
126
+ body.segment Eancom::Edifact::LIN.new(
127
+ line_item_identifier_1: item.line_item_identifier_1.to_s,
128
+ item_identifier: item.ean,
129
+ item_type_identification_code: 'EN'
130
+ )
100
131
 
101
- items.each_with_index do |item, index|
102
- total_quantity += item.quantity.to_i
132
+ body.segment Eancom::Edifact::QTY.new(
133
+ quantity_type_code_qualifier: '12',
134
+ quantity: dispatch_quantity.quantity.to_s,
135
+ measurement_unit_code: 'PCE'
136
+ )
137
+ end
103
138
 
104
- body.segment Eancom::Edifact::LIN.new(
105
- line_item_identifier_1: "#{index + 1}",
106
- item_identifier: item.ean,
107
- item_type_identification_code: 'SRV'
139
+ # Position Count
140
+ body.segment Eancom::Edifact::CNT.new(
141
+ control_total_type_code_quantifier: '2',
142
+ control_total_value: items.count.to_s
108
143
  )
109
144
 
110
- body.segment Eancom::Edifact::QTY.new(
111
- quantity_type_code_qualifier: '12',
112
- quantity: "#{item.quantity}"
145
+ # Total Quantity
146
+ body.segment Eancom::Edifact::CNT.new(
147
+ control_total_type_code_quantifier: '1',
148
+ control_total_value: total_quantity.to_s
113
149
  )
114
150
  end
115
151
 
116
- # Total Quantity
117
- body.segment Eancom::Edifact::CNT.new(
118
- control_total_type_code_quantifier: '1',
119
- control_total_value: "#{total_quantity}"
120
- )
121
-
122
- # Position Count
123
- body.segment Eancom::Edifact::CNT.new(
124
- control_total_type_code_quantifier: '2',
125
- control_total_value: "#{items.count}"
152
+ body.segment Eancom::Edifact::UNT.new(
153
+ number_of_segments_in_message: (document.total_segments + 2).to_s,
154
+ message_reference_number: config.header.interchange_control_reference.to_s
126
155
  )
127
156
  end
128
157
 
129
158
  document.footer do |footer|
130
- footer.segment Eancom::Edifact::UNT.new(
131
- number_of_segments_in_message: "#{document.total_segments}",
132
- message_reference_number: '1'
133
- )
134
-
135
159
  footer.segment Eancom::Edifact::UNZ.new(
136
160
  interchange_control_count: '1',
137
- interchange_control_reference: "#{config.body.document_identifier}"
161
+ interchange_control_reference: config.header.interchange_control_reference.to_s
138
162
  )
139
163
  end
140
-
141
164
  end
@@ -73,7 +73,7 @@ data = Eancom::Edifact::Data.new(
73
73
  identifier: 'ean'
74
74
  }
75
75
  },
76
- description: 'Item identifier',
76
+ description: 'Item type identification code',
77
77
  required: true
78
78
  )
79
79
  item_number_identification.add(:item_type_identification_code, data)
@@ -87,7 +87,7 @@ data = Eancom::Edifact::Data.new(
87
87
  },
88
88
  'DQ' => {
89
89
  description: 'Delivery note number',
90
- identifier: 'deliver_note_number'
90
+ identifier: 'delivery_note_number'
91
91
  },
92
92
  'FC' => {
93
93
  description: 'Fiscal number',
@@ -103,7 +103,7 @@ data = Eancom::Edifact::Data.new(
103
103
  },
104
104
  'ON' => {
105
105
  description: 'Order number (buyer)',
106
- identifier: 'order_number'
106
+ identifier: 'order_number_buyer'
107
107
  },
108
108
  'PL' => {
109
109
  description: 'Price list number',
@@ -131,7 +131,7 @@ data = Eancom::Edifact::Data.new(
131
131
  },
132
132
  'VN' => {
133
133
  description: 'Order number (supplier)',
134
- identifier: 'order_number'
134
+ identifier: 'order_number_supplier'
135
135
  },
136
136
  'VA' => {
137
137
  description: 'VAT registration number',
@@ -30,6 +30,7 @@ module Eancom
30
30
 
31
31
  def to_json_hash
32
32
  {
33
+ line_item_identifier_1: @line_item_identifier_1,
33
34
  ean: @item_identifier
34
35
  }
35
36
  end
@@ -11,7 +11,7 @@ module Eancom
11
11
  message_version_number:,
12
12
  message_release_number:,
13
13
  controlling_agency:,
14
- association_assigned_code:,
14
+ association_assigned_code: nil,
15
15
  code_list_directory_version_number: nil
16
16
  )
17
17
 
@@ -27,14 +27,16 @@ module Eancom
27
27
  end
28
28
 
29
29
  def to_json_hash
30
- {
30
+ hash = {
31
31
  message_reference_number: @message_reference_number,
32
32
  message_type: @message_type,
33
33
  message_version_number: @message_version_number,
34
34
  message_release_number: @message_release_number,
35
35
  controlling_agency: @controlling_agency,
36
- association_assigned_code: @association_assigned_code
37
36
  }
37
+ hash[:association_assigned_code] = @association_assigned_code if @association_assigned_code
38
+ hash[:code_list_directory_version_number] = @code_list_directory_version_number if @code_list_directory_version_number
39
+ hash
38
40
  end
39
41
 
40
42
  def segment_type
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Eancom
2
- VERSION = "1.3.0"
4
+ VERSION = '1.5.0'
3
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.3.0
4
+ version: 1.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fadendaten GmbH
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-06-14 00:00:00.000000000 Z
11
+ date: 2023-03-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pry
@@ -133,9 +133,9 @@ files:
133
133
  - ".gitignore"
134
134
  - ".gitlab-ci.yml"
135
135
  - ".rspec"
136
- - ".rspec_status"
137
136
  - ".rubocop.yml"
138
137
  - ".ruby-version"
138
+ - ".tool-versions"
139
139
  - ".travis.yml"
140
140
  - Gemfile
141
141
  - Gemfile.lock
@@ -248,7 +248,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
248
248
  - !ruby/object:Gem::Version
249
249
  version: '0'
250
250
  requirements: []
251
- rubygems_version: 3.0.3
251
+ rubygems_version: 3.1.6
252
252
  signing_key:
253
253
  specification_version: 4
254
254
  summary: EDIFACT Generator for the EANCOM Subset
data/.rspec_status DELETED
@@ -1,225 +0,0 @@
1
- example_id | status | run_time |
2
- ------------------------------------------------------- | ------ | --------------- |
3
- ./spec/eancom/definition_spec.rb[1:1:1] | passed | 0.00054 seconds |
4
- ./spec/eancom/definition_spec.rb[1:1:2] | passed | 0.00057 seconds |
5
- ./spec/eancom/definition_spec.rb[1:1:3] | passed | 0.005 seconds |
6
- ./spec/eancom/definition_spec.rb[1:1:4] | passed | 0.00012 seconds |
7
- ./spec/eancom/definition_spec.rb[1:1:5] | passed | 0.0001 seconds |
8
- ./spec/eancom/definition_spec.rb[1:2:1] | passed | 0.00011 seconds |
9
- ./spec/eancom/definition_spec.rb[1:2:2] | passed | 0.00011 seconds |
10
- ./spec/eancom/definition_spec.rb[1:2:3] | passed | 0.0001 seconds |
11
- ./spec/eancom/definition_spec.rb[1:2:4] | passed | 0.0001 seconds |
12
- ./spec/eancom/definition_spec.rb[1:3:1:1] | passed | 0.00014 seconds |
13
- ./spec/eancom/definition_spec.rb[1:3:1:2] | passed | 0.00011 seconds |
14
- ./spec/eancom/edifact/composite_spec.rb[1:1:1] | passed | 0.00012 seconds |
15
- ./spec/eancom/edifact/composite_spec.rb[1:1:2] | passed | 0.00018 seconds |
16
- ./spec/eancom/edifact/composite_spec.rb[1:2:1] | passed | 0.00011 seconds |
17
- ./spec/eancom/edifact/composite_spec.rb[1:2:2:1] | passed | 0.00146 seconds |
18
- ./spec/eancom/edifact/composite_spec.rb[1:3:1] | passed | 0.00013 seconds |
19
- ./spec/eancom/edifact/composite_spec.rb[1:4:1] | passed | 0.0001 seconds |
20
- ./spec/eancom/edifact/composite_spec.rb[1:5:1] | passed | 0.0001 seconds |
21
- ./spec/eancom/edifact/data_spec.rb[1:1:1] | passed | 0.0001 seconds |
22
- ./spec/eancom/edifact/data_spec.rb[1:1:2] | passed | 0.00012 seconds |
23
- ./spec/eancom/edifact/data_spec.rb[1:1:3] | passed | 0.0001 seconds |
24
- ./spec/eancom/edifact/data_spec.rb[1:1:4] | passed | 0.00009 seconds |
25
- ./spec/eancom/edifact/data_spec.rb[1:1:5] | passed | 0.00012 seconds |
26
- ./spec/eancom/edifact/data_spec.rb[1:1:6] | passed | 0.00009 seconds |
27
- ./spec/eancom/edifact/data_spec.rb[1:2:1:1:1] | passed | 0.00012 seconds |
28
- ./spec/eancom/edifact/data_spec.rb[1:2:1:2:1] | passed | 0.0002 seconds |
29
- ./spec/eancom/edifact/data_spec.rb[1:2:2:1:1:1] | passed | 0.00011 seconds |
30
- ./spec/eancom/edifact/data_spec.rb[1:2:2:1:2:1] | passed | 0.00016 seconds |
31
- ./spec/eancom/edifact/data_spec.rb[1:2:2:2:1:1] | passed | 0.00012 seconds |
32
- ./spec/eancom/edifact/data_spec.rb[1:2:2:2:2:1] | passed | 0.00013 seconds |
33
- ./spec/eancom/edifact/data_spec.rb[1:2:2:3:1] | passed | 0.00016 seconds |
34
- ./spec/eancom/edifact/data_spec.rb[1:2:3:1:1:1] | passed | 0.00012 seconds |
35
- ./spec/eancom/edifact/data_spec.rb[1:2:3:1:2:1] | passed | 0.00012 seconds |
36
- ./spec/eancom/edifact/data_spec.rb[1:2:3:1:2:2] | passed | 0.00012 seconds |
37
- ./spec/eancom/edifact/data_spec.rb[1:2:3:2:1] | passed | 0.00012 seconds |
38
- ./spec/eancom/edifact/data_spec.rb[1:2:4:1:1] | passed | 0.0002 seconds |
39
- ./spec/eancom/edifact/data_spec.rb[1:3:1:1] | passed | 0.00013 seconds |
40
- ./spec/eancom/edifact/data_spec.rb[1:3:1:2:1] | passed | 0.00012 seconds |
41
- ./spec/eancom/edifact/data_spec.rb[1:3:2:1] | passed | 0.00008 seconds |
42
- ./spec/eancom/edifact/header_spec.rb[1:1:1] | passed | 0.0001 seconds |
43
- ./spec/eancom/edifact/segment_spec.rb[1:1:1] | passed | 0.0001 seconds |
44
- ./spec/eancom/edifact/segment_spec.rb[1:2:1] | passed | 0.00012 seconds |
45
- ./spec/eancom/edifact/segment_spec.rb[1:3:1] | passed | 0.00013 seconds |
46
- ./spec/eancom/edifact/segment_spec.rb[1:4:1] | passed | 0.00015 seconds |
47
- ./spec/eancom/edifact/segment_spec.rb[1:5:1] | passed | 0.00016 seconds |
48
- ./spec/eancom/edifact/segment_spec.rb[1:5:2] | passed | 0.00012 seconds |
49
- ./spec/eancom/edifact/segment_spec.rb[1:6:1] | passed | 0.0001 seconds |
50
- ./spec/eancom/edifact/segment_spec.rb[1:7:1] | passed | 0.00014 seconds |
51
- ./spec/eancom/edifact/segment_spec.rb[1:8:1:1] | passed | 0.00012 seconds |
52
- ./spec/eancom/edifact/segments/bgm_spec.rb[1:1:1] | passed | 0.00021 seconds |
53
- ./spec/eancom/edifact/segments/bgm_spec.rb[1:2:1] | passed | 0.00011 seconds |
54
- ./spec/eancom/edifact/segments/bgm_spec.rb[1:3:1] | passed | 0.00012 seconds |
55
- ./spec/eancom/edifact/segments/bgm_spec.rb[1:4:1] | passed | 0.00027 seconds |
56
- ./spec/eancom/edifact/segments/bgm_spec.rb[1:5:1] | passed | 0.00059 seconds |
57
- ./spec/eancom/edifact/segments/bgm_spec.rb[1:6:1] | passed | 0.00022 seconds |
58
- ./spec/eancom/edifact/segments/cnt_spec.rb[1:1:1] | passed | 0.00018 seconds |
59
- ./spec/eancom/edifact/segments/cnt_spec.rb[1:2:1] | passed | 0.00017 seconds |
60
- ./spec/eancom/edifact/segments/cnt_spec.rb[1:3:1] | passed | 0.00015 seconds |
61
- ./spec/eancom/edifact/segments/cnt_spec.rb[1:4:1] | passed | 0.00014 seconds |
62
- ./spec/eancom/edifact/segments/cnt_spec.rb[1:5:1] | passed | 0.00019 seconds |
63
- ./spec/eancom/edifact/segments/cnt_spec.rb[1:6:1] | passed | 0.00013 seconds |
64
- ./spec/eancom/edifact/segments/cps_spec.rb[1:1:1] | passed | 0.00013 seconds |
65
- ./spec/eancom/edifact/segments/cps_spec.rb[1:2:1] | passed | 0.00014 seconds |
66
- ./spec/eancom/edifact/segments/cps_spec.rb[1:3:1] | passed | 0.00016 seconds |
67
- ./spec/eancom/edifact/segments/cps_spec.rb[1:4:1] | passed | 0.00038 seconds |
68
- ./spec/eancom/edifact/segments/cps_spec.rb[1:5:1] | passed | 0.00046 seconds |
69
- ./spec/eancom/edifact/segments/cps_spec.rb[1:6:1] | passed | 0.00027 seconds |
70
- ./spec/eancom/edifact/segments/dtm_spec.rb[1:1:1] | passed | 0.00014 seconds |
71
- ./spec/eancom/edifact/segments/dtm_spec.rb[1:2:1] | passed | 0.0001 seconds |
72
- ./spec/eancom/edifact/segments/dtm_spec.rb[1:3:1] | passed | 0.00015 seconds |
73
- ./spec/eancom/edifact/segments/dtm_spec.rb[1:4:1] | passed | 0.00024 seconds |
74
- ./spec/eancom/edifact/segments/dtm_spec.rb[1:5:1] | passed | 0.00014 seconds |
75
- ./spec/eancom/edifact/segments/dtm_spec.rb[1:6:1] | passed | 0.00014 seconds |
76
- ./spec/eancom/edifact/segments/dtm_spec.rb[1:7:1] | passed | 0.00016 seconds |
77
- ./spec/eancom/edifact/segments/dtm_spec.rb[1:7:2] | passed | 0.00021 seconds |
78
- ./spec/eancom/edifact/segments/dtm_spec.rb[1:7:3] | passed | 0.00015 seconds |
79
- ./spec/eancom/edifact/segments/dtm_spec.rb[1:7:4] | passed | 0.00016 seconds |
80
- ./spec/eancom/edifact/segments/imd_spec.rb[1:1:1] | passed | 0.00016 seconds |
81
- ./spec/eancom/edifact/segments/imd_spec.rb[1:2:1] | passed | 0.00015 seconds |
82
- ./spec/eancom/edifact/segments/imd_spec.rb[1:3:1] | passed | 0.00023 seconds |
83
- ./spec/eancom/edifact/segments/imd_spec.rb[1:4:1] | passed | 0.00027 seconds |
84
- ./spec/eancom/edifact/segments/imd_spec.rb[1:5:1] | passed | 0.00036 seconds |
85
- ./spec/eancom/edifact/segments/imd_spec.rb[1:6:1] | passed | 0.0003 seconds |
86
- ./spec/eancom/edifact/segments/lin_spec.rb[1:1:1] | passed | 0.00016 seconds |
87
- ./spec/eancom/edifact/segments/lin_spec.rb[1:2:1] | passed | 0.00012 seconds |
88
- ./spec/eancom/edifact/segments/lin_spec.rb[1:3:1] | passed | 0.00015 seconds |
89
- ./spec/eancom/edifact/segments/lin_spec.rb[1:4:1] | passed | 0.0002 seconds |
90
- ./spec/eancom/edifact/segments/lin_spec.rb[1:5:1] | passed | 0.00023 seconds |
91
- ./spec/eancom/edifact/segments/lin_spec.rb[1:6:1] | passed | 0.00015 seconds |
92
- ./spec/eancom/edifact/segments/nad_spec.rb[1:1:1] | passed | 0.00029 seconds |
93
- ./spec/eancom/edifact/segments/nad_spec.rb[1:2:1] | passed | 0.00022 seconds |
94
- ./spec/eancom/edifact/segments/nad_spec.rb[1:3:1] | passed | 0.00029 seconds |
95
- ./spec/eancom/edifact/segments/nad_spec.rb[1:4:1] | passed | 0.00037 seconds |
96
- ./spec/eancom/edifact/segments/nad_spec.rb[1:5:1] | passed | 0.00066 seconds |
97
- ./spec/eancom/edifact/segments/nad_spec.rb[1:6:1] | passed | 0.00099 seconds |
98
- ./spec/eancom/edifact/segments/pac_spec.rb[1:1:1] | passed | 0.00071 seconds |
99
- ./spec/eancom/edifact/segments/pac_spec.rb[1:2:1] | passed | 0.00028 seconds |
100
- ./spec/eancom/edifact/segments/pac_spec.rb[1:3:1] | passed | 0.00016 seconds |
101
- ./spec/eancom/edifact/segments/pac_spec.rb[1:4:1] | passed | 0.00027 seconds |
102
- ./spec/eancom/edifact/segments/pac_spec.rb[1:5:1] | passed | 0.0004 seconds |
103
- ./spec/eancom/edifact/segments/pac_spec.rb[1:6:1] | passed | 0.0002 seconds |
104
- ./spec/eancom/edifact/segments/pia_spec.rb[1:1:1] | passed | 0.00026 seconds |
105
- ./spec/eancom/edifact/segments/pia_spec.rb[1:2:1] | passed | 0.00017 seconds |
106
- ./spec/eancom/edifact/segments/pia_spec.rb[1:3:1] | passed | 0.00023 seconds |
107
- ./spec/eancom/edifact/segments/pia_spec.rb[1:4:1] | passed | 0.00031 seconds |
108
- ./spec/eancom/edifact/segments/pia_spec.rb[1:5:1] | passed | 0.00048 seconds |
109
- ./spec/eancom/edifact/segments/pia_spec.rb[1:6:1] | passed | 0.0002 seconds |
110
- ./spec/eancom/edifact/segments/qty_spec.rb[1:1:1] | passed | 0.00013 seconds |
111
- ./spec/eancom/edifact/segments/qty_spec.rb[1:2:1] | passed | 0.0001 seconds |
112
- ./spec/eancom/edifact/segments/qty_spec.rb[1:3:1] | passed | 0.00018 seconds |
113
- ./spec/eancom/edifact/segments/qty_spec.rb[1:4:1] | passed | 0.00015 seconds |
114
- ./spec/eancom/edifact/segments/qty_spec.rb[1:5:1] | passed | 0.0002 seconds |
115
- ./spec/eancom/edifact/segments/qty_spec.rb[1:6:1] | passed | 0.00014 seconds |
116
- ./spec/eancom/edifact/segments/rff_spec.rb[1:1:1] | passed | 0.00014 seconds |
117
- ./spec/eancom/edifact/segments/rff_spec.rb[1:2:1] | passed | 0.0001 seconds |
118
- ./spec/eancom/edifact/segments/rff_spec.rb[1:3:1] | passed | 0.00015 seconds |
119
- ./spec/eancom/edifact/segments/rff_spec.rb[1:4:1] | passed | 0.00014 seconds |
120
- ./spec/eancom/edifact/segments/rff_spec.rb[1:5:1] | passed | 0.0002 seconds |
121
- ./spec/eancom/edifact/segments/rff_spec.rb[1:6:1] | passed | 0.00011 seconds |
122
- ./spec/eancom/edifact/segments/tdt_spec.rb[1:1:1] | passed | 0.00021 seconds |
123
- ./spec/eancom/edifact/segments/tdt_spec.rb[1:2:1] | passed | 0.00021 seconds |
124
- ./spec/eancom/edifact/segments/tdt_spec.rb[1:3:1] | passed | 0.00022 seconds |
125
- ./spec/eancom/edifact/segments/tdt_spec.rb[1:4:1] | passed | 0.00033 seconds |
126
- ./spec/eancom/edifact/segments/tdt_spec.rb[1:5:1] | passed | 0.00042 seconds |
127
- ./spec/eancom/edifact/segments/tdt_spec.rb[1:6:1] | passed | 0.00022 seconds |
128
- ./spec/eancom/edifact/segments/una_spec.rb[1:1:1] | passed | 0.00021 seconds |
129
- ./spec/eancom/edifact/segments/una_spec.rb[1:1:2] | passed | 0.00016 seconds |
130
- ./spec/eancom/edifact/segments/una_spec.rb[1:1:3] | passed | 0.00016 seconds |
131
- ./spec/eancom/edifact/segments/una_spec.rb[1:1:4] | passed | 0.00025 seconds |
132
- ./spec/eancom/edifact/segments/una_spec.rb[1:1:5] | passed | 0.00017 seconds |
133
- ./spec/eancom/edifact/segments/una_spec.rb[1:1:6] | passed | 0.00015 seconds |
134
- ./spec/eancom/edifact/segments/una_spec.rb[1:1:7] | passed | 0.00014 seconds |
135
- ./spec/eancom/edifact/segments/una_spec.rb[1:1:8] | passed | 0.00016 seconds |
136
- ./spec/eancom/edifact/segments/una_spec.rb[1:2:1] | passed | 0.0001 seconds |
137
- ./spec/eancom/edifact/segments/una_spec.rb[1:3:1] | passed | 0.0002 seconds |
138
- ./spec/eancom/edifact/segments/una_spec.rb[1:4:1] | passed | 0.00022 seconds |
139
- ./spec/eancom/edifact/segments/una_spec.rb[1:5:1] | passed | 0.00017 seconds |
140
- ./spec/eancom/edifact/segments/una_spec.rb[1:6:1] | passed | 0.00021 seconds |
141
- ./spec/eancom/edifact/segments/una_spec.rb[1:7:1] | passed | 0.00021 seconds |
142
- ./spec/eancom/edifact/segments/una_spec.rb[1:7:2] | passed | 0.00029 seconds |
143
- ./spec/eancom/edifact/segments/una_spec.rb[1:7:3] | passed | 0.00013 seconds |
144
- ./spec/eancom/edifact/segments/una_spec.rb[1:7:4] | passed | 0.00012 seconds |
145
- ./spec/eancom/edifact/segments/una_spec.rb[1:7:5] | passed | 0.00014 seconds |
146
- ./spec/eancom/edifact/segments/una_spec.rb[1:7:6] | passed | 0.00011 seconds |
147
- ./spec/eancom/edifact/segments/una_spec.rb[1:7:7] | passed | 0.00019 seconds |
148
- ./spec/eancom/edifact/segments/unb_spec.rb[1:1:1] | passed | 0.00025 seconds |
149
- ./spec/eancom/edifact/segments/unb_spec.rb[1:2:1] | passed | 0.00017 seconds |
150
- ./spec/eancom/edifact/segments/unb_spec.rb[1:3:1] | passed | 0.00028 seconds |
151
- ./spec/eancom/edifact/segments/unb_spec.rb[1:4:1] | passed | 0.00034 seconds |
152
- ./spec/eancom/edifact/segments/unb_spec.rb[1:5:1] | passed | 0.0008 seconds |
153
- ./spec/eancom/edifact/segments/unb_spec.rb[1:6:1] | passed | 0.00045 seconds |
154
- ./spec/eancom/edifact/segments/unh_spec.rb[1:1:1] | passed | 0.00023 seconds |
155
- ./spec/eancom/edifact/segments/unh_spec.rb[1:2:1] | passed | 0.00012 seconds |
156
- ./spec/eancom/edifact/segments/unh_spec.rb[1:3:1] | passed | 0.0002 seconds |
157
- ./spec/eancom/edifact/segments/unh_spec.rb[1:4:1] | passed | 0.0002 seconds |
158
- ./spec/eancom/edifact/segments/unh_spec.rb[1:5:1] | passed | 0.00027 seconds |
159
- ./spec/eancom/edifact/segments/unh_spec.rb[1:6:1] | passed | 0.00016 seconds |
160
- ./spec/eancom/edifact/segments/unt_spec.rb[1:1:1] | passed | 0.00012 seconds |
161
- ./spec/eancom/edifact/segments/unt_spec.rb[1:2:1] | passed | 0.00024 seconds |
162
- ./spec/eancom/edifact/segments/unt_spec.rb[1:3:1] | passed | 0.00015 seconds |
163
- ./spec/eancom/edifact/segments/unt_spec.rb[1:4:1] | passed | 0.00025 seconds |
164
- ./spec/eancom/edifact/segments/unt_spec.rb[1:5:1] | passed | 0.00015 seconds |
165
- ./spec/eancom/edifact/segments/unt_spec.rb[1:6:1] | passed | 0.00017 seconds |
166
- ./spec/eancom/edifact/segments/unz_spec.rb[1:1:1] | passed | 0.00012 seconds |
167
- ./spec/eancom/edifact/segments/unz_spec.rb[1:2:1] | passed | 0.00011 seconds |
168
- ./spec/eancom/edifact/segments/unz_spec.rb[1:3:1] | passed | 0.0001 seconds |
169
- ./spec/eancom/edifact/segments/unz_spec.rb[1:4:1] | passed | 0.00016 seconds |
170
- ./spec/eancom/edifact/segments/unz_spec.rb[1:5:1] | passed | 0.00016 seconds |
171
- ./spec/eancom/edifact/segments/unz_spec.rb[1:6:1] | passed | 0.00014 seconds |
172
- ./spec/eancom/edifact/structure_spec.rb[1:1:1] | passed | 0.0001 seconds |
173
- ./spec/eancom/edifact/structure_spec.rb[1:1:2] | passed | 0.00008 seconds |
174
- ./spec/eancom/edifact/structure_spec.rb[1:1:3] | passed | 0.00009 seconds |
175
- ./spec/eancom/edifact/structure_spec.rb[1:2:1] | passed | 0.00008 seconds |
176
- ./spec/eancom/edifact/structure_spec.rb[1:2:2:1] | passed | 0.0001 seconds |
177
- ./spec/eancom/edifact/structure_spec.rb[1:2:2:2] | passed | 0.00015 seconds |
178
- ./spec/eancom/edifact/structure_spec.rb[1:3:1] | passed | 0.00011 seconds |
179
- ./spec/eancom/edifact/structure_spec.rb[1:3:2:1] | passed | 0.00013 seconds |
180
- ./spec/eancom/edifact/structure_spec.rb[1:4:1:1] | passed | 0.00017 seconds |
181
- ./spec/eancom/edifact/structure_spec.rb[1:4:2:1] | passed | 0.00012 seconds |
182
- ./spec/eancom/edifact/structure_spec.rb[1:4:3:1:1] | passed | 0.00012 seconds |
183
- ./spec/eancom/factory_spec.rb[1:1:1] | passed | 0.00039 seconds |
184
- ./spec/eancom/factory_spec.rb[1:2:1] | passed | 0.00032 seconds |
185
- ./spec/eancom/factory_spec.rb[1:3:1] | passed | 0.004 seconds |
186
- ./spec/eancom/factory_spec.rb[1:4:1] | passed | 0.00039 seconds |
187
- ./spec/eancom/factory_spec.rb[1:4:2:1] | passed | 0.00028 seconds |
188
- ./spec/eancom/factory_spec.rb[1:4:2:2:1] | passed | 0.00512 seconds |
189
- ./spec/eancom/parser/document_spec.rb[1:1:1] | passed | 0.00016 seconds |
190
- ./spec/eancom/parser/document_spec.rb[1:2:1] | passed | 0.00144 seconds |
191
- ./spec/eancom/parser/document_spec.rb[1:3:1:1] | passed | 0.00015 seconds |
192
- ./spec/eancom/parser/document_spec.rb[1:3:2:1] | passed | 0.00018 seconds |
193
- ./spec/eancom/parser/document_spec.rb[1:3:3:1] | passed | 0.00013 seconds |
194
- ./spec/eancom/parser/segment_spec.rb[1:1:1:1] | passed | 0.00015 seconds |
195
- ./spec/eancom/parser/segment_spec.rb[1:1:2:1] | passed | 0.00015 seconds |
196
- ./spec/eancom/parser/segment_spec.rb[1:1:2:2] | passed | 0.00017 seconds |
197
- ./spec/eancom/parser/segment_spec.rb[1:1:3:1:1] | passed | 0.00015 seconds |
198
- ./spec/eancom/parser/segment_spec.rb[1:1:3:2:1] | passed | 0.00016 seconds |
199
- ./spec/eancom/parser/segment_spec.rb[1:1:3:3:1] | passed | 0.00012 seconds |
200
- ./spec/eancom/parser/segment_spec.rb[1:1:3:4:1] | passed | 0.00012 seconds |
201
- ./spec/eancom/parser/segment_spec.rb[1:2:1:1] | passed | 0.00009 seconds |
202
- ./spec/eancom/parser/segment_spec.rb[1:2:2:1] | passed | 0.00014 seconds |
203
- ./spec/eancom/parser/segment_spec.rb[1:2:3:1] | passed | 0.00031 seconds |
204
- ./spec/eancom/version_spec.rb[1:1] | passed | 0.00053 seconds |
205
- ./spec/eancom_spec.rb[1:1] | passed | 0.00008 seconds |
206
- ./spec/eancom_spec.rb[1:2:1:1] | passed | 0.00014 seconds |
207
- ./spec/eancom_spec.rb[1:2:1:2] | passed | 0.00009 seconds |
208
- ./spec/eancom_spec.rb[1:2:1:3] | passed | 0.0011 seconds |
209
- ./spec/eancom_spec.rb[1:2:2:1] | passed | 0.00015 seconds |
210
- ./spec/eancom_spec.rb[1:3:1:1] | passed | 0.00011 seconds |
211
- ./spec/eancom_spec.rb[1:3:1:2] | passed | 0.00014 seconds |
212
- ./spec/eancom_spec.rb[1:3:1:3] | passed | 0.00013 seconds |
213
- ./spec/eancom_spec.rb[1:3:2:1] | passed | 0.00008 seconds |
214
- ./spec/intergration/01B/desadv_spec.rb[1:1:1:1] | passed | 0.00375 seconds |
215
- ./spec/intergration/01B/desadv_spec.rb[1:3:1:1] | passed | 0.00866 seconds |
216
- ./spec/intergration/01B/gygax_retail_spec.rb[1:1:1:1:1] | passed | 0.00829 seconds |
217
- ./spec/intergration/01B/gygax_retail_spec.rb[1:1:2:1:1] | passed | 0.00669 seconds |
218
- ./spec/intergration/01B/street_one_spec.rb[1:1:1:1:1] | passed | 0.03303 seconds |
219
- ./spec/intergration/01B/street_one_spec.rb[1:2:1:1:1] | passed | 0.00273 seconds |
220
- ./spec/intergration/01B/street_one_spec.rb[1:3:1:1:1] | passed | 0.00248 seconds |
221
- ./spec/intergration/01B/street_one_spec.rb[1:3:2:1:1] | passed | 0.00272 seconds |
222
- ./spec/intergration/01B/street_one_spec.rb[1:4:1:1:1] | passed | 0.00244 seconds |
223
- ./spec/intergration/01B/street_one_spec.rb[1:5:1:1:1] | passed | 0.00892 seconds |
224
- ./spec/intergration/96A/street_one_spec.rb[1:1:1:1:1] | passed | 0.00271 seconds |
225
- ./spec/intergration/96A/street_one_spec.rb[1:1:2:1:1] | passed | 0.00251 seconds |