konto_check 5.5.0 → 5.8.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.
@@ -1,5 +1,6 @@
|
|
1
1
|
/* vim: ft=c:set si:set fileencoding=iso-8859-1
|
2
2
|
*/
|
3
|
+
#line 9 "konto_check_h.lx"
|
3
4
|
|
4
5
|
/*
|
5
6
|
* ##########################################################################
|
@@ -9,7 +10,7 @@
|
|
9
10
|
* # Verwendung in anderen Programmen bzw. Programmiersprachen benutzt #
|
10
11
|
* # werden. #
|
11
12
|
* # #
|
12
|
-
* # Copyright (C) 2002-
|
13
|
+
* # Copyright (C) 2002-2015 Michael Plugge <m.plugge@hs-mannheim.de> #
|
13
14
|
* # #
|
14
15
|
* # Dieses Programm ist freie Software; Sie d�rfen es unter den #
|
15
16
|
* # Bedingungen der GNU Lesser General Public License, wie von der Free #
|
@@ -46,14 +47,6 @@
|
|
46
47
|
#ifndef KONTO_CHECK_H_INCLUDED
|
47
48
|
#define KONTO_CHECK_H_INCLUDED
|
48
49
|
|
49
|
-
/* IBAN-Regeln benutzen (g�ltig ab 3.6.2013) */
|
50
|
-
#define USE_IBAN_RULES 1
|
51
|
-
|
52
|
-
/* �nderungen der Pr�fziffermethoden zum 9. September 2013 erzwingen
|
53
|
-
* (bei 0 werden sie abh�ngig vom Datum aktiviert; aktuell nicht benutzt).
|
54
|
-
*/
|
55
|
-
#define FORCE_AENDERUNGEN_2013_09 0
|
56
|
-
|
57
50
|
/* Falls EXTRA_BLZ_REGEL auf 1 gesetzt wird, wird beim IBAN-Test
|
58
51
|
* unterschieden ob eine Regel ignoriert wurde, die nur eine BLZ ersetzt,
|
59
52
|
* oder eine andere Regel. Die Variante wenn nur eine BLZ ersetzt wird, wird
|
@@ -486,6 +479,7 @@ extern const char *lut2_feld_namen[256];
|
|
486
479
|
#define OK_KTO_REPLACED_NO_PZ 24
|
487
480
|
#define OK_UNTERKONTO_ATTACHED 25
|
488
481
|
#define OK_SHORT_BIC_USED 26
|
482
|
+
#line 276 "konto_check_h.lx"
|
489
483
|
|
490
484
|
#define MAX_BLZ_CNT 30000 /* maximale Anzahl BLZ's in generate_lut() */
|
491
485
|
|
@@ -1761,6 +1761,9 @@ static VALUE load_bank_data(VALUE self, VALUE path_rb)
|
|
1761
1761
|
* für BIC, BLZ und Kontonummer nil zurückgegeben.
|
1762
1762
|
*
|
1763
1763
|
* ====Mögliche Statuscodes:
|
1764
|
+
* * -130 (IBAN_CHKSUM_OK_RULE_IGNORED "Die IBAN-Prüfsumme stimmt, es wurde allerdings eine IBAN-Regel nicht beachtet (wahrscheinlich falsch)"
|
1765
|
+
* * -124 (NO_IBAN_CALCULATION) "Für die Bankverbindung ist keine IBAN-Berechnung erlaubt"
|
1766
|
+
* * -121 (INVALID_IBAN_LENGTH) "Die Länge der IBAN für das angegebene Länderkürzel ist falsch"
|
1764
1767
|
* * -68 (IBAN2BIC_ONLY_GERMAN) "Die Funktion iban2bic() arbeitet nur mit deutschen Bankleitzahlen"
|
1765
1768
|
* * -46 (LUT2_BIC_NOT_INITIALIZED) "Das Feld BIC wurde nicht initialisiert"
|
1766
1769
|
* * -40 (LUT2_NOT_INITIALIZED) "die Programmbibliothek wurde noch nicht initialisiert"
|
@@ -4351,11 +4354,11 @@ void Init_konto_check_raw()
|
|
4351
4354
|
/*
|
4352
4355
|
* This is a C/Ruby library to check the validity of German Bank Account
|
4353
4356
|
* Numbers. All currently defined test methods by Deutsche Bundesbank
|
4354
|
-
* (00 to
|
4357
|
+
* (00 to E2) are implemented.
|
4355
4358
|
*
|
4356
4359
|
* <b>ATTENTION:</b> There are a few important changes in the API between
|
4357
4360
|
* version 0.0.2 (version by Peter Horn/Provideal), version 0.0.6 (jeanmartin)
|
4358
|
-
* and this version (V. 5.
|
4361
|
+
* and this version (V. 5.8 from 2015-08-22):
|
4359
4362
|
*
|
4360
4363
|
* * The function KontoCheck::load_bank_data() is no longer used; it is
|
4361
4364
|
* replaced by KontoCheck::init() and KontoCheck::generate_lutfile().
|
data/lib/konto_check.rb
CHANGED
@@ -5,7 +5,7 @@ require 'konto_check_raw'
|
|
5
5
|
|
6
6
|
#This is a C/Ruby library to check the validity of German Bank Account
|
7
7
|
#Numbers. All currently defined test methods by Deutsche Bundesbank
|
8
|
-
#(April
|
8
|
+
#(April 2015: 00 to E2) are implemented.
|
9
9
|
#
|
10
10
|
#<b>ATTENTION:</b> There are a few important changes in the API between version 0.0.2 (version
|
11
11
|
#by Peter Horn/Provideal), version 0.0.6 (jeanmartin) and this version:
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: konto_check
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.
|
4
|
+
version: 5.8.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date:
|
14
|
+
date: 2015-09-13 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: thoughtbot-shoulda
|