iif-parser 1.0.1 → 1.0.2

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
  SHA1:
3
- metadata.gz: 422e07b4941737921da32088640c46efa9b3678e
4
- data.tar.gz: 6e188f09e446b4fc899f71bb04704de29e373f5f
3
+ metadata.gz: 9ac561c50aceb839bb2c07ea5c157d9c522a8ced
4
+ data.tar.gz: 8a38c6925e2fb3f6a011fe446e4b0c0c44d342ac
5
5
  SHA512:
6
- metadata.gz: d3ebce6dee4f995c515923dd210d406147ef89d6839c405fae3e8e5134f3cd70b16cafdae4c23719ce25c30edb6c182b8601a0c513e11d2f94ea90d42b1231ab
7
- data.tar.gz: 82c369c3b7614e33ff01403900b348d81ebcceed5ae40551ad83b18267f712c4dad5e97a6ea16c3201d1f22e3afc2b6766a55ed8fb05cd51cfb99f5fd5db6fea
6
+ metadata.gz: 2f069584da7e36bc2b868e044dbed5af989bd71157b8bd8f6666011ec959b017f3d8f96309d3f532a86f800df2e0db37ed40193bcc4d0beb7546fdde5d4b1cdf
7
+ data.tar.gz: 069325f37314b3139a54dfd2f3e818f6972b0dd326a2a95b80ae9597dfa58bd8bbc2cfb52dd342ce8b0bfb7939d416dae695798b989b5e1fc08de1200007f3d2
data/.gitignore CHANGED
@@ -8,3 +8,6 @@
8
8
  /spec/reports/
9
9
  /tmp/
10
10
  .DS_Store
11
+ .ruby-version
12
+ *.gem
13
+ *.sess
@@ -1,5 +1,5 @@
1
1
  module Iif
2
2
  class Parser
3
- VERSION = "1.0.1"
3
+ VERSION = "1.0.2"
4
4
  end
5
5
  end
data/lib/iif/parser.rb CHANGED
@@ -67,7 +67,7 @@ module Iif
67
67
  end
68
68
 
69
69
  entry.amount = BigDecimal.new(entry.amount) if entry.amount
70
- entry.date = convert_date(entry.date) if entry.date
70
+ entry.date = convert_date(entry.date) if entry.date and not entry.date == ""
71
71
 
72
72
  @entries.push(entry)
73
73
  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.1
4
+ version: 1.0.2
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-08-05 00:00:00.000000000 Z
11
+ date: 2015-09-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec