iif-parser 1.0.7 → 1.0.8

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
  SHA1:
3
- metadata.gz: 0cf85b1f3ab187e83474bb1e76b6b9dd76d140ff
4
- data.tar.gz: d011219dd0a776c1db1ddde490cc39ddd6635a7e
3
+ metadata.gz: c658204836a14bedfc2ae321b223abbd06dab507
4
+ data.tar.gz: a11dc3f0c2dafa194acff562c800071b2a5408da
5
5
  SHA512:
6
- metadata.gz: 7b6fa2024a8d114d92bdc21285b2281c11c2758b80e9f9f32e2fbc408a0f27cd7dca16f861b85f586ac1b13206baf368c73923e192f36cea67d0f5f8d8a3a075
7
- data.tar.gz: 639671895ec46b523ce3d7de85b9ec77ee69a8083eec2a7f07f79fcede93e986622509e5a94400277ee04d26e5bedb26f3cb33331da1cd7798d9ae9e22b6c16a
6
+ metadata.gz: a55d2bbf28c118d4a9959f1612fe4e51d0d5c4702657bddaf70a74a245b9bedb7599a8399eaf5ff390e9c24b2eba5bb65d6ec18a5bb46cc010c7095bd18c2d09
7
+ data.tar.gz: 939c425cbfefc251258f69230b19c6df9f224953d23096c44002a0a602600fe76306c26162f93f44f8190e3e9bdeab47b3d96cd736bd03a4e554d4324a6e9ffe
@@ -1,5 +1,5 @@
1
1
  module Iif
2
2
  class Parser
3
- VERSION = "1.0.7"
3
+ VERSION = "1.0.8"
4
4
  end
5
5
  end
data/lib/iif/parser.rb CHANGED
@@ -63,6 +63,7 @@ module Iif
63
63
  entry.type = fields[0]
64
64
 
65
65
  fields[1..-1].each_with_index do |field, idx|
66
+ next unless definition[idx]
66
67
  field.strip! if field.is_a?(String)
67
68
  entry.send(definition[idx] + "=", field)
68
69
  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.7
4
+ version: 1.0.8
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-04-29 00:00:00.000000000 Z
11
+ date: 2016-05-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec