iif-parser 2.1.0 → 2.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/iif/parser/version.rb +1 -1
- data/lib/iif/parser.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dcd0a8d872376d18c348fa6eee278c9f0b77183ea31c03ef574607fe3fb03873
|
4
|
+
data.tar.gz: 4baa36b9d9e62d86fa04d9307d6bbf9ce36a51aef48cfaefb28fe773a4001606
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6b00df6bac54f9c3c6c42d19fe778721627c9c9abb882fcf1f221b95c1ffcbf63a6605ad35f9f29ae8356b3679dd899a028ce7688186e6079affe87c44874c4f
|
7
|
+
data.tar.gz: de3fff9d59a8a2aad0444871312096190255ad2a61a7e533f1349bd94ac954ec21a61872f68dfaa5ee2365506a9bd317a196de17c56abccb3507d54e506ac993
|
data/lib/iif/parser/version.rb
CHANGED
data/lib/iif/parser.rb
CHANGED
@@ -63,7 +63,7 @@ module Iif
|
|
63
63
|
end
|
64
64
|
|
65
65
|
def parse_data(fields)
|
66
|
-
return if @entries.last&.type == 'ENDTRNS' && fields[0] == 'ENDTRNS' # found a repeating ENDTRNS
|
66
|
+
return if (@entries.last&.type == 'ENDTRNS' || @entries.last&.type.nil?) && fields[0] == 'ENDTRNS' # found a repeating ENDTRNS
|
67
67
|
definition = @definitions[fields[0]]
|
68
68
|
entry = Entry.new
|
69
69
|
entry.type = fields[0]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: iif-parser
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Christian Pelczarski
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-01-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rchardet
|
@@ -134,7 +134,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
134
134
|
- !ruby/object:Gem::Version
|
135
135
|
version: '0'
|
136
136
|
requirements: []
|
137
|
-
rubygems_version: 3.
|
137
|
+
rubygems_version: 3.3.26
|
138
138
|
signing_key:
|
139
139
|
specification_version: 4
|
140
140
|
summary: Basic IIF parser written in Ruby
|