iif-parser 2.0.0 → 2.0.1
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 656936d865f1ccbdc36401d0e952f202cbd9c9319e6056aff64500caefd50a5d
|
4
|
+
data.tar.gz: 791300cf9f0a83c477d4f7e2a843d20e51419a2e3415c4ee5cab8e101a3ff6a1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c06a42a202982534a58ea24c5b6d877ab0f0583115e2fed0b7dea87129dd6072a0fc35c6009cbcb6291f956250f4820ba205a95ba4e52658b59ccb4b81331226
|
7
|
+
data.tar.gz: 8565ae63a6b57849af3c9a0287301e16bc7342cf69d489f65645359bfbef8dd37b251adf9e495e7f9d53878f717966993c6716c99ea2d95a3fb626d23c387d80
|
data/lib/iif/parser.rb
CHANGED
@@ -70,7 +70,7 @@ module Iif
|
|
70
70
|
next unless definition and definition[idx]
|
71
71
|
entry.send(definition[idx] + "=", field)
|
72
72
|
end
|
73
|
-
entry.amount = BigDecimal
|
73
|
+
entry.amount = BigDecimal(entry.amount.gsub(/(,)/,'')) unless entry.amount.to_s == ""
|
74
74
|
entry.date = convert_date(entry.date) if entry.date and not entry.date == ""
|
75
75
|
@entries.push(entry)
|
76
76
|
end
|
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: 2.0.
|
4
|
+
version: 2.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Christian Pelczarski
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-03-
|
11
|
+
date: 2020-03-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rchardet
|