iif-parser 1.0.4 → 1.0.5
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 -0
- 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: 4f29c5351cd5a7388b331097d6bf08b3053d4db7
|
4
|
+
data.tar.gz: 11c86641b2b41893c62965e16707160d6cee9d75
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 08147b9793ba82b9beaaec69a1023b3289ea7ca209965a76531bfe1799d66c9b435fde873ab0fc4e0d977dc1a726d94ca38a903b616c90957614999e8b15951a
|
7
|
+
data.tar.gz: 08501d2367fa76f519c925d472d6bcf2215f7c2a68ae50e845a125531707f7a2187c86dc516e89598b572a6f22c0a66a51548d08797931b8d53210327369beb3
|
data/lib/iif/parser/version.rb
CHANGED
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
|
+
field.lstrip! if field.is_a?(String)
|
66
67
|
entry.send(definition[idx] + "=", field)
|
67
68
|
end
|
68
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.5
|
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-10-
|
11
|
+
date: 2015-10-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|