konto_check 0.2.1 → 5.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/LICENSE +1 -1
- data/README.textile +10 -605
- data/ext/konto_check_raw/extconf.rb +7 -3
- data/ext/konto_check_raw/konto_check.c +7242 -578
- data/ext/konto_check_raw/konto_check.h +230 -19
- data/ext/konto_check_raw/konto_check_raw_ruby.c +1586 -672
- data/lib/konto_check.rb +487 -197
- metadata +43 -50
- data/CHANGES +0 -21
- data/Rakefile +0 -79
- data/VERSION.yml +0 -5
- data/init.rb +0 -1
- data/konto_check.gemspec +0 -54
- data/test/helper.rb +0 -10
- data/test/test_konto_check.rb +0 -7
metadata
CHANGED
@@ -1,83 +1,76 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: konto_check
|
3
|
-
version: !ruby/object:Gem::Version
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 5.2.1
|
4
5
|
prerelease:
|
5
|
-
version: 0.2.1
|
6
6
|
platform: ruby
|
7
|
-
authors:
|
7
|
+
authors:
|
8
8
|
- Provideal Systems GmbH
|
9
9
|
- Jan Schwenzien
|
10
10
|
- Michael Plugge
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
dependencies:
|
18
|
-
- !ruby/object:Gem::Dependency
|
14
|
+
date: 2013-12-15 00:00:00.000000000 Z
|
15
|
+
dependencies:
|
16
|
+
- !ruby/object:Gem::Dependency
|
19
17
|
name: thoughtbot-shoulda
|
20
|
-
|
21
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
18
|
+
requirement: !ruby/object:Gem::Requirement
|
22
19
|
none: false
|
23
|
-
requirements:
|
24
|
-
- -
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version:
|
20
|
+
requirements:
|
21
|
+
- - ! '>='
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: '0'
|
27
24
|
type: :development
|
28
|
-
|
29
|
-
|
30
|
-
|
25
|
+
prerelease: false
|
26
|
+
version_requirements: !ruby/object:Gem::Requirement
|
27
|
+
none: false
|
28
|
+
requirements:
|
29
|
+
- - ! '>='
|
30
|
+
- !ruby/object:Gem::Version
|
31
|
+
version: '0'
|
32
|
+
description: Checking german BICs/Bank account numbers and IBANs, generate IBANs,
|
33
|
+
retrieve information about german Banks, search for Banks matching certain criteria,
|
34
|
+
check IBAN or BIC, convert bic/account to IBAN and BIC
|
35
|
+
email: m.plugge@hs-mannheim.de
|
31
36
|
executables: []
|
32
|
-
|
33
|
-
extensions:
|
37
|
+
extensions:
|
34
38
|
- ext/konto_check_raw/extconf.rb
|
35
|
-
extra_rdoc_files:
|
39
|
+
extra_rdoc_files:
|
36
40
|
- LICENSE
|
37
41
|
- README.textile
|
38
42
|
- ext/konto_check_raw/konto_check_raw_ruby.c
|
39
|
-
files:
|
40
|
-
- CHANGES
|
41
|
-
- LICENSE
|
42
|
-
- README.textile
|
43
|
-
- Rakefile
|
44
|
-
- VERSION.yml
|
43
|
+
files:
|
45
44
|
- ext/konto_check_raw/extconf.rb
|
46
45
|
- ext/konto_check_raw/konto_check.c
|
47
46
|
- ext/konto_check_raw/konto_check.h
|
48
47
|
- ext/konto_check_raw/konto_check_raw_ruby.c
|
49
|
-
- init.rb
|
50
|
-
- konto_check.gemspec
|
51
48
|
- lib/konto_check.rb
|
52
|
-
-
|
53
|
-
-
|
54
|
-
|
55
|
-
homepage: http://github.com/provideal/konto_check
|
49
|
+
- LICENSE
|
50
|
+
- README.textile
|
51
|
+
homepage: http://kontocheck.sourceforge.net
|
56
52
|
licenses: []
|
57
|
-
|
58
53
|
post_install_message:
|
59
54
|
rdoc_options: []
|
60
|
-
|
61
|
-
require_paths:
|
55
|
+
require_paths:
|
62
56
|
- lib
|
63
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
57
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
64
58
|
none: false
|
65
|
-
requirements:
|
66
|
-
- -
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version:
|
69
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
59
|
+
requirements:
|
60
|
+
- - ! '>='
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: '0'
|
63
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
70
64
|
none: false
|
71
|
-
requirements:
|
72
|
-
- -
|
73
|
-
- !ruby/object:Gem::Version
|
74
|
-
version:
|
65
|
+
requirements:
|
66
|
+
- - ! '>='
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
75
69
|
requirements: []
|
76
|
-
|
77
70
|
rubyforge_project:
|
78
|
-
rubygems_version: 1.
|
71
|
+
rubygems_version: 1.8.25
|
79
72
|
signing_key:
|
80
73
|
specification_version: 3
|
81
|
-
summary: Checking german BICs/Bank account numbers and IBANs,
|
74
|
+
summary: Checking german BICs/Bank account numbers and IBANs, generate IBANs, retrieve
|
75
|
+
information about german Banks, search for Banks matching certain criteria
|
82
76
|
test_files: []
|
83
|
-
|
data/CHANGES
DELETED
@@ -1,21 +0,0 @@
|
|
1
|
-
important changes in version 0.2.0:
|
2
|
-
- many more functions added
|
3
|
-
- documentation in rdoc and HTML format
|
4
|
-
- the underlying C library is now version 4.0, see changes there.
|
5
|
-
|
6
|
-
important changes in version 0.0.3:
|
7
|
-
|
8
|
-
- Function konto_check: the order of parameters changed:
|
9
|
-
konto_check(blz,kto) instead of konto_check(kto,blz)
|
10
|
-
|
11
|
-
- The function load_bank_data will go away; instead a new function
|
12
|
-
konto_check::init() is provided which reads directly a lut file.
|
13
|
-
This function is much faster (about 7..25 times, depending on the
|
14
|
-
blocks to load) and has some more advantages.
|
15
|
-
|
16
|
-
- This version can be compiled for Ruby 1.8 and 1.9
|
17
|
-
|
18
|
-
- some new functions give access to all fields of the bank file:
|
19
|
-
bank_{name|name_kurz|plz|ort|pan|bic|nr|pz|aenderung|loeschung|nachfolge_blz}()
|
20
|
-
|
21
|
-
- for documentation, RTFS. Later some more documentation will be added ;-)
|
data/Rakefile
DELETED
@@ -1,79 +0,0 @@
|
|
1
|
-
# Copyright (c) 2010 Provideal Systems GmbH
|
2
|
-
# Copyright (c) 2011 Jan Schwenzien, Michael Plugge
|
3
|
-
#
|
4
|
-
# This program is free software: you can redistribute it and/or modify
|
5
|
-
# it under the terms of the GNU Lesser General Public License as published by
|
6
|
-
# the Free Software Foundation, either version 3 of the License, or (at your
|
7
|
-
# option) any later version.
|
8
|
-
#
|
9
|
-
# This program is distributed in the hope that it will be useful,
|
10
|
-
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
11
|
-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
12
|
-
# GNU General Public License for more details.
|
13
|
-
#
|
14
|
-
# You should have received a copy of the GNU Lesser General Public License
|
15
|
-
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
16
|
-
|
17
|
-
require 'rubygems'
|
18
|
-
require 'rake'
|
19
|
-
require 'rake/extensiontask'
|
20
|
-
|
21
|
-
Rake::ExtensionTask.new('konto_check')
|
22
|
-
|
23
|
-
begin
|
24
|
-
require 'jeweler'
|
25
|
-
Jeweler::Tasks.new do |gem|
|
26
|
-
gem.name = "konto_check"
|
27
|
-
gem.summary = %Q{Checking german BICs/Bank account numbers and IBANs, retrieve information about german Banks, search for Banks matching certain criteria}
|
28
|
-
gem.description = %Q{Check whether a certain bic/account-no-combination or an IBAN can possibly be valid, retrieve informations about a bank or search for BICs matching certain criteria. It uses the C library kontocheck (see http://sourceforge.net/projects/kontocheck/) by Michael Plugge.}
|
29
|
-
gem.email = "info@provideal.net"
|
30
|
-
gem.homepage = "http://github.com/provideal/konto_check"
|
31
|
-
gem.authors = ["Provideal Systems GmbH","Jan Schwenzien","Michael Plugge"]
|
32
|
-
gem.add_development_dependency "thoughtbot-shoulda", ">= 0"
|
33
|
-
gem.extra_rdoc_files = [
|
34
|
-
"LICENSE",
|
35
|
-
"README.textile",
|
36
|
-
"ext/konto_check_raw/konto_check_raw_ruby.c",
|
37
|
-
]
|
38
|
-
#gem.files.exclude "ext"
|
39
|
-
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
|
40
|
-
end
|
41
|
-
Jeweler::GemcutterTasks.new
|
42
|
-
rescue LoadError
|
43
|
-
puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
|
44
|
-
end
|
45
|
-
|
46
|
-
require 'rake/testtask'
|
47
|
-
Rake::TestTask.new(:test) do |test|
|
48
|
-
test.libs << 'lib' << 'test'
|
49
|
-
test.pattern = 'test/**/test_*.rb'
|
50
|
-
test.verbose = true
|
51
|
-
end
|
52
|
-
|
53
|
-
begin
|
54
|
-
require 'rcov/rcovtask'
|
55
|
-
Rcov::RcovTask.new do |test|
|
56
|
-
test.libs << 'test'
|
57
|
-
test.pattern = 'test/**/test_*.rb'
|
58
|
-
test.verbose = true
|
59
|
-
end
|
60
|
-
rescue LoadError
|
61
|
-
task :rcov do
|
62
|
-
abort "RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov"
|
63
|
-
end
|
64
|
-
end
|
65
|
-
|
66
|
-
task :test => :check_dependencies
|
67
|
-
|
68
|
-
task :default => :test
|
69
|
-
|
70
|
-
require 'rake/rdoctask'
|
71
|
-
Rake::RDocTask.new do |rdoc|
|
72
|
-
version = File.exist?('VERSION') ? File.read('VERSION') : ""
|
73
|
-
|
74
|
-
rdoc.rdoc_dir = 'rdoc'
|
75
|
-
rdoc.title = "konto_check #{version}"
|
76
|
-
rdoc.rdoc_files.include('README.textile')
|
77
|
-
rdoc.rdoc_files.include('lib/**/*.rb')
|
78
|
-
rdoc.rdoc_files.include('ext/konto_check_raw/konto_check_raw_ruby.c')
|
79
|
-
end
|
data/init.rb
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
require 'konto_check'
|
data/konto_check.gemspec
DELETED
@@ -1,54 +0,0 @@
|
|
1
|
-
# Generated by jeweler
|
2
|
-
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
-
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
|
-
# -*- encoding: utf-8 -*-
|
5
|
-
|
6
|
-
Gem::Specification.new do |s|
|
7
|
-
s.name = %q{konto_check}
|
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 = ["Provideal Systems GmbH", "Jan Schwenzien", "Michael Plugge"]
|
12
|
-
s.date = %q{2011-08-05}
|
13
|
-
s.description = %q{Check whether a certain bic/account-no-combination or an IBAN can possibly be valid, retrieve informations about a bank or search for BICs matching certain criteria. It uses the C library kontocheck (see http://sourceforge.net/projects/kontocheck/) by Michael Plugge.}
|
14
|
-
s.email = %q{info@provideal.net}
|
15
|
-
s.extensions = ["ext/konto_check_raw/extconf.rb"]
|
16
|
-
s.extra_rdoc_files = [
|
17
|
-
"LICENSE",
|
18
|
-
"README.textile",
|
19
|
-
"ext/konto_check_raw/konto_check_raw_ruby.c"
|
20
|
-
]
|
21
|
-
s.files = [
|
22
|
-
"CHANGES",
|
23
|
-
"LICENSE",
|
24
|
-
"README.textile",
|
25
|
-
"Rakefile",
|
26
|
-
"VERSION.yml",
|
27
|
-
"ext/konto_check_raw/extconf.rb",
|
28
|
-
"ext/konto_check_raw/konto_check.c",
|
29
|
-
"ext/konto_check_raw/konto_check.h",
|
30
|
-
"ext/konto_check_raw/konto_check_raw_ruby.c",
|
31
|
-
"init.rb",
|
32
|
-
"konto_check.gemspec",
|
33
|
-
"lib/konto_check.rb",
|
34
|
-
"test/helper.rb",
|
35
|
-
"test/test_konto_check.rb"
|
36
|
-
]
|
37
|
-
s.homepage = %q{http://github.com/provideal/konto_check}
|
38
|
-
s.require_paths = ["lib"]
|
39
|
-
s.rubygems_version = %q{1.6.2}
|
40
|
-
s.summary = %q{Checking german BICs/Bank account numbers and IBANs, retrieve information about german Banks, search for Banks matching certain criteria}
|
41
|
-
|
42
|
-
if s.respond_to? :specification_version then
|
43
|
-
s.specification_version = 3
|
44
|
-
|
45
|
-
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
46
|
-
s.add_development_dependency(%q<thoughtbot-shoulda>, [">= 0"])
|
47
|
-
else
|
48
|
-
s.add_dependency(%q<thoughtbot-shoulda>, [">= 0"])
|
49
|
-
end
|
50
|
-
else
|
51
|
-
s.add_dependency(%q<thoughtbot-shoulda>, [">= 0"])
|
52
|
-
end
|
53
|
-
end
|
54
|
-
|
data/test/helper.rb
DELETED