sps_king 0.1.1 → 0.3.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 +31 -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/gemfiles/{Gemfile-activemodel-3.1.x → Gemfile-activemodel-7.1.x} +1 -1
- data/lib/sps_king/version.rb +1 -1
- data/sps_king.gemspec +2 -2
- metadata +9 -15
- data/.travis.yml +0 -16
- 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
- data/gemfiles/Gemfile-activemodel-5.0.x +0 -5
- data/gemfiles/Gemfile-activemodel-5.1.x +0 -5
- data/gemfiles/Gemfile-activemodel-5.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: 19d0865ad6d2b22dd641a185a944fbd202ccac2cc0c35978aa17c96461f284a5
|
4
|
+
data.tar.gz: 5fc3c5d5ab1bf1e0d0064f14b91dec22f586d68f87128615ff90ea7b42dfc6e1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6d8858f99dee20619395d99ec7c272cae8a361a90592993e57ae0b737bd21f7729d6233e970d517abf9d2178624e2be51a358770a9f211fca58ba513701232e2
|
7
|
+
data.tar.gz: bb74468d090c2bf36f57dc8d527e8ae3abacb0e501e68182458ddd02bd30a3e2940af8c4eab2df51b9496b044b6f8bb9d7429bb6b27216386218830de3f21ab9
|
@@ -0,0 +1,31 @@
|
|
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: ['3.0']
|
16
|
+
gemfile:
|
17
|
+
- gemfiles/Gemfile-activemodel-6.0.x
|
18
|
+
- gemfiles/Gemfile-activemodel-6.1.x
|
19
|
+
- gemfiles/Gemfile-activemodel-7.0.x
|
20
|
+
- gemfiles/Gemfile-activemodel-7.1.x
|
21
|
+
|
22
|
+
steps:
|
23
|
+
- uses: actions/checkout@v3
|
24
|
+
- name: Set up Ruby ${{ matrix.ruby-version }}
|
25
|
+
uses: ruby/setup-ruby@359bebbc29cbe6c87da6bc9ea3bc930432750108
|
26
|
+
with:
|
27
|
+
ruby-version: ${{ matrix.ruby-version }}
|
28
|
+
- name: Install dependencies for ${{ matrix.gemfile}}
|
29
|
+
run: bundle install --gemfile=${{ matrix.gemfile }}
|
30
|
+
- name: Run tests
|
31
|
+
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 = '>=
|
20
|
+
s.required_ruby_version = '>= 3.0'
|
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.3.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: 2024-02-06 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,18 @@ 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
|
-
- gemfiles/Gemfile-activemodel-5.0.x
|
133
|
-
- gemfiles/Gemfile-activemodel-5.1.x
|
134
|
-
- gemfiles/Gemfile-activemodel-5.2.x
|
135
127
|
- gemfiles/Gemfile-activemodel-6.0.x
|
136
128
|
- gemfiles/Gemfile-activemodel-6.1.x
|
129
|
+
- gemfiles/Gemfile-activemodel-7.0.x
|
130
|
+
- gemfiles/Gemfile-activemodel-7.1.x
|
137
131
|
- lib/schema/pain.001.001.03.ch.02.xsd
|
138
132
|
- lib/schema/pain.008.001.02.ch.03.xsd
|
139
133
|
- lib/sps_king.rb
|
@@ -188,14 +182,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
188
182
|
requirements:
|
189
183
|
- - ">="
|
190
184
|
- !ruby/object:Gem::Version
|
191
|
-
version: '
|
185
|
+
version: '3.0'
|
192
186
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
193
187
|
requirements:
|
194
188
|
- - ">="
|
195
189
|
- !ruby/object:Gem::Version
|
196
190
|
version: '0'
|
197
191
|
requirements: []
|
198
|
-
rubygems_version: 3.
|
192
|
+
rubygems_version: 3.5.3
|
199
193
|
signing_key:
|
200
194
|
specification_version: 4
|
201
195
|
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
|