sps_king 0.1.1 → 0.2.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 56a85b25dae0a29c3fd5deedec0e694f191febb00a3aa47c05942e898171dbcb
4
- data.tar.gz: bf9eca9e69a4683e49864c767478c813a7117a5b33bc3fe91c83ee3b8c401153
3
+ metadata.gz: '057802d5c085e2f1442004029861f0d3547bc73bbc82a8cad0899325ec26e8a5'
4
+ data.tar.gz: 919cc15db81dcf2f8477d0b6309bf61e5db603cdfacefaa253c0127ab9211458
5
5
  SHA512:
6
- metadata.gz: d32abcc154eb68b790a9c9444f71b559c99a24c3c970ba598193d0fe607b084c2611e029cd5502f0fb6e3a4601d96aa8204ec17d845403a4a961000af19b31a6
7
- data.tar.gz: 3440a70f437c1586990f9cc95ee3c4a8491ff3c3fdcb936675a3496807967cbafef40c6707edb2221678d88cd79c4a6e1d4cb2844a178a19e166690a69634916
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
@@ -1,4 +1,4 @@
1
- Copyright (c) 2018-2020 viafintech GmbH
1
+ Copyright (c) 2018-2023 viafintech GmbH
2
2
 
3
3
  Copyright (c) 2013-2017 Georg Leciejewski (Sales King GmbH) & Georg Ledermann for portions of this project copied from sepa_king
4
4
 
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Ruby gem for creating SPS XML files
2
2
 
3
- [![Build Status](https://travis-ci.org/Barzahlen/sps_king.svg)](http://travis-ci.org/Barzahlen/sps_king)
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.1 or newer
15
- * ActiveModel 3.1 or newer
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
@@ -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', '~> 7.0.0'
@@ -1,3 +1,3 @@
1
1
  module SPS
2
- VERSION = '0.1.1'
2
+ VERSION = '0.2.0'
3
3
  end
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.1'
20
+ s.required_ruby_version = '>= 2.7'
21
21
 
22
- s.add_runtime_dependency 'activemodel', '>= 3.1'
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.1.1
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: 2021-12-06 00:00:00.000000000 Z
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: '3.1'
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: '3.1'
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.1'
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.0.6
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
@@ -1,5 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- gemspec path: '..'
4
-
5
- gem 'activemodel', '~>3.1.12'
@@ -1,5 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- gemspec path: '..'
4
-
5
- gem 'activemodel', '~>3.2.22.2'
@@ -1,5 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- gemspec path: '..'
4
-
5
- gem 'activemodel', '~>4.0.13'
@@ -1,5 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- gemspec path: '..'
4
-
5
- gem 'activemodel', '~>4.2.6'