fnb_pdf_to_csv 0.0.2 → 0.0.3

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: 183a2744177796522f8d2cb8fc99bf5edff5358e
4
- data.tar.gz: 56f3cb527da92c169b6e5bb44690a4e4328aaa23
3
+ metadata.gz: b05b4150dc9689a05f57fc8b4e893e5a961b1c7a
4
+ data.tar.gz: 8336c2bd03ff4028fe672f8d211ee4c50b16ffe7
5
5
  SHA512:
6
- metadata.gz: 9a5cfa42da23d78bec0bd6abf01122402e0bb5054fb20d08e1942f8b7b69aca9988bb618eb7dc19a0c51f4af2482a8e17c9fc4cdf143742c4c896193ba07105b
7
- data.tar.gz: 2a4eda17fb67e874d2883f8d6f4ae1bc03f41f41f2bb4d3cbf12a65de1a4d5d0cb12cd9c1c2807b9d2bdd561eb122a3522e986f175eef727be5e93262498b78d
6
+ metadata.gz: d829fb41bb845e397ba4860acfba0fa055bf5b0d3878b09d3b5c05f37cc620a1bd07272e90baa26689d6841bb46dd2d957fb46e848fc65dfae09fa1bc468b2c5
7
+ data.tar.gz: 5521daf09b787beff2e444b3819205a5d7a002dc03f82af2b681cfed86cd20a45cb662be509a612578824241c1b3c5ef13f415dda259579e79bb56ec46fa85e6
@@ -5,7 +5,7 @@ require 'csv'
5
5
  class FnbPdfToCsv
6
6
  attr_reader :lines
7
7
 
8
- AMOUNT = '\(?[0-9][0-9,]*\.[0-9]{2}\)?(Cr)?'
8
+ AMOUNT = '\(?[0-9][0-9,]*\.[0-9]{2}\)?\s?(Cr)?'
9
9
  DATE = '\d{2} \w{3}'
10
10
 
11
11
  def initialize file
@@ -1,3 +1,3 @@
1
1
  class FnbPdfToCsv
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fnb_pdf_to_csv
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jurgens du Toit
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-08-23 00:00:00.000000000 Z
11
+ date: 2015-11-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pdf-reader