epics 1.6.0 → 1.8.1
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.
- checksums.yaml +5 -5
- data/.semaphore/semaphore.yml +51 -0
- data/CHANGELOG.md +56 -33
- data/README.md +62 -60
- data/epics.gemspec +25 -29
- data/lib/epics.rb +2 -0
- data/lib/epics/ccs.rb +1 -1
- data/lib/epics/cct.rb +10 -2
- data/lib/epics/client.rb +21 -5
- data/lib/epics/error.rb +1 -1
- data/lib/epics/middleware/parse_ebics.rb +6 -5
- data/lib/epics/middleware/xmlsig.rb +2 -4
- data/lib/epics/version.rb +3 -1
- data/lib/epics/xct.rb +30 -0
- data/lib/epics/xds.rb +5 -0
- data/spec/client_spec.rb +26 -1
- data/spec/fixtures/xml/cdb.xml +85 -0
- data/spec/fixtures/xml/cdb_init_response.xml +31 -0
- data/spec/fixtures/xml/cdb_transfer_response.xml +32 -0
- data/spec/fixtures/xml/htd_order_data.xml +8 -2
- data/spec/fixtures/xml/htd_order_data_without_names.xml +27 -0
- data/spec/fixtures/xml/jruby/hia.xml +23 -1
- data/spec/fixtures/xml/jruby/ini.xml +23 -1
- data/spec/middleware/parse_ebics_spec.rb +21 -9
- data/spec/orders/ccs_spec.rb +21 -0
- data/spec/orders/cct_spec.rb +6 -2
- data/spec/orders/cdb_spec.rb +1 -1
- data/spec/orders/xds_spec.rb +15 -0
- metadata +45 -32
- data/.travis.yml +0 -10
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 1d010ef17cbdb364881aa1d097aa37aa5d5dcbe10475042a48c2fdbff7f06bbd
|
|
4
|
+
data.tar.gz: 9344c72519ee202a8b919ee1995d6784063767bf5b486f43e4f69fe1866c4099
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9fea543b7b03303a272a67499f1c79b60e574c58fc43e9843f11100ca92f8311869c89904f3b1d3a7507fd579380b846d81752b25a488a4969d5548b5820b070
|
|
7
|
+
data.tar.gz: 6f8df9fe023baee3c6f6d292a9ba1df6a77af88da38a4b93323c7a8c2adb8199e9554bac8920a87eb33670f698d1c3c0a8911b15eed9d9a9741863b776ac80e2
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
version: v1.0
|
|
2
|
+
name: Test
|
|
3
|
+
agent:
|
|
4
|
+
machine:
|
|
5
|
+
type: e1-standard-2
|
|
6
|
+
os_image: ubuntu1804
|
|
7
|
+
blocks:
|
|
8
|
+
- name: Setup
|
|
9
|
+
task:
|
|
10
|
+
jobs:
|
|
11
|
+
- name: "Checkout"
|
|
12
|
+
commands:
|
|
13
|
+
- checkout
|
|
14
|
+
- ls
|
|
15
|
+
- rm -f .rbenv-version .ruby-version
|
|
16
|
+
- name: Spec versions
|
|
17
|
+
task:
|
|
18
|
+
jobs:
|
|
19
|
+
- name: "2.4"
|
|
20
|
+
commands:
|
|
21
|
+
- checkout
|
|
22
|
+
- sem-version ruby 2.4
|
|
23
|
+
- cache restore
|
|
24
|
+
- bundle install
|
|
25
|
+
- cache store
|
|
26
|
+
- bundle exec rspec
|
|
27
|
+
- name: "2.5"
|
|
28
|
+
commands:
|
|
29
|
+
- checkout
|
|
30
|
+
- sem-version ruby 2.5
|
|
31
|
+
- cache restore
|
|
32
|
+
- bundle install
|
|
33
|
+
- cache store
|
|
34
|
+
- bundle exec rspec
|
|
35
|
+
- name: "2.6"
|
|
36
|
+
commands:
|
|
37
|
+
- checkout
|
|
38
|
+
- sem-version ruby 2.6
|
|
39
|
+
- cache restore
|
|
40
|
+
- bundle install
|
|
41
|
+
- cache store
|
|
42
|
+
- bundle exec rspec
|
|
43
|
+
- name: "jruby-9.2.0.0"
|
|
44
|
+
commands:
|
|
45
|
+
- checkout
|
|
46
|
+
- sem-version ruby jruby-9.2.0.0
|
|
47
|
+
- cache restore
|
|
48
|
+
- gem install bundler
|
|
49
|
+
- bundle install
|
|
50
|
+
- cache store
|
|
51
|
+
- bundle exec rspec
|
data/CHANGELOG.md
CHANGED
|
@@ -1,79 +1,102 @@
|
|
|
1
|
+
### 1.8.1
|
|
2
|
+
- [BUGFIX] Remove masking of transport client errors
|
|
3
|
+
|
|
4
|
+
### 1.8.0
|
|
5
|
+
|
|
6
|
+
- [HOUSEKEEPING] updates faraday and rubyzip
|
|
7
|
+
- [HOUSEKEEPING] as a result: bump required ruby version to 2.4+
|
|
8
|
+
|
|
9
|
+
### 1.7.2
|
|
10
|
+
|
|
11
|
+
- [FEATURE] adds XCT order type (thanks to @punkle64)
|
|
12
|
+
|
|
13
|
+
### 1.7.1
|
|
14
|
+
|
|
15
|
+
- [HOUSEKEEPING] sets headers for requests to text/xml
|
|
16
|
+
- [HOUSEKEEPING] updates Nokogiri dependencies
|
|
17
|
+
|
|
18
|
+
### 1.7.0
|
|
19
|
+
|
|
20
|
+
- [ENHANCEMENT] adds CDB (thanks to @romanlehnert)
|
|
21
|
+
- [BUGFIX] fixes CCS order type and attribute (thanks to @gadimbaylisahil)
|
|
22
|
+
- [BUGFIX] make CDZ callable via client
|
|
23
|
+
|
|
1
24
|
### 1.6.0
|
|
2
25
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
26
|
+
- [BUGFIX] allow unstreamable zipfile handling
|
|
27
|
+
- [ENHANCEMENT] adds CDZ order type
|
|
28
|
+
- updates dependencies
|
|
6
29
|
|
|
7
30
|
### 1.5.2
|
|
8
31
|
|
|
9
|
-
|
|
10
|
-
|
|
32
|
+
- [COMPATIBILITY] be removing the `goyku` dependency we're more recilent against old versions of that gem
|
|
33
|
+
- [ENHANCEMENT] #order_type gives you more complete overview which order types to current client is entitled
|
|
11
34
|
to use, there was already `HAA` which isn't as complete as this, which gets its info from `HTD`
|
|
12
35
|
|
|
13
36
|
### 1.5.1
|
|
14
37
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
38
|
+
- [ENHANCEMENT] some banks are not returning the order_id in the second upload phase, we now fetch it already
|
|
39
|
+
from the first response to handle this different behaviour.
|
|
40
|
+
- [ENHANCEMENT] New order types: `AZV` (Auslandszahlungsverkehr). `CDS` and `CCS` for submitting SEPA credits/debits
|
|
41
|
+
as SRZ (Service Rechen Zentrum)
|
|
19
42
|
|
|
20
43
|
### 1.5.0
|
|
21
44
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
45
|
+
- [ENHANCEMENT] support for fetching the C54 order type
|
|
46
|
+
- [ENHANCEMENT] Exceptions expose their internal code via `code`
|
|
47
|
+
- [HOUSEKEEPING] Added Ruby 2.4 compatibility
|
|
48
|
+
- [HOUSEKEEPING] Drop Ruby 2.0.0
|
|
26
49
|
|
|
27
50
|
### 1.4.1
|
|
28
51
|
|
|
29
|
-
|
|
52
|
+
- [ENHANCEMENT] support for fetching the VMK order type
|
|
30
53
|
|
|
31
54
|
### 1.4.0
|
|
32
55
|
|
|
33
|
-
|
|
34
|
-
|
|
56
|
+
- [ENHANCEMENT] STA without date range to fetch all statements which have not yet been fetched
|
|
57
|
+
- [ENHANCEMENT] HAC without date range to fetch all transaction logs which have not yet been fetched
|
|
35
58
|
|
|
36
59
|
### 1.3.1
|
|
37
60
|
|
|
38
|
-
|
|
61
|
+
- [ENHANCEMENT] make xpath namespaces explicit, so we can cover a wider
|
|
39
62
|
rage of responses
|
|
40
63
|
|
|
41
64
|
### 1.3.0
|
|
42
65
|
|
|
43
|
-
|
|
44
|
-
|
|
66
|
+
- [BUGFIX] unzip C5X payloads
|
|
67
|
+
- [ENHANCEMENT] B2B direct debits
|
|
45
68
|
|
|
46
69
|
### 1.2.2
|
|
47
70
|
|
|
48
|
-
|
|
71
|
+
- [BUGFIX] HPB namespaces are unpredictable so be ignore them
|
|
49
72
|
|
|
50
73
|
### 1.2.1
|
|
51
74
|
|
|
52
|
-
|
|
75
|
+
- [BUGFIX] fixing wrong variable bind within `credit`, `debit` and `statements`
|
|
53
76
|
|
|
54
77
|
### 1.2.0
|
|
55
78
|
|
|
56
|
-
|
|
79
|
+
- [ENHANCEMENT] uploads will return both ebics_order_id and ebics_transaction_id
|
|
57
80
|
|
|
58
81
|
### 1.1.2
|
|
59
82
|
|
|
60
|
-
|
|
61
|
-
|
|
83
|
+
- [BUGFIX] missing require statements for `zlib`
|
|
84
|
+
- [BUGFIX] #16 `setup` tried to initialize wrong class
|
|
62
85
|
|
|
63
86
|
### 1.1.1
|
|
64
87
|
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
88
|
+
- [BUGFIX] CCT order was submited as CD1
|
|
89
|
+
- [BUGFIX] padding was calculated against the wrong block size
|
|
90
|
+
- [BUGFIX] double encoding of the signature
|
|
68
91
|
|
|
69
92
|
### 1.1.0
|
|
70
93
|
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
94
|
+
- [BUGFIX] Sending `Receipts` after downloading data, to circumvent download locks
|
|
95
|
+
- [BUGFIX] adding missing require statements
|
|
96
|
+
- adding HAC, HKD, C52 and C53 support
|
|
97
|
+
- less verbose object inspection for `Epics::Client`
|
|
98
|
+
- readme polishing
|
|
76
99
|
|
|
77
100
|
### 1.0.0
|
|
78
101
|
|
|
79
|
-
|
|
102
|
+
- first release
|
data/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[](https://railslove.semaphoreci.com/branches/c29225c5-5b7e-4a90-8ac8-22d1aa28efcf)
|
|
2
2
|
[](http://badge.fury.io/rb/epics)
|
|
3
3
|
|
|
4
4
|
# Epics
|
|
@@ -8,8 +8,7 @@ Communication Standard).
|
|
|
8
8
|
|
|
9
9
|
The client supports the complete initialization process comprising INI, HIA and HPB including the
|
|
10
10
|
INI letter generation. It offers support for the most common download and upload order types
|
|
11
|
-
(STA HAA HTD HPD PTK HAC HKD C52 C53 C54 CD1 CDD CCT VMK
|
|
12
|
-
|
|
11
|
+
(STA HAA HTD HPD PTK HAC HKD C52 C53 C54 CD1 CDB CDD CCT VMK).
|
|
13
12
|
|
|
14
13
|
## Installation
|
|
15
14
|
|
|
@@ -23,7 +22,6 @@ Or install it yourself as:
|
|
|
23
22
|
|
|
24
23
|
$ gem install epics
|
|
25
24
|
|
|
26
|
-
|
|
27
25
|
## Getting started
|
|
28
26
|
|
|
29
27
|
In case you are new to EBICS, you'll have to complete an initialization process with
|
|
@@ -33,10 +31,10 @@ bank.
|
|
|
33
31
|
|
|
34
32
|
Once the paperwork is done, your bank should provide you with:
|
|
35
33
|
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
34
|
+
- _a_ URL to their EBICS Server
|
|
35
|
+
- _a_ HOST ID
|
|
36
|
+
- _a_ PARTNER ID
|
|
37
|
+
- _n_ User IDs (depends on your bank and needs)
|
|
40
38
|
|
|
41
39
|
Take these parameters and start setting up an UserID (repeat this for every user you want to initialize):
|
|
42
40
|
|
|
@@ -51,7 +49,7 @@ e.save_keys("/home/epics/my.key")
|
|
|
51
49
|
# or store the json elsewhere, but store it! for gods sake :D
|
|
52
50
|
```
|
|
53
51
|
|
|
54
|
-
It is really
|
|
52
|
+
It is really **important** to keep your keys around, once your user has been initialized
|
|
55
53
|
you'll have to start over when you loose the keys!
|
|
56
54
|
|
|
57
55
|
Submit the keys to your bank:
|
|
@@ -93,15 +91,13 @@ e.HAA
|
|
|
93
91
|
|
|
94
92
|
To get a list of all supported order types.
|
|
95
93
|
|
|
96
|
-
|
|
97
94
|
## Need help? Having questions?
|
|
98
95
|
|
|
99
96
|
We have many years of experience in developing innovative applications for the finance sector and
|
|
100
97
|
integrating applications with financial institutions. - you might want to have a look at our
|
|
101
98
|
[portfolio](http://www.railslove.com/portfolio)
|
|
102
|
-
|
|
103
|
-
[team@railslove.com](mailto:team@railslove.com)
|
|
104
|
-
|
|
99
|
+
**If you need help we are happy to provide consulting or development services. Contact us:
|
|
100
|
+
[team@railslove.com](mailto:team@railslove.com)**
|
|
105
101
|
|
|
106
102
|
## Usage
|
|
107
103
|
|
|
@@ -117,27 +113,26 @@ keys = File.read('/tmp/my.key')
|
|
|
117
113
|
e = Epics::Client.new(keys, 'passphrase', 'url', 'host', 'user', 'partner')
|
|
118
114
|
```
|
|
119
115
|
|
|
120
|
-
|
|
121
116
|
## Features
|
|
122
117
|
|
|
123
118
|
### Initialization
|
|
124
119
|
|
|
125
|
-
|
|
126
|
-
|
|
120
|
+
- INI (Sends the public key of the electronic signature.)
|
|
121
|
+
- HIA (Sends the public authentication (X002) and encryption (E002) keys.)
|
|
127
122
|
|
|
128
123
|
### Downloads
|
|
129
124
|
|
|
130
125
|
Currently this EPICS implementation supports the following order types:
|
|
131
126
|
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
127
|
+
- HPB (fetch your bank's public keys)
|
|
128
|
+
- STA (statements in MT940 format)
|
|
129
|
+
- HAA (available order types)
|
|
130
|
+
- HTD (user properties and settings)
|
|
131
|
+
- HPD (the available bank parameters)
|
|
132
|
+
- PTK (customer usage report in text format)
|
|
133
|
+
- HAC (customer usage report in xml format)
|
|
134
|
+
- VMK (customer usage report in xml format)
|
|
135
|
+
- ... more coming soon
|
|
141
136
|
|
|
142
137
|
Example:
|
|
143
138
|
|
|
@@ -165,10 +160,11 @@ puts e.STA('2014-09-01', '2014-09-11')
|
|
|
165
160
|
|
|
166
161
|
### Uploads
|
|
167
162
|
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
163
|
+
- CD1 (Uploads a SEPA Direct Debit document of type COR1)
|
|
164
|
+
- CDB (Uploads a SEPA Direct Debit document of type B2B)
|
|
165
|
+
- CDD (Uploads a SEPA Direct Debit document of type CORE)
|
|
166
|
+
- CCT (Uploads a SEPA Credit document)
|
|
167
|
+
- ... more coming soon
|
|
172
168
|
|
|
173
169
|
Example:
|
|
174
170
|
|
|
@@ -186,22 +182,19 @@ puts e.CD1(File.read("/where/the/xml/is/stored.xml"))
|
|
|
186
182
|
Once you have a client, go ahead and start playing! There are 3 convenience methods
|
|
187
183
|
that are hiding some strange names from you:
|
|
188
184
|
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
185
|
+
- debit( _xml_ ) (submits a PAIN.008.003.02 document via CDD)
|
|
186
|
+
- credit( _xml_ ) (submits a pain.001.003.03 document)
|
|
187
|
+
- statements( _from_, _to_ ) (fetches an account statement via STA)
|
|
192
188
|
|
|
193
189
|
If you need more sophisticated EBICS order types, please read the next section
|
|
194
190
|
about the supported functionalities.
|
|
195
191
|
|
|
196
|
-
|
|
197
192
|
## Issues and Feature Requests
|
|
198
193
|
|
|
199
194
|
[Railslove](http://railslove.com) is commited to provide the best developer tools for integrating
|
|
200
195
|
with financial institutions. Epics is one of our many tools and services.
|
|
201
196
|
If you are missing some features or something is not working as expected please create an issue.
|
|
202
197
|
|
|
203
|
-
|
|
204
|
-
|
|
205
198
|
## Supported Banks
|
|
206
199
|
|
|
207
200
|
This gem provides a full implementation of the Electronic Banking Internet Communication Standard
|
|
@@ -211,26 +204,25 @@ what order types are available.
|
|
|
211
204
|
Besides EBCIS being a standard, some server implementations are slighty different.
|
|
212
205
|
But most banks use the same EBICS server implementations. Commonly used and supported by Epics are:
|
|
213
206
|
|
|
214
|
-
|
|
215
|
-
|
|
207
|
+
- Business-Logics EBICS, Banking-Server
|
|
208
|
+
- Travic Corporate
|
|
216
209
|
|
|
217
210
|
Used for example by the following tested institutions:
|
|
218
211
|
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
212
|
+
- Handelsbank
|
|
213
|
+
- Deutsche Bank
|
|
214
|
+
- Commerzbank
|
|
215
|
+
- Kreissparkasse Mayen
|
|
216
|
+
- Postbank
|
|
217
|
+
- Sozialbank
|
|
218
|
+
- Sparkassen
|
|
219
|
+
- Volksbanken Raiffeisenbanken
|
|
220
|
+
- Hypo Vereinsbank
|
|
221
|
+
- BAWAG P.S.K. (AT)
|
|
222
|
+
- Bank Frick (LI)
|
|
230
223
|
|
|
231
224
|
Is Epics working with your institution? Please help us to grow this list of supported banks:
|
|
232
225
|
|
|
233
|
-
|
|
234
226
|
## Development
|
|
235
227
|
|
|
236
228
|
For development purposes, you may want to use a proxy server in order to have a convienent look into request and response data.
|
|
@@ -238,6 +230,7 @@ To do so, it's sufficient to define `http_proxy` in your environment.
|
|
|
238
230
|
Also you may want to disable SSL verification - simply set `EPICS_VERIFY_SSL` to `"false"`.
|
|
239
231
|
|
|
240
232
|
For example:
|
|
233
|
+
|
|
241
234
|
```
|
|
242
235
|
http_proxy=localhost:8080
|
|
243
236
|
EPICS_VERIFY_SSL=false
|
|
@@ -245,21 +238,30 @@ EPICS_VERIFY_SSL=false
|
|
|
245
238
|
|
|
246
239
|
## Links
|
|
247
240
|
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
241
|
+
- [ebics.de](http://www.ebics.de/)
|
|
242
|
+
- [EBICS specification](http://www.ebics.de/index.php?id=30)
|
|
243
|
+
- [Common Integrative Implementation Guide to Supplement the EBICS Specification (pdf)](http://www.ebics.de/fileadmin/unsecured/specification/implementation_guide_DE/EBICS_Common_IG_basiert_auf_EBICS_2.5.pdf)
|
|
244
|
+
- [Die Deutsche Kreditwirtschaft](http://www.die-deutsche-kreditwirtschaft.de/)
|
|
253
245
|
|
|
254
246
|
## Contributing
|
|
255
247
|
|
|
256
248
|
0. Contact team@railslove.com for information about the CLA
|
|
257
249
|
1. Fork it ( https://github.com/[my-github-username]/epics/fork )
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
250
|
+
1. Create your feature branch (`git checkout -b my-new-feature`)
|
|
251
|
+
1. Commit your changes (`git commit -am 'Add some feature'`)
|
|
252
|
+
1. Push to the branch (`git push origin my-new-feature`)
|
|
253
|
+
1. Create a new Pull Request
|
|
254
|
+
|
|
255
|
+
## Contribution Credits
|
|
256
|
+
|
|
257
|
+
- [@punkle64](https://github.com/punkle64) \
|
|
258
|
+
for adding XCT order type
|
|
259
|
+
- [@romanlehnert](https://github.com/romanlehnert) \
|
|
260
|
+
for adding CDB order type
|
|
261
|
+
- [@gadimbaylisahil](https://github.com/gadimbaylisahil) \
|
|
262
|
+
for fixing CCS order type and attribute
|
|
263
|
+
- you, for contributing too!
|
|
262
264
|
|
|
265
|
+
---
|
|
263
266
|
|
|
264
|
-
|
|
265
|
-
2014-2017 - built with love by [Railslove](http://railslove.com) and released under the [GNU LESSER GENERAL PUBLIC LICENSE](https://github.com/railslove/epics/blob/master/LICENSE.txt). We have built quite a number of FinTech products. If you need support we are happy to help. Please contact us at team@railslove.com.
|
|
267
|
+
2014-2019 - built with love by [Railslove](http://railslove.com) and released under the [GNU LESSER GENERAL PUBLIC LICENSE](https://github.com/railslove/epics/blob/master/LICENSE.txt). We have built quite a number of FinTech products. If you need support we are happy to help. Please contact us at team@railslove.com.
|
data/epics.gemspec
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
#
|
|
2
|
-
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
lib = File.expand_path('lib', __dir__)
|
|
3
4
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
5
|
require 'epics/version'
|
|
5
6
|
|
|
6
7
|
Gem::Specification.new do |spec|
|
|
7
|
-
spec.name =
|
|
8
|
+
spec.name = 'epics'
|
|
8
9
|
spec.version = Epics::VERSION
|
|
9
|
-
spec.authors = [
|
|
10
|
-
spec.email = [
|
|
11
|
-
spec.summary =
|
|
10
|
+
spec.authors = ['Lars Brillert']
|
|
11
|
+
spec.email = ['lars@railslove.com']
|
|
12
|
+
spec.summary = 'a ruby implementation of the EBICS protocol'
|
|
12
13
|
spec.description = <<-description
|
|
13
14
|
Epics is a ruby implementation of the EBIC standard (H004)
|
|
14
15
|
|
|
@@ -19,39 +20,34 @@ Gem::Specification.new do |spec|
|
|
|
19
20
|
STA HAA HTD HPD PKT HAC HKD C52 C53 C54
|
|
20
21
|
|
|
21
22
|
And the following upload orders:
|
|
22
|
-
CD1 CDD CCT
|
|
23
|
+
CD1 CDD CCT CDB CDS CCS CDZ
|
|
23
24
|
description
|
|
24
25
|
|
|
25
|
-
spec.homepage =
|
|
26
|
-
spec.license =
|
|
26
|
+
spec.homepage = 'https://github.com/railslove/epics'
|
|
27
|
+
spec.license = 'LGPL-3.0'
|
|
27
28
|
|
|
28
|
-
spec.required_ruby_version = '>= 2.
|
|
29
|
+
spec.required_ruby_version = '>= 2.4'
|
|
29
30
|
|
|
30
31
|
spec.files = `git ls-files -z`.split("\x0")
|
|
31
32
|
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
|
32
33
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
|
33
|
-
spec.require_paths = [
|
|
34
|
+
spec.require_paths = ['lib']
|
|
34
35
|
|
|
35
|
-
spec.post_install_message = "\n\e[32m" + (
|
|
36
|
+
spec.post_install_message = "\n\e[32m" + ('*' * 60) + "\n\e[0m"
|
|
36
37
|
spec.post_install_message += "Thanks for using Epics - your epic EBICS client!\n"
|
|
37
38
|
spec.post_install_message += "Epics provides a full production-tested implementation of the Electronic Banking Internet Communication Standard.\n"
|
|
38
39
|
spec.post_install_message += "Railslove as the maintainer is commited to provide extensive developer tools to make integrating financial institutions fun and easy.\n"
|
|
39
40
|
spec.post_install_message += "Please create an issue on github (railslove/epics) if anything does not work as expected. And contact team@railslove.com if you are looking for support with your integration.\n"
|
|
40
|
-
spec.post_install_message += "\e[32m" + (
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
spec.
|
|
49
|
-
spec.
|
|
50
|
-
|
|
51
|
-
spec.add_development_dependency
|
|
52
|
-
spec.add_development_dependency "rake", "~> 10.0"
|
|
53
|
-
spec.add_development_dependency "rspec"
|
|
54
|
-
spec.add_development_dependency "pry"
|
|
55
|
-
spec.add_development_dependency "webmock"
|
|
56
|
-
spec.add_development_dependency "equivalent-xml"
|
|
41
|
+
spec.post_install_message += "\e[32m" + ('*' * 60) + "\n\e[0m"
|
|
42
|
+
|
|
43
|
+
spec.add_dependency 'faraday', '>= 1.0.0'
|
|
44
|
+
spec.add_dependency 'nokogiri', '>= 1.10.7'
|
|
45
|
+
spec.add_dependency 'rubyzip', '2.2.0'
|
|
46
|
+
|
|
47
|
+
spec.add_development_dependency 'bundler', '>= 1.6.2'
|
|
48
|
+
spec.add_development_dependency 'equivalent-xml'
|
|
49
|
+
spec.add_development_dependency 'pry'
|
|
50
|
+
spec.add_development_dependency 'rake', '~> 13.0'
|
|
51
|
+
spec.add_development_dependency 'rspec'
|
|
52
|
+
spec.add_development_dependency 'webmock'
|
|
57
53
|
end
|