girocode 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/README.md +28 -2
- data/lib/girocode/version.rb +1 -1
- metadata +7 -63
- data/Rakefile +0 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 63a0ac46d923c290632acec281c95319eae1214d50c69c5d4b4cb31079898aae
|
4
|
+
data.tar.gz: 26b5b18c87cd35b8b856b3997f8d20b2dc79b1ad21453f54828913cc627bde2c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a4aeb6b83c1e3dd12c7657890188cb3bc68c09ebb1b0efdaac4cffecf40aef67f97943426ee06f07d3f79d0942d2768f210f3fd4ac0d361a157787d91d0a4d18
|
7
|
+
data.tar.gz: f4b50486a4d04ca1a08a3f6409cd05a6a19aad144bde0d76f1afdf2d73c9f4f41613fd08868a3a0ebb4e33f76a7c0939c9439fdc75e6cca20cd32594729ae6b0
|
data/CHANGELOG.md
ADDED
data/README.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1
|
-
[![Gem Version](https://badge.fury.io/rb/girocode.svg)](http://badge.fury.io/rb/girocode) [![
|
1
|
+
[![Gem Version](https://badge.fury.io/rb/girocode.svg)](http://badge.fury.io/rb/girocode) [![build](https://github.com/mtgrosser/girocode/actions/workflows/build.yml/badge.svg)](https://github.com/mtgrosser/girocode/actions/workflows/build.yml)
|
2
2
|
# Girocode - create EPC QR codes for SEPA bank transfers
|
3
3
|
|
4
|
-
Pure Ruby library to generate QR codes in SVG, PNG, HTML or ASCII format
|
4
|
+
Pure Ruby library to generate EPC QR codes in SVG, PNG, HTML or ASCII format
|
5
5
|
|
6
6
|
![Girocode](https://raw.githubusercontent.com/mtgrosser/girocode/master/test/demo.png)
|
7
7
|
|
@@ -28,3 +28,29 @@ code.to_ascii
|
|
28
28
|
# in your console
|
29
29
|
puts code.to_ansi
|
30
30
|
```
|
31
|
+
|
32
|
+
## Supported attributes
|
33
|
+
|
34
|
+
Codes can be generated with the following attributes:
|
35
|
+
|
36
|
+
| Attribute | Description | required | max size |
|
37
|
+
|----------------------|--------------------------------|--------------------|----------|
|
38
|
+
| `bic` | Bank Identifier Code | | 11 |
|
39
|
+
| `name` | Name of beneficiary | ✓ | 70 |
|
40
|
+
| `iban` | IBAN | ✓ | 34 |
|
41
|
+
| `currency` | ISO-4217 currency code | if `amount` given | 3 |
|
42
|
+
| `amount` | Money amount | | 12 |
|
43
|
+
| `purpose` | SEPA purpose code | | 4 |
|
44
|
+
| `creditor_reference` | ISO-11649 creditor reference | | 35 |
|
45
|
+
| `reference` | Unstructured reference | | 140 |
|
46
|
+
| `bto_info` | Beneficiary to originator info | | 70 |
|
47
|
+
|
48
|
+
## Limitations
|
49
|
+
|
50
|
+
Codes are generated as EPC-QR Version 2 in UTF-8 format only.
|
51
|
+
|
52
|
+
## Specification
|
53
|
+
|
54
|
+
European Payments Council: Quick Response Code
|
55
|
+
|
56
|
+
[Guidelines to enable data capture for the initiation of a SEPA credit transfer](https://www.europeanpaymentscouncil.eu/sites/default/files/kb/file/2018-05/EPC069-12%20v2.1%20Quick%20Response%20Code%20-%20Guidelines%20to%20Enable%20the%20Data%20Capture%20for%20the%20Initiation%20of%20a%20SCT.pdf)
|
data/lib/girocode/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: girocode
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matthias Grosser
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-11-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rqrcode
|
@@ -38,62 +38,6 @@ dependencies:
|
|
38
38
|
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: bundler
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - "~>"
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: '1.17'
|
48
|
-
type: :development
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - "~>"
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: '1.17'
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: rake
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - "~>"
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: '10.0'
|
62
|
-
type: :development
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - "~>"
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: '10.0'
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
name: minitest
|
71
|
-
requirement: !ruby/object:Gem::Requirement
|
72
|
-
requirements:
|
73
|
-
- - "~>"
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
version: '5.0'
|
76
|
-
type: :development
|
77
|
-
prerelease: false
|
78
|
-
version_requirements: !ruby/object:Gem::Requirement
|
79
|
-
requirements:
|
80
|
-
- - "~>"
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: '5.0'
|
83
|
-
- !ruby/object:Gem::Dependency
|
84
|
-
name: simplecov
|
85
|
-
requirement: !ruby/object:Gem::Requirement
|
86
|
-
requirements:
|
87
|
-
- - ">="
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: '0'
|
90
|
-
type: :development
|
91
|
-
prerelease: false
|
92
|
-
version_requirements: !ruby/object:Gem::Requirement
|
93
|
-
requirements:
|
94
|
-
- - ">="
|
95
|
-
- !ruby/object:Gem::Version
|
96
|
-
version: '0'
|
97
41
|
description: EPC QR code for SEPA payments in any format
|
98
42
|
email:
|
99
43
|
- mtgrosser@gmx.net
|
@@ -101,9 +45,9 @@ executables: []
|
|
101
45
|
extensions: []
|
102
46
|
extra_rdoc_files: []
|
103
47
|
files:
|
48
|
+
- CHANGELOG.md
|
104
49
|
- LICENSE
|
105
50
|
- README.md
|
106
|
-
- Rakefile
|
107
51
|
- lib/girocode.rb
|
108
52
|
- lib/girocode/code.rb
|
109
53
|
- lib/girocode/version.rb
|
@@ -111,7 +55,7 @@ homepage: https://github.com/mtgrosser/girocode
|
|
111
55
|
licenses:
|
112
56
|
- MIT
|
113
57
|
metadata: {}
|
114
|
-
post_install_message:
|
58
|
+
post_install_message:
|
115
59
|
rdoc_options: []
|
116
60
|
require_paths:
|
117
61
|
- lib
|
@@ -126,8 +70,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
126
70
|
- !ruby/object:Gem::Version
|
127
71
|
version: '0'
|
128
72
|
requirements: []
|
129
|
-
rubygems_version: 3.
|
130
|
-
signing_key:
|
73
|
+
rubygems_version: 3.2.22
|
74
|
+
signing_key:
|
131
75
|
specification_version: 4
|
132
76
|
summary: Generate QR codes for SEPA credit transfers
|
133
77
|
test_files: []
|