iif-parser 1.0.2 → 1.0.3
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.rb +1 -1
- data/lib/iif/parser/version.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: 8175657d50214165be74941d8630a6222c94132f
|
4
|
+
data.tar.gz: a75a8a3cd07af6eefecf2574af1b7d4a8b6ca97e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 32ad3ac30cda328fb66dbf38dc634f8647b52eefc9481976a0bda27e227737fb1f9bd52d214ecf671368fd351abd3fca771bca8bb412fbd0daaa738ccff90d66
|
7
|
+
data.tar.gz: 39aa3c8ea5dff0ceaf6e391c2d03eaa9e2687ca4c9f3e98c13e0e95717e03ce1e54273e88a80d8f1e27d6dd3f6f32f24706f934f6bbc6d0ef53e0b52da8b49d5
|
data/lib/iif/parser.rb
CHANGED
@@ -66,7 +66,7 @@ module Iif
|
|
66
66
|
entry.send(definition[idx] + "=", field)
|
67
67
|
end
|
68
68
|
|
69
|
-
entry.amount = BigDecimal.new(entry.amount) if entry.amount
|
69
|
+
entry.amount = BigDecimal.new(entry.amount.gsub(',','')) if entry.amount
|
70
70
|
entry.date = convert_date(entry.date) if entry.date and not entry.date == ""
|
71
71
|
|
72
72
|
@entries.push(entry)
|
data/lib/iif/parser/version.rb
CHANGED
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.3
|
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-10-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|