eancom 1.5.0 → 1.5.1

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: 97ef524c991fd3f689a2647f9df86b2051f4e825b94941b9f3a14ccf50a1864d
4
- data.tar.gz: e7da95225c95565066348dd62c4d99e00b426b7f33361b76d4bb1f5691a70a11
3
+ metadata.gz: '08502505bfd3a0df4fc7477477a37d59024e4f7facbaaa7ddf8b9d66f2bd8169'
4
+ data.tar.gz: 500b1f3e8daa069843da28015e1053af4477b5467fb1c1006f6731af359cebe3
5
5
  SHA512:
6
- metadata.gz: dfe7060bbce2cce216f05d4056a32f4df66331dcca383b7bd6f85dd8fbd4895c702f32ae6ebf0bae1103811a625d38538178c6c3aa97ba74796418f1573dcad2
7
- data.tar.gz: f9858d1ad8b04d7e1f4119fd61ec8a87b1eee97c3899dc1658695314f70fcf667d42aa1bc6ec7450402790f463a7a958f89d9922e78fb044fae143bda59b4925
6
+ metadata.gz: 8606d85e81f5a0e3ebcbc9b0fcda6517b4c5437fc6a6c426cb3df061263da4b749a9fc01e772c99945b9c74fd46e3f144336120c705b133d1b4b976120a8ee2b
7
+ data.tar.gz: cf00dac738592b5d0b03b5fe2ee802b39e19aa1899dda718b37b103cb86fbb797875da28b3c3436b943124e9ab46515c0943e3d1a95a410f36cae2f8e308a536
@@ -146,7 +146,7 @@ Eancom::Definition.create(name: 'D01B', type: :desadv) do |document, config|
146
146
  total_quantity += item.quantity.to_i
147
147
 
148
148
  body.segment Eancom::Edifact::LIN.new(
149
- line_item_identifier_1: item.line_item_identifier_1,
149
+ line_item_identifier_1: item.line_item_identifier_1 || index,
150
150
  item_identifier: item.ean,
151
151
  item_type_identification_code: 'SRV'
152
152
  )
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Eancom
4
- VERSION = '1.5.0'
4
+ VERSION = '1.5.1'
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.0
4
+ version: 1.5.1
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-03-15 00:00:00.000000000 Z
11
+ date: 2023-03-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pry