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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '08b288b83566309ff5eb330807647bc4165f9e9379159507db76af3f9f27bcf7'
4
- data.tar.gz: b962a919f615ba763618503a7e63603921c2d3db6ff72884bb895499d66e777f
3
+ metadata.gz: 656936d865f1ccbdc36401d0e952f202cbd9c9319e6056aff64500caefd50a5d
4
+ data.tar.gz: 791300cf9f0a83c477d4f7e2a843d20e51419a2e3415c4ee5cab8e101a3ff6a1
5
5
  SHA512:
6
- metadata.gz: 4eb55c8670671f919e67473e70bd75ff6f65b879b73e6492609be017421ea4f487ef5230a9cae1e511c9e7cb72eacc55f8f77307b4b84c84254aaffc2404fc1f
7
- data.tar.gz: 5211bf409dca8f886c1d05c4b90e83c18c525586dc564aeaa352cce93f71445e27b4dd8ad0d46376b82ead2e781a431148a9158cf948e84bab80545bf21bc95e
6
+ metadata.gz: c06a42a202982534a58ea24c5b6d877ab0f0583115e2fed0b7dea87129dd6072a0fc35c6009cbcb6291f956250f4820ba205a95ba4e52658b59ccb4b81331226
7
+ data.tar.gz: 8565ae63a6b57849af3c9a0287301e16bc7342cf69d489f65645359bfbef8dd37b251adf9e495e7f9d53878f717966993c6716c99ea2d95a3fb626d23c387d80
@@ -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.new(entry.amount.gsub(/(,)/,'')) unless entry.amount.to_s == ""
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
@@ -1,5 +1,5 @@
1
1
  module Iif
2
2
  class Parser
3
- VERSION = "2.0.0"
3
+ VERSION = "2.0.1"
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: 2.0.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-04 00:00:00.000000000 Z
11
+ date: 2020-03-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rchardet