sps_king 0.1.1 → 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/.github/workflows/test.yml +33 -0
- data/LICENSE.txt +1 -1
- data/README.md +4 -4
- data/gemfiles/{Gemfile-activemodel-4.1.x → Gemfile-activemodel-7.0.x} +1 -1
- data/lib/sps_king/version.rb +1 -1
- data/sps_king.gemspec +2 -2
- metadata +8 -12
- data/.travis.yml +0 -16
- data/gemfiles/Gemfile-activemodel-3.1.x +0 -5
- data/gemfiles/Gemfile-activemodel-3.2.x +0 -5
- data/gemfiles/Gemfile-activemodel-4.0.x +0 -5
- data/gemfiles/Gemfile-activemodel-4.2.x +0 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '057802d5c085e2f1442004029861f0d3547bc73bbc82a8cad0899325ec26e8a5'
|
4
|
+
data.tar.gz: 919cc15db81dcf2f8477d0b6309bf61e5db603cdfacefaa253c0127ab9211458
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1cbeef6cf2715b6348368c3ae749c1c3c7201db1d9316744f78c14b35deed481fa86bd89e65e3d73965719d683d1d9e8656228c7ba4ac0dff1518613f9c9f1c6
|
7
|
+
data.tar.gz: b52c8eb22238968ec4f5ebf7714ba6513e424916cc889e69bde698168bd101ab422dc2b1468a3090cc860778b9641b07e90ce75f944d311677d7d0ca10fc6ab9
|
@@ -0,0 +1,33 @@
|
|
1
|
+
name: Ruby
|
2
|
+
|
3
|
+
on:
|
4
|
+
push:
|
5
|
+
branches: [ master ]
|
6
|
+
pull_request:
|
7
|
+
branches: [ master ]
|
8
|
+
|
9
|
+
jobs:
|
10
|
+
test:
|
11
|
+
runs-on: ubuntu-latest
|
12
|
+
|
13
|
+
strategy:
|
14
|
+
matrix:
|
15
|
+
ruby-version: ['2.7']
|
16
|
+
gemfile:
|
17
|
+
- gemfiles/Gemfile-activemodel-5.0.x
|
18
|
+
- gemfiles/Gemfile-activemodel-5.1.x
|
19
|
+
- gemfiles/Gemfile-activemodel-5.2.x
|
20
|
+
- gemfiles/Gemfile-activemodel-6.0.x
|
21
|
+
- gemfiles/Gemfile-activemodel-6.1.x
|
22
|
+
- gemfiles/Gemfile-activemodel-7.0.x
|
23
|
+
|
24
|
+
steps:
|
25
|
+
- uses: actions/checkout@v3
|
26
|
+
- name: Set up Ruby ${{ matrix.ruby-version }}
|
27
|
+
uses: ruby/setup-ruby@359bebbc29cbe6c87da6bc9ea3bc930432750108
|
28
|
+
with:
|
29
|
+
ruby-version: ${{ matrix.ruby-version }}
|
30
|
+
- name: Install dependencies for ${{ matrix.gemfile}}
|
31
|
+
run: bundle install --gemfile=${{ matrix.gemfile }}
|
32
|
+
- name: Run tests
|
33
|
+
run: bundle exec rspec
|
data/LICENSE.txt
CHANGED
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Ruby gem for creating SPS XML files
|
2
2
|
|
3
|
-
|
3
|
+
![Build Status](https://github.com/viafintech/sps_king/actions/workflows/test.yml/badge.svg)
|
4
4
|
[![Gem Version](https://badge.fury.io/rb/sps_king.svg)](http://badge.fury.io/rb/sps_king)
|
5
5
|
|
6
6
|
sps_king is a Ruby gem which implements **pain** (**Pa**yment **In**itiation) file building for the Swiss Payment Standard, which is a subset of the ISO 20022 standard.
|
@@ -11,8 +11,8 @@ This gem is forked of `sepa_king` and therefore heavily inspired by the structur
|
|
11
11
|
|
12
12
|
## Requirements
|
13
13
|
|
14
|
-
* Ruby 2.
|
15
|
-
* ActiveModel
|
14
|
+
* Ruby 2.7 or newer
|
15
|
+
* ActiveModel 5.0 or newer
|
16
16
|
|
17
17
|
|
18
18
|
## Installation
|
@@ -241,6 +241,6 @@ https://github.com/Barzahlen/sps_king/graphs/contributors
|
|
241
241
|
|
242
242
|
Released under the MIT license
|
243
243
|
|
244
|
-
Copyright (c) 2018 Tobias Schoknecht
|
244
|
+
Copyright (c) 2018-2023 Tobias Schoknecht
|
245
245
|
|
246
246
|
Copyright (c) 2013-2017 Georg Leciejewski (Sales King GmbH) & Georg Ledermann for portions of this project copied from sepa_king
|
data/lib/sps_king/version.rb
CHANGED
data/sps_king.gemspec
CHANGED
@@ -17,9 +17,9 @@ Gem::Specification.new do |s|
|
|
17
17
|
s.test_files = s.files.grep(%r{^(test|spec|features)/})
|
18
18
|
s.require_paths = ['lib']
|
19
19
|
|
20
|
-
s.required_ruby_version = '>= 2.
|
20
|
+
s.required_ruby_version = '>= 2.7'
|
21
21
|
|
22
|
-
s.add_runtime_dependency 'activemodel', '>=
|
22
|
+
s.add_runtime_dependency 'activemodel', '>= 5.0'
|
23
23
|
s.add_runtime_dependency 'nokogiri'
|
24
24
|
s.add_runtime_dependency 'iban-tools'
|
25
25
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sps_king
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tobias Schoknecht
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-01-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activemodel
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '5.0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
26
|
+
version: '5.0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: nokogiri
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -116,24 +116,20 @@ executables: []
|
|
116
116
|
extensions: []
|
117
117
|
extra_rdoc_files: []
|
118
118
|
files:
|
119
|
+
- ".github/workflows/test.yml"
|
119
120
|
- ".gitignore"
|
120
121
|
- ".rspec"
|
121
|
-
- ".travis.yml"
|
122
122
|
- CONTRIBUTING.md
|
123
123
|
- Gemfile
|
124
124
|
- LICENSE.txt
|
125
125
|
- README.md
|
126
126
|
- Rakefile
|
127
|
-
- gemfiles/Gemfile-activemodel-3.1.x
|
128
|
-
- gemfiles/Gemfile-activemodel-3.2.x
|
129
|
-
- gemfiles/Gemfile-activemodel-4.0.x
|
130
|
-
- gemfiles/Gemfile-activemodel-4.1.x
|
131
|
-
- gemfiles/Gemfile-activemodel-4.2.x
|
132
127
|
- gemfiles/Gemfile-activemodel-5.0.x
|
133
128
|
- gemfiles/Gemfile-activemodel-5.1.x
|
134
129
|
- gemfiles/Gemfile-activemodel-5.2.x
|
135
130
|
- gemfiles/Gemfile-activemodel-6.0.x
|
136
131
|
- gemfiles/Gemfile-activemodel-6.1.x
|
132
|
+
- gemfiles/Gemfile-activemodel-7.0.x
|
137
133
|
- lib/schema/pain.001.001.03.ch.02.xsd
|
138
134
|
- lib/schema/pain.008.001.02.ch.03.xsd
|
139
135
|
- lib/sps_king.rb
|
@@ -188,14 +184,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
188
184
|
requirements:
|
189
185
|
- - ">="
|
190
186
|
- !ruby/object:Gem::Version
|
191
|
-
version: '2.
|
187
|
+
version: '2.7'
|
192
188
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
193
189
|
requirements:
|
194
190
|
- - ">="
|
195
191
|
- !ruby/object:Gem::Version
|
196
192
|
version: '0'
|
197
193
|
requirements: []
|
198
|
-
rubygems_version: 3.
|
194
|
+
rubygems_version: 3.1.6
|
199
195
|
signing_key:
|
200
196
|
specification_version: 4
|
201
197
|
summary: Ruby gem for creating SPS XML files
|
data/.travis.yml
DELETED
@@ -1,16 +0,0 @@
|
|
1
|
-
rvm:
|
2
|
-
- 2.4.4
|
3
|
-
- 2.5.1
|
4
|
-
- 2.6.3
|
5
|
-
gemfile:
|
6
|
-
- gemfiles/Gemfile-activemodel-4.2.x
|
7
|
-
- gemfiles/Gemfile-activemodel-5.0.x
|
8
|
-
- gemfiles/Gemfile-activemodel-5.1.x
|
9
|
-
- gemfiles/Gemfile-activemodel-5.2.x
|
10
|
-
- gemfiles/Gemfile-activemodel-6.0.x
|
11
|
-
- gemfiles/Gemfile-activemodel-6.1.x
|
12
|
-
matrix:
|
13
|
-
exclude:
|
14
|
-
- rvm: 2.4.4
|
15
|
-
gemfile: gemfiles/Gemfile-activemodel-4.2.x
|
16
|
-
sudo: false
|