eancom 1.3.0 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/eancom/edifact/segments/unh.rb +5 -3
- data/lib/eancom/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 234d2c930145821b399f6cc46e30ddd7e127a551b35461fa7a3a682d3ee5d894
|
4
|
+
data.tar.gz: 5b6a38ff945ee619af277dcc0d2ed978b54065fe318922de2a0f5c5058a36f16
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ea6621ef1b1515437e516789f1ef414e152f5941bcbd6dab51b215c74e219cd7a03b735423fde3272fe669552b366b59f75820ae0ee01c1cbab02c07c92cbf9e
|
7
|
+
data.tar.gz: 525516ac844aeb5212c9771b28c8664bdd5e71a49398617ffb9e6ced6ffe6a806d9e1574760dd471c003286e1366f99b4646c17f9826c7b8e61c445ec87cd620
|
data/Gemfile.lock
CHANGED
@@ -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
|
data/lib/eancom/version.rb
CHANGED
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.
|
4
|
+
version: 1.4.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-
|
11
|
+
date: 2022-06-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pry
|