nordea-rb 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +1 -0
- data/README.markdown +0 -1
- data/VERSION +1 -1
- data/bin/nordea +1 -1
- data/lib/nordea/version.rb +4 -2
- data/lib/nordea.rb +8 -11
- data/nordea-rb.gemspec +88 -0
- data/test/test_helper.rb +1 -1
- metadata +3 -1
data/.gitignore
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
pkg/*
|
data/README.markdown
CHANGED
@@ -132,7 +132,6 @@ Show the balances for the accounts named "Savings" and "Salary". Login from keyc
|
|
132
132
|
|
133
133
|
## TODO
|
134
134
|
|
135
|
-
- Support for transfering money between your own accounts
|
136
135
|
- Clean up the API and class architecture
|
137
136
|
- Add support for paging in transactions list
|
138
137
|
- Build an iPhone optimized web app which uses nordea-rb as backend so we finally can have a better mobile bank
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.1
|
data/bin/nordea
CHANGED
data/lib/nordea/version.rb
CHANGED
data/lib/nordea.rb
CHANGED
@@ -1,21 +1,18 @@
|
|
1
|
-
require 'rubygems'
|
2
1
|
require 'open-uri'
|
3
2
|
require 'net/https'
|
4
3
|
begin
|
5
4
|
require 'hpricot'
|
6
|
-
rescue LoadError
|
7
|
-
puts "Hpricot is missing. Run `
|
5
|
+
rescue LoadError
|
6
|
+
puts "Hpricot is missing. Run `gem install hpricot` to install"
|
8
7
|
exit
|
9
8
|
end
|
10
9
|
|
11
|
-
|
12
|
-
|
13
|
-
require
|
14
|
-
require
|
15
|
-
require
|
16
|
-
require
|
17
|
-
require 'nordea/transaction'
|
18
|
-
require 'nordea/version'
|
10
|
+
require "nordea/request"
|
11
|
+
require "nordea/resources"
|
12
|
+
require "nordea/session"
|
13
|
+
require "nordea/support"
|
14
|
+
require "nordea/transaction"
|
15
|
+
require "nordea/version"
|
19
16
|
|
20
17
|
module Nordea
|
21
18
|
class InvalidLogin < StandardError; end
|
data/nordea-rb.gemspec
ADDED
@@ -0,0 +1,88 @@
|
|
1
|
+
# Generated by jeweler
|
2
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
|
4
|
+
# -*- encoding: utf-8 -*-
|
5
|
+
|
6
|
+
Gem::Specification.new do |s|
|
7
|
+
s.name = %q{nordea-rb}
|
8
|
+
s.version = "0.2.1"
|
9
|
+
|
10
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
+
s.authors = ["Martin Str\303\266m"]
|
12
|
+
s.date = %q{2009-10-24}
|
13
|
+
s.default_executable = %q{nordea}
|
14
|
+
s.description = %q{Ruby library for accessing your Nordea Bank account and transferring money between your own accounts.}
|
15
|
+
s.email = %q{name@my-domain.se}
|
16
|
+
s.executables = ["nordea"]
|
17
|
+
s.extra_rdoc_files = [
|
18
|
+
"LICENSE",
|
19
|
+
"README.markdown"
|
20
|
+
]
|
21
|
+
s.files = [
|
22
|
+
".gitignore",
|
23
|
+
"LICENSE",
|
24
|
+
"README.markdown",
|
25
|
+
"Rakefile",
|
26
|
+
"VERSION",
|
27
|
+
"bin/nordea",
|
28
|
+
"lib/nordea.rb",
|
29
|
+
"lib/nordea/request.rb",
|
30
|
+
"lib/nordea/resources.rb",
|
31
|
+
"lib/nordea/resources/account.rb",
|
32
|
+
"lib/nordea/resources/card.rb",
|
33
|
+
"lib/nordea/resources/fund.rb",
|
34
|
+
"lib/nordea/resources/loan.rb",
|
35
|
+
"lib/nordea/resources/resource.rb",
|
36
|
+
"lib/nordea/session.rb",
|
37
|
+
"lib/nordea/support.rb",
|
38
|
+
"lib/nordea/transaction.rb",
|
39
|
+
"lib/nordea/version.rb",
|
40
|
+
"nordea-rb.gemspec",
|
41
|
+
"test/fixtures/account.wml",
|
42
|
+
"test/fixtures/account_10_transactions.wml",
|
43
|
+
"test/fixtures/account_15_transactions.wml",
|
44
|
+
"test/fixtures/account_5_transactions.wml",
|
45
|
+
"test/fixtures/accounts.wml",
|
46
|
+
"test/fixtures/accounts_overview.wml",
|
47
|
+
"test/fixtures/error.wml",
|
48
|
+
"test/fixtures/logged_in_main_menu.wml",
|
49
|
+
"test/fixtures/login.wml",
|
50
|
+
"test/fixtures/transfer_to_own_account.wml",
|
51
|
+
"test/fixtures/transfers.wml",
|
52
|
+
"test/fixtures/transfers_1.wml",
|
53
|
+
"test/fixtures/transfers_2.wml",
|
54
|
+
"test/fixtures/transfers_3.wml",
|
55
|
+
"test/test_account.rb",
|
56
|
+
"test/test_functional.rb",
|
57
|
+
"test/test_helper.rb",
|
58
|
+
"test/test_nordea.rb",
|
59
|
+
"test/test_request.rb",
|
60
|
+
"test/test_session.rb",
|
61
|
+
"test/test_transaction.rb"
|
62
|
+
]
|
63
|
+
s.homepage = %q{http://github.com/haraldmartin/nordea-rb}
|
64
|
+
s.rdoc_options = ["--charset=UTF-8"]
|
65
|
+
s.require_paths = ["lib"]
|
66
|
+
s.rubygems_version = %q{1.3.5}
|
67
|
+
s.summary = %q{Ruby library for accessing your Nordea Bank account and transferring money between your own accounts.}
|
68
|
+
s.test_files = [
|
69
|
+
"test/test_account.rb",
|
70
|
+
"test/test_functional.rb",
|
71
|
+
"test/test_helper.rb",
|
72
|
+
"test/test_nordea.rb",
|
73
|
+
"test/test_request.rb",
|
74
|
+
"test/test_session.rb",
|
75
|
+
"test/test_transaction.rb"
|
76
|
+
]
|
77
|
+
|
78
|
+
if s.respond_to? :specification_version then
|
79
|
+
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
80
|
+
s.specification_version = 3
|
81
|
+
|
82
|
+
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
83
|
+
else
|
84
|
+
end
|
85
|
+
else
|
86
|
+
end
|
87
|
+
end
|
88
|
+
|
data/test/test_helper.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nordea-rb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- "Martin Str\xC3\xB6m"
|
@@ -23,6 +23,7 @@ extra_rdoc_files:
|
|
23
23
|
- LICENSE
|
24
24
|
- README.markdown
|
25
25
|
files:
|
26
|
+
- .gitignore
|
26
27
|
- LICENSE
|
27
28
|
- README.markdown
|
28
29
|
- Rakefile
|
@@ -40,6 +41,7 @@ files:
|
|
40
41
|
- lib/nordea/support.rb
|
41
42
|
- lib/nordea/transaction.rb
|
42
43
|
- lib/nordea/version.rb
|
44
|
+
- nordea-rb.gemspec
|
43
45
|
- test/fixtures/account.wml
|
44
46
|
- test/fixtures/account_10_transactions.wml
|
45
47
|
- test/fixtures/account_15_transactions.wml
|