hbci4jruby 0.0.3 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 496b7a0172473d4af8fa080a63bfd472e099a3fc
4
- data.tar.gz: 5eb8a0141a8dc30c524a2ce59eab61e49f95c0fe
3
+ metadata.gz: 811090e20c77779f5f48aaea7d88315ee2f6086f
4
+ data.tar.gz: 1f790721ed9fcf7e221555661e42834396091c0d
5
5
  SHA512:
6
- metadata.gz: c17b213bb0ac1eb738445477dbad57cf40b08f547e44a73a6d3d2b144d96dd206f5eef6af2f5857c9547534e16c05993f43e438dc03ea3329e69c9589cb23269
7
- data.tar.gz: ab12aa6601058748592d8fa1a0d50fa654d76a409c7ed42b4524d5b9c6c35c8e044ff335d985afa58210429f436f9a70e6ac7d7c7bafbc23c59c4c1261d7cbff
6
+ metadata.gz: 513698a8c1e114ec31d94163f11ec931ef71fd23d0b8be4bf481d6c797335a878bf95fe40c57720ce9b48f4363b87ecb3eede736aa3f877aa0dedc310111a0c3
7
+ data.tar.gz: 5483110aeb2dd5164c49725b5e46cd2adffe9d929a7545158138476ef1731c8aa20fc99e976bd4394b7e2d8b5848f1ac534f70b2cf43189a77210bde60a72cdb
data/README.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  TODO: Write a gem description
4
4
 
5
+ ## Development
6
+
7
+ The JAR file was built using [HBCI4Java](https://github.com/willuhn/hbci4java).
8
+
5
9
  ## Installation
6
10
 
7
11
  Add this line to your application's Gemfile:
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 = Hbci4Jruby::BankingPassport.new
25
+ banking_passport = Hbci4jruby::BankingPassport.new
26
26
  banking_passport.attributes = passport
27
27
 
28
28
  if action === 'turnover'
29
- list = Hbci4Jruby::Turnover.new.list(banking_passport, params)
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
@@ -1,6 +1,6 @@
1
1
  require File.join(File.dirname(__FILE__), '..', 'lib', 'hbci')
2
2
 
3
- include Hbci4Jruby
3
+ include Hbci4jruby
4
4
 
5
5
  banking_passport = BankingPassport.new
6
6
  banking_passport.hbci_version = '300'
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 = Hbci4Jruby::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.}
@@ -1,4 +1,4 @@
1
- module Hbci4Jruby
1
+ module Hbci4jruby
2
2
  class BankingPassport
3
3
  attr_accessor :hbci_version, :pin, :user_id, :customer_id,
4
4
  :country_code, :port, :host, :filter,
@@ -1,4 +1,4 @@
1
- module Hbci4Jruby
1
+ module Hbci4jruby
2
2
  class HBCICallback < AbstractHBCICallback
3
3
  @@status_names = {}
4
4
  constants.each { |c| @@status_names[const_get(c)] = c }
@@ -1,6 +1,6 @@
1
1
  require 'date'
2
2
 
3
- module Hbci4Jruby
3
+ module Hbci4jruby
4
4
  class Turnover
5
5
  # Umsätze von start_date bis end_date abrufen
6
6
  # * passport_type, passphrase, pin und file kommen in dieser Implementation aus der zugrunde liegenden Tabelle.
@@ -1,3 +1,3 @@
1
- module Hbci4Jruby
2
- VERSION = '0.0.3'
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, Hbci4Jruby::HBCICallback.new)
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 Hbci4Jruby
24
+ module Hbci4jruby
25
25
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hbci4jruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jens Bissinger