ofx 0.3.2 → 0.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/README.rdoc +5 -0
- data/lib/ofx/parser/ofx102.rb +133 -66
- data/lib/ofx/parser/ofx103.rb +7 -0
- data/lib/ofx/parser.rb +5 -3
- data/lib/ofx/sign_on.rb +1 -0
- data/lib/ofx/statement.rb +11 -0
- data/lib/ofx/status.rb +12 -0
- data/lib/ofx/transaction.rb +1 -0
- data/lib/ofx/version.rb +1 -1
- data/lib/ofx.rb +19 -14
- data/spec/ofx/account_spec.rb +67 -17
- data/spec/ofx/ofx102_spec.rb +27 -6
- data/spec/ofx/ofx103_spec.rb +50 -0
- data/spec/ofx/ofx211_spec.rb +25 -20
- data/spec/ofx/ofx_parser_spec.rb +24 -3
- data/spec/ofx/sign_on_spec.rb +4 -0
- data/spec/ofx/statement_spec.rb +131 -0
- data/spec/ofx/status_spec.rb +47 -0
- data/spec/ofx/transaction_spec.rb +54 -7
- metadata +36 -71
- data/.gitignore +0 -4
- data/.rspec +0 -1
- data/Gemfile +0 -2
- data/Gemfile.lock +0 -49
- data/ofx.gemspec +0 -34
- data/spec/fixtures/avatar.gif +0 -0
- data/spec/fixtures/bb.ofx +0 -700
- data/spec/fixtures/creditcard.ofx +0 -79
- data/spec/fixtures/invalid_version.ofx +0 -308
- data/spec/fixtures/sample.ofx +0 -314
- data/spec/fixtures/utf8.ofx +0 -308
- data/spec/fixtures/v211.ofx +0 -85
data/.gitignore
DELETED
data/.rspec
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
--color --format documentation
|
data/Gemfile
DELETED
data/Gemfile.lock
DELETED
@@ -1,49 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: .
|
3
|
-
specs:
|
4
|
-
ofx (0.3.2)
|
5
|
-
nokogiri
|
6
|
-
|
7
|
-
GEM
|
8
|
-
remote: https://rubygems.org/
|
9
|
-
specs:
|
10
|
-
coderay (1.0.9)
|
11
|
-
columnize (0.3.6)
|
12
|
-
debugger (1.6.1)
|
13
|
-
columnize (>= 0.3.1)
|
14
|
-
debugger-linecache (~> 1.2.0)
|
15
|
-
debugger-ruby_core_source (~> 1.2.3)
|
16
|
-
debugger-linecache (1.2.0)
|
17
|
-
debugger-ruby_core_source (1.2.3)
|
18
|
-
diff-lcs (1.1.3)
|
19
|
-
method_source (0.8.2)
|
20
|
-
mini_portile (0.5.1)
|
21
|
-
nokogiri (1.6.0)
|
22
|
-
mini_portile (~> 0.5.0)
|
23
|
-
pry (0.9.12.2)
|
24
|
-
coderay (~> 1.0.5)
|
25
|
-
method_source (~> 0.8)
|
26
|
-
slop (~> 3.4)
|
27
|
-
pry-debugger (0.2.2)
|
28
|
-
debugger (~> 1.3)
|
29
|
-
pry (~> 0.9.10)
|
30
|
-
rake (10.1.0)
|
31
|
-
rspec (2.7.0)
|
32
|
-
rspec-core (~> 2.7.0)
|
33
|
-
rspec-expectations (~> 2.7.0)
|
34
|
-
rspec-mocks (~> 2.7.0)
|
35
|
-
rspec-core (2.7.1)
|
36
|
-
rspec-expectations (2.7.0)
|
37
|
-
diff-lcs (~> 1.1.2)
|
38
|
-
rspec-mocks (2.7.0)
|
39
|
-
slop (3.4.6)
|
40
|
-
|
41
|
-
PLATFORMS
|
42
|
-
ruby
|
43
|
-
|
44
|
-
DEPENDENCIES
|
45
|
-
ofx!
|
46
|
-
pry
|
47
|
-
pry-debugger
|
48
|
-
rake
|
49
|
-
rspec (~> 2.7)
|
data/ofx.gemspec
DELETED
@@ -1,34 +0,0 @@
|
|
1
|
-
# -*- encoding: utf-8 -*-
|
2
|
-
$:.push File.expand_path("../lib", __FILE__)
|
3
|
-
require "ofx/version"
|
4
|
-
|
5
|
-
Gem::Specification.new do |s|
|
6
|
-
s.name = "ofx"
|
7
|
-
s.version = OFX::Version::STRING
|
8
|
-
s.platform = Gem::Platform::RUBY
|
9
|
-
s.authors = ["Nando Vieira", "Anna Cruz"]
|
10
|
-
s.email = ["fnando.vieira@gmail.com", "anna.cruz@gmail.com"]
|
11
|
-
s.homepage = "http://rubygems.org/gems/ofx"
|
12
|
-
s.summary = "A simple OFX (Open Financial Exchange) parser built on top of Nokogiri. Currently supports OFX 102, 200 and 211."
|
13
|
-
s.description = <<-TXT
|
14
|
-
A simple OFX (Open Financial Exchange) parser built on top of Nokogiri.
|
15
|
-
Currently supports OFX 102, 200 and 211.
|
16
|
-
|
17
|
-
Usage:
|
18
|
-
|
19
|
-
OFX("sample.ofx") do |ofx|
|
20
|
-
p ofx
|
21
|
-
end
|
22
|
-
TXT
|
23
|
-
|
24
|
-
s.files = `git ls-files`.split("\n")
|
25
|
-
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
26
|
-
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
27
|
-
s.require_paths = ["lib"]
|
28
|
-
|
29
|
-
s.add_dependency "nokogiri"
|
30
|
-
s.add_development_dependency "rspec", "~> 2.7"
|
31
|
-
s.add_development_dependency "rake"
|
32
|
-
s.add_development_dependency "pry"
|
33
|
-
s.add_development_dependency "pry-debugger"
|
34
|
-
end
|
data/spec/fixtures/avatar.gif
DELETED
Binary file
|