hbci4jruby 0.0.3 → 0.1.0
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 +4 -4
- data/README.md +4 -0
- data/bin/hbci4jruby +2 -2
- data/examples/test.rb +1 -1
- data/hbci4jruby.gemspec +1 -1
- data/lib/hbci4jruby/banking_passport.rb +1 -1
- data/lib/hbci4jruby/hbci_callback.rb +1 -1
- data/lib/hbci4jruby/turnover.rb +1 -1
- data/lib/hbci4jruby/version.rb +2 -2
- data/lib/hbci4jruby.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 811090e20c77779f5f48aaea7d88315ee2f6086f
|
4
|
+
data.tar.gz: 1f790721ed9fcf7e221555661e42834396091c0d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 513698a8c1e114ec31d94163f11ec931ef71fd23d0b8be4bf481d6c797335a878bf95fe40c57720ce9b48f4363b87ecb3eede736aa3f877aa0dedc310111a0c3
|
7
|
+
data.tar.gz: 5483110aeb2dd5164c49725b5e46cd2adffe9d929a7545158138476ef1731c8aa20fc99e976bd4394b7e2d8b5848f1ac534f70b2cf43189a77210bde60a72cdb
|
data/README.md
CHANGED
data/bin/hbci4jruby
CHANGED
@@ -22,11 +22,11 @@ action = ARGV[0]
|
|
22
22
|
params = load_json_arg(ARGV[1])
|
23
23
|
passport = load_json_arg(ARGV[2])
|
24
24
|
|
25
|
-
banking_passport =
|
25
|
+
banking_passport = Hbci4jruby::BankingPassport.new
|
26
26
|
banking_passport.attributes = passport
|
27
27
|
|
28
28
|
if action === 'turnover'
|
29
|
-
list =
|
29
|
+
list = Hbci4jruby::Turnover.new.list(banking_passport, params)
|
30
30
|
STDOUT.puts(JSON.dump(list))
|
31
31
|
else
|
32
32
|
STDERR.puts("Unknow action #{action}")
|
data/examples/test.rb
CHANGED
data/hbci4jruby.gemspec
CHANGED
@@ -5,7 +5,7 @@ require 'hbci4jruby/version'
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |spec|
|
7
7
|
spec.name = "hbci4jruby"
|
8
|
-
spec.version =
|
8
|
+
spec.version = Hbci4jruby::VERSION
|
9
9
|
spec.authors = ["Jens Bissinger"]
|
10
10
|
spec.email = ["mail@jens-bissinger.de"]
|
11
11
|
spec.summary = %q{HBCI library based on HBCI4Java.}
|
data/lib/hbci4jruby/turnover.rb
CHANGED
data/lib/hbci4jruby/version.rb
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
module
|
2
|
-
VERSION = '0.0
|
1
|
+
module Hbci4jruby
|
2
|
+
VERSION = '0.1.0'
|
3
3
|
end
|
data/lib/hbci4jruby.rb
CHANGED
@@ -11,7 +11,7 @@ require File.join(File.dirname(__FILE__), 'hbci4jruby', 'banking_passport')
|
|
11
11
|
require File.join(File.dirname(__FILE__), 'hbci4jruby', 'hbci_callback')
|
12
12
|
require File.join(File.dirname(__FILE__), 'hbci4jruby', 'turnover')
|
13
13
|
|
14
|
-
HBCIUtils.init(nil,
|
14
|
+
HBCIUtils.init(nil, Hbci4jruby::HBCICallback.new)
|
15
15
|
HBCIUtils.setParam("client.product.name","HBCI4Java")
|
16
16
|
HBCIUtils.setParam("client.product.version","2.5")
|
17
17
|
HBCIUtils.setParam("client.passport.default","PinTan")
|
@@ -21,5 +21,5 @@ HBCIUtils.setParam("client.passport.PinTan.checkcert","1")
|
|
21
21
|
HBCIUtils.setParam("client.passport.PinTan.init","1")
|
22
22
|
HBCIUtils.setParam("client.passport.PinTan.filename", 'pintan.dat')
|
23
23
|
|
24
|
-
module
|
24
|
+
module Hbci4jruby
|
25
25
|
end
|