csv2qif 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,8 +1,9 @@
1
1
  {
2
- :type => 'Bank',
3
- :header => 1,
4
- :where => lambda { %w{Completed Refunded}.include? f},
5
- :date => lambda { a },
6
- :payee => lambda { [d,e,g].join ', '},
7
- :amount => lambda { h },
2
+ type: 'Bank',
3
+ header: 1,
4
+ date_format: '%m/%d/%Y',
5
+ where: lambda { %w{Completed Refunded}.include? f },
6
+ date: lambda { a },
7
+ payee: lambda { [d, e, g].join ', ' },
8
+ amount: lambda { h }
8
9
  }
@@ -1,7 +1,7 @@
1
1
  type: Bank
2
2
  header: 2
3
3
  date_format: |
4
- %m/%d/%y
4
+ %m/%d/%Y
5
5
  where: |
6
6
  d !='SWMXX' and not e =~ /FOR INV CKG OVERDRAFT \d+-\d+ type: IC OVERDRAFT TRF/
7
7
  date: a
@@ -1,3 +1,3 @@
1
1
  module Csv2qif
2
- VERSION = "1.0.1"
2
+ VERSION = "1.0.2"
3
3
  end
@@ -9,7 +9,7 @@ describe Csv2qif::CLI, "execute" do
9
9
  cmd_exec(%w{-h}).should =~ /Usage:/
10
10
  end
11
11
 
12
- {:s1 => %w{-b schwabone_test spec/data/s1.csv}
12
+ {:s1 => %w{-b schwabone spec/data/s1.csv}
13
13
  }.each do |name, arguments|
14
14
  it "should convert #{name}" do
15
15
  cmd_exec(arguments).should be_empty
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: csv2qif
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -50,7 +50,6 @@ files:
50
50
  - config/paypal.rb
51
51
  - config/schwabchecking.rb
52
52
  - config/schwabone.yml
53
- - config/schwabone_test.yml
54
53
  - csv2qif.gemspec
55
54
  - lib/csv2qif.rb
56
55
  - lib/csv2qif/cli.rb
@@ -1,9 +0,0 @@
1
- type: Bank
2
- header: 2
3
- date_format: |
4
- %m/%d/%Y
5
- where: |
6
- d !='SWMXX' and not e =~ /FOR INV CKG OVERDRAFT \d+-\d+ type: IC OVERDRAFT TRF/
7
- date: a
8
- payee: e
9
- amount: g