csv2qif 1.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  :type => 'Bank',
3
3
  :header => 4,
4
- #:date_format => "%m/%d/%Y",
4
+ :date_format => "%m/%d/%y",
5
5
  :date => lambda { a },
6
6
  :payee => lambda { d },
7
7
  :amount => lambda { e && !e.empty? ? -e.to_f : f },
@@ -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
@@ -0,0 +1,9 @@
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
@@ -1,3 +1,3 @@
1
1
  module Csv2qif
2
- VERSION = "1.0"
2
+ VERSION = "1.0.1"
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 spec/data/s1.csv}
12
+ {:s1 => %w{-b schwabone_test 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'
4
+ version: 1.0.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-09-23 00:00:00.000000000 Z
12
+ date: 2012-09-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec
@@ -50,6 +50,7 @@ files:
50
50
  - config/paypal.rb
51
51
  - config/schwabchecking.rb
52
52
  - config/schwabone.yml
53
+ - config/schwabone_test.yml
53
54
  - csv2qif.gemspec
54
55
  - lib/csv2qif.rb
55
56
  - lib/csv2qif/cli.rb