iif-parser 1.0.5 → 1.0.6
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 +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 61d0cb61298032a432e84966b8258e2a5b9bb255
|
4
|
+
data.tar.gz: 2942ea04877714d782ba2d53e71d1f1bdeba6f3d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 457365bd5516dd6d2c1b4521e99401b60c2e1b74b7c3722737b099c28a2411628de09cf3ad29b458945cbd2a554f6baf4a20736729adc773fa840a2aa0156525
|
7
|
+
data.tar.gz: bc9e902749bb4844b968a142477cd90bcb4f7d2921e0d28ab24108cc0a692bed1e3e35044b350e02af6d301664dcbf9064eda0dfcd1d40da9baf81a79c2e307a
|
data/lib/iif/parser/version.rb
CHANGED
data/lib/iif/parser.rb
CHANGED
@@ -63,7 +63,7 @@ module Iif
|
|
63
63
|
entry.type = fields[0]
|
64
64
|
|
65
65
|
fields[1..-1].each_with_index do |field, idx|
|
66
|
-
field.
|
66
|
+
field.strip! if field.is_a?(String)
|
67
67
|
entry.send(definition[idx] + "=", field)
|
68
68
|
end
|
69
69
|
entry.amount = BigDecimal.new(entry.amount.gsub(',','')) unless entry.amount.to_s == ""
|
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.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Christian Pelczarski
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-12-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|