iif-parser 1.0.2 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9ac561c50aceb839bb2c07ea5c157d9c522a8ced
4
- data.tar.gz: 8a38c6925e2fb3f6a011fe446e4b0c0c44d342ac
3
+ metadata.gz: 8175657d50214165be74941d8630a6222c94132f
4
+ data.tar.gz: a75a8a3cd07af6eefecf2574af1b7d4a8b6ca97e
5
5
  SHA512:
6
- metadata.gz: 2f069584da7e36bc2b868e044dbed5af989bd71157b8bd8f6666011ec959b017f3d8f96309d3f532a86f800df2e0db37ed40193bcc4d0beb7546fdde5d4b1cdf
7
- data.tar.gz: 069325f37314b3139a54dfd2f3e818f6972b0dd326a2a95b80ae9597dfa58bd8bbc2cfb52dd342ce8b0bfb7939d416dae695798b989b5e1fc08de1200007f3d2
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)
@@ -1,5 +1,5 @@
1
1
  module Iif
2
2
  class Parser
3
- VERSION = "1.0.2"
3
+ VERSION = "1.0.3"
4
4
  end
5
5
  end
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.2
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-09-10 00:00:00.000000000 Z
11
+ date: 2015-10-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec