iif-parser 1.0.6 → 1.0.7
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: 0cf85b1f3ab187e83474bb1e76b6b9dd76d140ff
|
4
|
+
data.tar.gz: d011219dd0a776c1db1ddde490cc39ddd6635a7e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7b6fa2024a8d114d92bdc21285b2281c11c2758b80e9f9f32e2fbc408a0f27cd7dca16f861b85f586ac1b13206baf368c73923e192f36cea67d0f5f8d8a3a075
|
7
|
+
data.tar.gz: 639671895ec46b523ce3d7de85b9ec77ee69a8083eec2a7f07f79fcede93e986622509e5a94400277ee04d26e5bedb26f3cb33331da1cd7798d9ae9e22b6c16a
|
data/lib/iif/parser.rb
CHANGED
@@ -66,7 +66,7 @@ module Iif
|
|
66
66
|
field.strip! if field.is_a?(String)
|
67
67
|
entry.send(definition[idx] + "=", field)
|
68
68
|
end
|
69
|
-
entry.amount = BigDecimal.new(entry.amount.gsub('
|
69
|
+
entry.amount = BigDecimal.new(entry.amount.gsub(/(,|")/,'')) unless entry.amount.to_s == ""
|
70
70
|
entry.date = convert_date(entry.date) if entry.date and not entry.date == ""
|
71
71
|
entry.memo.gsub!(/\A"|"\Z/, '') if entry.memo
|
72
72
|
|
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.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Christian Pelczarski
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-04-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|