iif-parser 1.0.9 → 1.0.10
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 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7f43c6acff99e2e7c9a8e2ba5d64d3718779e4bb
|
4
|
+
data.tar.gz: 64d20cf0505a3e654d7f7b9a3f4de79170522b78
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4e7fd854a9f0a4d735128f8b4a97c5b3de04d14def7dc0803adbb620d5d53af5ba0579f79c858e9ea4a14175e82b8aa5b5775fbff1a602026eed0c9adca3e9bb
|
7
|
+
data.tar.gz: 41a5390f1a41cf118d12f4f057a9167234cfb6d6363833bb6b5dd387b03c54b145e2de6b2a127202678ca8494b22274fdf6afd0dfec55dfb1e3a3e5ef075e98d
|
data/lib/iif/parser/version.rb
CHANGED
data/lib/iif/parser.rb
CHANGED
@@ -61,9 +61,8 @@ module Iif
|
|
61
61
|
|
62
62
|
entry = Entry.new
|
63
63
|
entry.type = fields[0]
|
64
|
-
|
65
64
|
fields[1..-1].each_with_index do |field, idx|
|
66
|
-
next unless definition[idx]
|
65
|
+
next unless definition and definition[idx]
|
67
66
|
field.strip! if field.is_a?(String)
|
68
67
|
entry.send(definition[idx] + "=", field)
|
69
68
|
end
|
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: 1.0.
|
4
|
+
version: 1.0.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Christian Pelczarski
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-08-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|