sepa_king 0.11.1 → 0.13.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 90e4af1e7d2d11456cc48e339006078182b067cd6a2c49c3314ba296fc295fc3
4
- data.tar.gz: f224fa0fcd711759b1b56baf53c78b1bf5b8f90f1828ced8a6ce7dc21ad80e0c
3
+ metadata.gz: 0e3b76466f9a0fa80b6b9580abbf8cfdc8c1e530914d833848f16962bf49f1c0
4
+ data.tar.gz: '08059bad5cd7a74208fad02c15769de2cb5e84b3ae7cb622165af5081bc8a4df'
5
5
  SHA512:
6
- metadata.gz: 9d8c42503c8bc1e42669d624376b74b741797824b3115e2314152f7340ab2d5740850db08bc6c7cf81afa6bfd4fba66237e41003c00803f7c7adae1215a437ff
7
- data.tar.gz: 21174103026c3987e78a71703124bb41be4fd8e19098c02a519ed8cc8d9524da593295531557ae4104a3fcc2f7a40ababde3bac23042f9b2735aa031556427c0
6
+ metadata.gz: 1c7f07f705f9afb8c6bcd0e91c3371b4f496e0649dd93b3dab85b5167223393d428d652cbf90147aa415ec63af3d9a01ac6f416a13c4190d28276b49d4a79b30
7
+ data.tar.gz: 20670910d9fe37671c90dc4189756757ed109b3110429631726b3b479e9ed625927db391002b6f9a01af4ba2e87ea921cd28c5c6e628daa3ec73483f7aa34904
@@ -0,0 +1,50 @@
1
+ name: Test
2
+
3
+ on:
4
+ push:
5
+ pull_request:
6
+
7
+ jobs:
8
+ test:
9
+ runs-on: ubuntu-latest
10
+
11
+ strategy:
12
+ fail-fast: false
13
+ matrix:
14
+ ruby: [ '2.7', '3.0', '3.1' ]
15
+ rails: [ '4.2', '5.0', '5.1', '5.2', '6.0', '6.1', '7.0' ]
16
+ exclude:
17
+ - ruby: '2.7'
18
+ rails: '4.2'
19
+ - ruby: '3.0'
20
+ rails: '4.2'
21
+ - ruby: '3.0'
22
+ rails: '5.0'
23
+ - ruby: '3.0'
24
+ rails: '5.1'
25
+ - ruby: '3.0'
26
+ rails: '5.2'
27
+ - ruby: '3.1'
28
+ rails: '4.2'
29
+ - ruby: '3.1'
30
+ rails: '5.0'
31
+ - ruby: '3.1'
32
+ rails: '5.1'
33
+ - ruby: '3.1'
34
+ rails: '5.2'
35
+
36
+ name: Ruby ${{ matrix.ruby }} / Rails ${{ matrix.rails }}
37
+ env:
38
+ BUNDLE_GEMFILE: gemfiles/Gemfile-activemodel-${{ matrix.rails }}.x
39
+
40
+ steps:
41
+ - uses: actions/checkout@v3
42
+
43
+ - name: Setup Ruby
44
+ uses: ruby/setup-ruby@v1
45
+ with:
46
+ ruby-version: ${{ matrix.ruby }}
47
+ bundler-cache: true # 'bundle install' and cache gems
48
+
49
+ - name: RSpec
50
+ run: bundle exec rake
data/.gitignore CHANGED
@@ -4,6 +4,6 @@ coverage/*
4
4
  rdoc/*
5
5
  pkg/*
6
6
  .DS_Store
7
- Gemfile.lock
7
+ Gemfile*.lock
8
8
  # tmp disable
9
9
  docs/
data/LICENSE.txt CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2013-2017 Georg Leciejewski (Sales King GmbH) & Georg Ledermann
1
+ Copyright (c) 2013-2022 Georg Leciejewski (Sales King GmbH) & Georg Ledermann
2
2
 
3
3
  MIT License
4
4
 
data/README.md CHANGED
@@ -1,10 +1,9 @@
1
1
  # Ruby gem for creating SEPA XML files
2
2
 
3
- [![Build Status](https://travis-ci.org/salesking/sepa_king.svg)](http://travis-ci.org/salesking/sepa_king)
3
+ [![Build Status](https://github.com/salesking/sepa_king/workflows/Test/badge.svg?branch=master)](https://github.com/salesking/sepa_king/actions)
4
4
  [![Code Climate](https://codeclimate.com/github/salesking/sepa_king/badges/gpa.svg)](https://codeclimate.com/github/salesking/sepa_king)
5
5
  [![Coverage Status](https://coveralls.io/repos/salesking/sepa_king/badge.svg?branch=master)](https://coveralls.io/r/salesking/sepa_king?branch=master)
6
6
  [![Gem Version](https://badge.fury.io/rb/sepa_king.svg)](http://badge.fury.io/rb/sepa_king)
7
- [![Dependency Status](https://gemnasium.com/salesking/sepa_king.svg)](https://gemnasium.com/salesking/sepa_king)
8
7
 
9
8
  We love building payment applications! So after developing the [DTAUS library for Ruby](https://github.com/salesking/king_dtaus) we move on with SEPA.
10
9
 
@@ -16,15 +15,15 @@ This gem implements the following two messages out of the ISO 20022 standard:
16
15
  * Credit Transfer Initiation (`pain.001.003.03`, `pain.001.002.03` and `pain.001.001.03`)
17
16
  * Direct Debit Initiation (`pain.008.003.02`, `pain.008.002.02` and `pain.008.001.02`)
18
17
 
19
- It handles the _Specification of Data Formats_ v2.7 (2013-11-04).
18
+ It handles the _Specification of Data Formats_ v3.3 (2019-11-17).
20
19
 
21
20
  BTW: **pain** is a shortcut for **Pa**yment **In**itiation.
22
21
 
23
22
 
24
23
  ## Requirements
25
24
 
26
- * Ruby 2.2 or newer
27
- * ActiveModel 3.1 or newer
25
+ * Ruby 2.7 or newer
26
+ * ActiveModel 4.2 or newer (including 7.0)
28
27
 
29
28
 
30
29
  ## Installation
@@ -146,8 +145,8 @@ sdd.add_transaction(
146
145
  sdd.add_transaction ...
147
146
 
148
147
  # Last: create XML string
149
- xml_string = sdd.to_xml # Use latest schema pain.008.003.02
150
- xml_string = sdd.to_xml('pain.008.002.02') # Use former schema pain.008.002.02
148
+ xml_string = sdd.to_xml # Use schema pain.008.001.02
149
+ xml_string = sdd.to_xml('pain.008.002.02') # Use schema pain.008.002.02
151
150
  ```
152
151
 
153
152
 
@@ -237,8 +236,8 @@ sct.add_transaction(
237
236
  sct.add_transaction ...
238
237
 
239
238
  # Last: create XML string
240
- xml_string = sct.to_xml # Use latest schema pain.001.003.03
241
- xml_string = sct.to_xml('pain.001.002.03') # Use former schema pain.001.002.03
239
+ xml_string = sct.to_xml # Use schema pain.001.001.03
240
+ xml_string = sct.to_xml('pain.001.002.03') # Use schema pain.001.002.03
242
241
  ```
243
242
 
244
243
  ## Validations
@@ -286,7 +285,7 @@ https://github.com/salesking/sepa_king/graphs/contributors
286
285
 
287
286
  ## Resources
288
287
 
289
- * http://www.ebics.de/index.php?id=77
288
+ * https://www.ebics.de/de/datenformate
290
289
  * SalesKing: http://salesking.eu
291
290
 
292
291
 
@@ -294,4 +293,4 @@ https://github.com/salesking/sepa_king/graphs/contributors
294
293
 
295
294
  Released under the MIT license
296
295
 
297
- Copyright (c) 2013-2017 Georg Leciejewski (SalesKing), Georg Ledermann (https://github.com/ledermann)
296
+ Copyright (c) 2013-2022 Georg Leciejewski (SalesKing), Georg Ledermann (https://github.com/ledermann)
@@ -2,4 +2,4 @@ source 'https://rubygems.org'
2
2
 
3
3
  gemspec path: '..'
4
4
 
5
- gem 'activemodel', '~>4.0.13'
5
+ gem 'activemodel', '~> 6.0.0'
@@ -2,4 +2,4 @@ source 'https://rubygems.org'
2
2
 
3
3
  gemspec path: '..'
4
4
 
5
- gem 'activemodel', '~>4.1.15'
5
+ gem 'activemodel', '~> 6.1.4'
@@ -2,4 +2,4 @@ source 'https://rubygems.org'
2
2
 
3
3
  gemspec path: '..'
4
4
 
5
- gem 'activemodel', '~>3.1.12'
5
+ gem 'activemodel', '~> 7.0.1'