banktools-se 0.6.0 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/banktools-se/bankgiro/ocr.rb +3 -2
- data/lib/banktools-se/version.rb +1 -1
- 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: 42c2fd603ed1f8c1ec6cb803b3bfc7e1c95d6a94
|
4
|
+
data.tar.gz: 6aa488db59ddded3da114019b7173220a3828c90
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7fac26c004e68e31e13ad7eb8f9519e0e2cf8b0f262af45cc9c001148e9d5615d8aa7d8a2696aa9b3ba17351dc4b4a956afeab6ac662bad0ea6745fde903f2e4
|
7
|
+
data.tar.gz: a3b4421f8879b0587f114fea62082ded11fd5ae8d008e91f632c36b4934077c81a87ce5508d84215c6b6efcad3cecde5c31f42edb80a718a955fdde905ee0b70
|
@@ -3,8 +3,9 @@
|
|
3
3
|
module BankTools
|
4
4
|
module SE
|
5
5
|
class Bankgiro
|
6
|
-
class
|
7
|
-
class
|
6
|
+
class InvalidOCR < StandardError; end
|
7
|
+
class OverlongOCR < InvalidOCR; end
|
8
|
+
class BadChecksum < InvalidOCR; end
|
8
9
|
|
9
10
|
class OCR
|
10
11
|
def self.number_to_ocr(number, opts = {})
|
data/lib/banktools-se/version.rb
CHANGED