sps_king 0.1.0 → 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
- SHA1:
3
- metadata.gz: 6cd77b54487aa19572d341aacb94135014482406
4
- data.tar.gz: c2b795d7d60742a76ef3bc1b335ea0901ecee526
2
+ SHA256:
3
+ metadata.gz: '057802d5c085e2f1442004029861f0d3547bc73bbc82a8cad0899325ec26e8a5'
4
+ data.tar.gz: 919cc15db81dcf2f8477d0b6309bf61e5db603cdfacefaa253c0127ab9211458
5
5
  SHA512:
6
- metadata.gz: b1153883b2c58b05b2cc890c5c90bdaeab9d8296a1c0e2ef02766421028d3ff40ff673ea65f6e4b99a3c8e5785ecc7f1ccae508b4102931191ff4dd90583e827
7
- data.tar.gz: 9b9546cb0777778b9ff24b7c4405a60cf62a1b899ccfd91b5fb6c8068f6ca4b927288263073b82d204ee6f9403d1eae55f69b8fed74eb8bfbba955fa232a97f5
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/.gitignore CHANGED
@@ -7,3 +7,4 @@ pkg/*
7
7
  Gemfile.lock
8
8
  # tmp disable
9
9
  docs/
10
+ *.gem
data/LICENSE.txt CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2018 Tobias Schoknecht
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,18 +1,18 @@
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.
7
7
  This is currently implemented in v1.8 for Swiss Credit Transfers (`pain.001.001.03.ch.02`) and v1.2 for Swiss Direct Debits (`pain.008.001.02.ch.03`).
8
8
 
9
- It is a forked of [sepa_king](https://github.com/salesking/sepa_king) and therefore heavily inspired by the structure and the API.
10
-
9
+ If you are looking for SEPA **pain** file building, take a look at [sepa_king](https://github.com/salesking/sepa_king).
10
+ This gem is forked of `sepa_king` and therefore heavily inspired by the structure and the API.
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', '~> 6.0.0'
@@ -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', '~> 6.1.0'
@@ -2,4 +2,4 @@ source 'https://rubygems.org'
2
2
 
3
3
  gemspec path: '..'
4
4
 
5
- gem 'activemodel', '~>4.2.6'
5
+ gem 'activemodel', '~> 7.0.0'
@@ -1,3 +1,3 @@
1
1
  module SPS
2
- VERSION = '0.1.0'
2
+ VERSION = '0.2.0'
3
3
  end
data/spec/spec_helper.rb CHANGED
@@ -4,11 +4,9 @@
4
4
  # loaded once.
5
5
 
6
6
  require 'simplecov'
7
- require 'coveralls'
8
7
 
9
8
  SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter.new([
10
- SimpleCov::Formatter::HTMLFormatter,
11
- Coveralls::SimpleCov::Formatter
9
+ SimpleCov::Formatter::HTMLFormatter
12
10
  ])
13
11
  SimpleCov.start do
14
12
  add_filter '/spec/'
data/sps_king.gemspec CHANGED
@@ -7,8 +7,8 @@ Gem::Specification.new do |s|
7
7
  s.name = 'sps_king'
8
8
  s.version = SPS::VERSION
9
9
  s.authors = ['Tobias Schoknecht']
10
- s.email = ['tobias.schoknecht@barzahlen.de']
11
- s.description = 'Implemention of pain.001.001.03.ch.02 and pain.pain.008.001.02.ch.03 (ISO 20022)'
10
+ s.email = ['tobias.schoknecht@viafintech.com']
11
+ s.description = 'Implemention of pain.001.001.03.ch.02 and pain.008.001.02.ch.03 (ISO 20022)'
12
12
  s.summary = 'Ruby gem for creating SPS XML files'
13
13
  s.homepage = 'http://github.com/Barzahlen/sps_king'
14
14
  s.license = 'MIT'
@@ -17,15 +17,14 @@ 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
 
26
26
  s.add_development_dependency 'bundler'
27
27
  s.add_development_dependency 'rspec'
28
- s.add_development_dependency 'coveralls'
29
28
  s.add_development_dependency 'simplecov'
30
29
  s.add_development_dependency 'rake'
31
30
  end
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.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tobias Schoknecht
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-11-21 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
@@ -80,20 +80,6 @@ dependencies:
80
80
  - - ">="
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
- - !ruby/object:Gem::Dependency
84
- name: coveralls
85
- requirement: !ruby/object:Gem::Requirement
86
- requirements:
87
- - - ">="
88
- - !ruby/object:Gem::Version
89
- version: '0'
90
- type: :development
91
- prerelease: false
92
- version_requirements: !ruby/object:Gem::Requirement
93
- requirements:
94
- - - ">="
95
- - !ruby/object:Gem::Version
96
- version: '0'
97
83
  - !ruby/object:Gem::Dependency
98
84
  name: simplecov
99
85
  requirement: !ruby/object:Gem::Requirement
@@ -122,30 +108,28 @@ dependencies:
122
108
  - - ">="
123
109
  - !ruby/object:Gem::Version
124
110
  version: '0'
125
- description: Implemention of pain.001.001.03.ch.02 and pain.pain.008.001.02.ch.03
126
- (ISO 20022)
111
+ description: Implemention of pain.001.001.03.ch.02 and pain.008.001.02.ch.03 (ISO
112
+ 20022)
127
113
  email:
128
- - tobias.schoknecht@barzahlen.de
114
+ - tobias.schoknecht@viafintech.com
129
115
  executables: []
130
116
  extensions: []
131
117
  extra_rdoc_files: []
132
118
  files:
119
+ - ".github/workflows/test.yml"
133
120
  - ".gitignore"
134
121
  - ".rspec"
135
- - ".travis.yml"
136
122
  - CONTRIBUTING.md
137
123
  - Gemfile
138
124
  - LICENSE.txt
139
125
  - README.md
140
126
  - Rakefile
141
- - gemfiles/Gemfile-activemodel-3.1.x
142
- - gemfiles/Gemfile-activemodel-3.2.x
143
- - gemfiles/Gemfile-activemodel-4.0.x
144
- - gemfiles/Gemfile-activemodel-4.1.x
145
- - gemfiles/Gemfile-activemodel-4.2.x
146
127
  - gemfiles/Gemfile-activemodel-5.0.x
147
128
  - gemfiles/Gemfile-activemodel-5.1.x
148
129
  - gemfiles/Gemfile-activemodel-5.2.x
130
+ - gemfiles/Gemfile-activemodel-6.0.x
131
+ - gemfiles/Gemfile-activemodel-6.1.x
132
+ - gemfiles/Gemfile-activemodel-7.0.x
149
133
  - lib/schema/pain.001.001.03.ch.02.xsd
150
134
  - lib/schema/pain.008.001.02.ch.03.xsd
151
135
  - lib/sps_king.rb
@@ -192,7 +176,7 @@ homepage: http://github.com/Barzahlen/sps_king
192
176
  licenses:
193
177
  - MIT
194
178
  metadata: {}
195
- post_install_message:
179
+ post_install_message:
196
180
  rdoc_options: []
197
181
  require_paths:
198
182
  - lib
@@ -200,16 +184,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
200
184
  requirements:
201
185
  - - ">="
202
186
  - !ruby/object:Gem::Version
203
- version: '2.1'
187
+ version: '2.7'
204
188
  required_rubygems_version: !ruby/object:Gem::Requirement
205
189
  requirements:
206
190
  - - ">="
207
191
  - !ruby/object:Gem::Version
208
192
  version: '0'
209
193
  requirements: []
210
- rubyforge_project:
211
- rubygems_version: 2.4.8
212
- signing_key:
194
+ rubygems_version: 3.1.6
195
+ signing_key:
213
196
  specification_version: 4
214
197
  summary: Ruby gem for creating SPS XML files
215
198
  test_files:
data/.travis.yml DELETED
@@ -1,32 +0,0 @@
1
- rvm:
2
- - 2.1.1
3
- - 2.2.10
4
- - 2.3.7
5
- - 2.4.4
6
- - 2.5.1
7
- gemfile:
8
- - gemfiles/Gemfile-activemodel-3.1.x
9
- - gemfiles/Gemfile-activemodel-3.2.x
10
- - gemfiles/Gemfile-activemodel-4.0.x
11
- - gemfiles/Gemfile-activemodel-4.1.x
12
- - gemfiles/Gemfile-activemodel-4.2.x
13
- - gemfiles/Gemfile-activemodel-5.0.x
14
- - gemfiles/Gemfile-activemodel-5.1.x
15
- - gemfiles/Gemfile-activemodel-5.2.x
16
- matrix:
17
- exclude:
18
- - rvm: 2.1.1
19
- gemfile: gemfiles/Gemfile-activemodel-5.0.x
20
- - rvm: 2.1.1
21
- gemfile: gemfiles/Gemfile-activemodel-5.1.x
22
- - rvm: 2.1.1
23
- gemfile: gemfiles/Gemfile-activemodel-5.2.x
24
- - rvm: 2.4.4
25
- gemfile: gemfiles/Gemfile-activemodel-4.1.x
26
- - rvm: 2.4.4
27
- gemfile: gemfiles/Gemfile-activemodel-4.2.x
28
- - rvm: 2.5.1
29
- gemfile: gemfiles/Gemfile-activemodel-4.1.x
30
- - rvm: 2.5.1
31
- gemfile: gemfiles/Gemfile-activemodel-4.2.x
32
- sudo: false
@@ -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'