-
Notifications
You must be signed in to change notification settings - Fork 2
/
coop_to_ofx.gemspec
78 lines (55 loc) · 4.56 KB
/
coop_to_ofx.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
# -*- encoding: utf-8 -*-
Gem::Specification.new do |s|
s.name = %q{coop_to_ofx}
s.version = "1.0.1"
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Matt Patterson"]
s.date = %q{2009-07-10}
s.default_executable = %q{coop_to_ofx}
s.description = %q{Convert statement HTML from the Co-operative bank's online banking system to OFX for import into financial apps.
= Usage
For a Current Account:
1. Save the HTML source of the statement page.
coop_to_ofx --current /path/to/statement.html
Will produce /path/to/statement.ofx
For a Credit Card:
1. Save the HTML source of the statement page
coop_to_ofx /path/to/statement.html
Or
coop_to_ofx --credit /path/to/statement.html
Will produce /path/to/statement.ofx
To produce OFX 1 SGML (rather than OFX 2 XML):
coop_to_ofx --ofx1 /path/to/statement.html
coop_to_ofx --ofx1 --current /path/to/statement.html
To show all the options:
coop_to_ofx --help
== To do
XML / SGML validation of output against the specs}
s.email = %q{[email protected]}
s.executables = ["coop_to_ofx"]
s.extra_rdoc_files = ["README.rdoc"]
s.files = ["Rakefile", "README.rdoc", "bin/coop_to_ofx", "spec/coop_scraper", "spec/coop_scraper/base_spec.rb", "spec/coop_scraper/credit_card_spec.rb", "spec/coop_scraper/current_account_spec.rb", "spec/fixtures", "spec/fixtures/credit_card", "spec/fixtures/credit_card/cc_statement_fixture.html", "spec/fixtures/credit_card/foreign_transaction_fixture.html", "spec/fixtures/credit_card/interest_transaction_fixture.html", "spec/fixtures/credit_card/maybe.txt", "spec/fixtures/credit_card/merchandise_interest_fixture.html", "spec/fixtures/credit_card/normal_transaction_fixture.html", "spec/fixtures/credit_card/overlimit_charge_fixture.html", "spec/fixtures/credit_card/payment_in_transaction_fixture.html", "spec/fixtures/credit_card/simple_cc_statement.ofx", "spec/fixtures/credit_card/statement_with_interest_line_fixture.html", "spec/fixtures/current_account", "spec/fixtures/current_account/cash_point_transaction_fixture.html", "spec/fixtures/current_account/current_account_fixture.html", "spec/fixtures/current_account/current_account_fixture.ofx", "spec/fixtures/current_account/debit_interest_transaction_fixture.html", "spec/fixtures/current_account/no_transactions_fixture.html", "spec/fixtures/current_account/normal_transaction_fixture.html", "spec/fixtures/current_account/payment_in_transaction_fixture.html", "spec/fixtures/current_account/service_charge_transaction_fixture.html", "spec/fixtures/current_account/transfer_transaction_fixture.html", "spec/ofx", "spec/ofx/statement", "spec/ofx/statement/base_spec.rb", "spec/ofx/statement/credit_card_spec.rb", "spec/ofx/statement/current_account_spec.rb", "spec/ofx/statement/output", "spec/ofx/statement/output/base_spec.rb", "spec/ofx/statement/output/builder_spec.rb", "spec/ofx/statement/output/credit_card_spec.rb", "spec/ofx/statement/output/current_account_spec.rb", "spec/ofx/statement/transaction_spec.rb", "spec/spec.opts", "spec/spec_helper.rb", "lib/coop_scraper", "lib/coop_scraper/base.rb", "lib/coop_scraper/credit_card.rb", "lib/coop_scraper/current_account.rb", "lib/coop_scraper/version.rb", "lib/coop_scraper.rb", "lib/ofx", "lib/ofx/statement", "lib/ofx/statement/base.rb", "lib/ofx/statement/credit_card.rb", "lib/ofx/statement/current_account.rb", "lib/ofx/statement/output", "lib/ofx/statement/output/base.rb", "lib/ofx/statement/output/builder.rb", "lib/ofx/statement/output/credit_card.rb", "lib/ofx/statement/output/current_account.rb", "lib/ofx/statement/transaction.rb", "lib/ofx/statement.rb", "lib/ofx.rb"]
s.homepage = %q{http://reprocessed.org/}
s.rdoc_options = ["--main", "README.rdoc"]
s.require_paths = ["lib"]
s.rubyforge_project = %q{coop_to_ofx}
s.rubygems_version = %q{1.3.4}
s.summary = %q{Convert Co-operative bank HTML statements into OFX}
if s.respond_to? :specification_version then
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
s.specification_version = 3
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
s.add_runtime_dependency(%q<hpricot>, ["~> 0.6.0"])
s.add_runtime_dependency(%q<builder>, ["~> 2.1.0"])
s.add_development_dependency(%q<rspec>, [">= 0"])
else
s.add_dependency(%q<hpricot>, ["~> 0.6.0"])
s.add_dependency(%q<builder>, ["~> 2.1.0"])
s.add_dependency(%q<rspec>, [">= 0"])
end
else
s.add_dependency(%q<hpricot>, ["~> 0.6.0"])
s.add_dependency(%q<builder>, ["~> 2.1.0"])
s.add_dependency(%q<rspec>, [">= 0"])
end
end