sps_king 0.2.0 → 0.3.1

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: '057802d5c085e2f1442004029861f0d3547bc73bbc82a8cad0899325ec26e8a5'
4
- data.tar.gz: 919cc15db81dcf2f8477d0b6309bf61e5db603cdfacefaa253c0127ab9211458
3
+ metadata.gz: cd70e12d3810143618272131a6c71f938e0f3a38d12a3922b1096798bd56906d
4
+ data.tar.gz: d3f2d858ed88af261d8fa635a04a1625e30d0b8b572477c91b672665999a0b1b
5
5
  SHA512:
6
- metadata.gz: 1cbeef6cf2715b6348368c3ae749c1c3c7201db1d9316744f78c14b35deed481fa86bd89e65e3d73965719d683d1d9e8656228c7ba4ac0dff1518613f9c9f1c6
7
- data.tar.gz: b52c8eb22238968ec4f5ebf7714ba6513e424916cc889e69bde698168bd101ab422dc2b1468a3090cc860778b9641b07e90ce75f944d311677d7d0ca10fc6ab9
6
+ metadata.gz: 202f18b83b35c8ba940eb8bb0827b65933893bf5ca307399940f8990146bdd69970e24c3ab9938067ea7f0343884f3c8523c891a394700d3ba83af0611305829
7
+ data.tar.gz: 2bae9c411fcb2a036219ca61ca2c701a2f69a57431ec8a89375e6c5764e11e6390db65e2ecb60819bc44744050f55d108fb4a654151341cfe389f8e6514fbec0
@@ -11,23 +11,26 @@ jobs:
11
11
  runs-on: ubuntu-latest
12
12
 
13
13
  strategy:
14
+ fail-fast: false
14
15
  matrix:
15
- ruby-version: ['2.7']
16
+ ruby: ['3.0', '3.1', '3.2', '3.3']
16
17
  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
18
  - gemfiles/Gemfile-activemodel-6.1.x
22
19
  - gemfiles/Gemfile-activemodel-7.0.x
20
+ - gemfiles/Gemfile-activemodel-7.1.x
21
+
22
+ name: Ruby ${{ matrix.ruby }} / Gemfile {{ matrix.gemfile }}
23
23
 
24
24
  steps:
25
25
  - uses: actions/checkout@v3
26
- - name: Set up Ruby ${{ matrix.ruby-version }}
27
- uses: ruby/setup-ruby@359bebbc29cbe6c87da6bc9ea3bc930432750108
26
+
27
+ - name: Set up Ruby ${{ matrix.ruby }}
28
+ uses: ruby/setup-ruby@v1
28
29
  with:
29
- ruby-version: ${{ matrix.ruby-version }}
30
- - name: Install dependencies for ${{ matrix.gemfile}}
31
- run: bundle install --gemfile=${{ matrix.gemfile }}
30
+ ruby-version: ${{ matrix.ruby }}
31
+
32
+ - name: Install dependencies for ${{ matrix.gemfile }}
33
+ run: bundle install --gemfile=${{ matrix.gemfile }}
34
+
32
35
  - name: Run tests
33
36
  run: bundle exec rspec
@@ -2,4 +2,4 @@ source 'https://rubygems.org'
2
2
 
3
3
  gemspec path: '..'
4
4
 
5
- gem 'activemodel', '~> 5.0.0'
5
+ gem 'activemodel', '~> 7.1.0'
@@ -43,7 +43,7 @@ module SPS
43
43
  self.requested_date ||= DEFAULT_REQUESTED_DATE
44
44
  self.reference ||= 'NOTPROVIDED'
45
45
  self.batch_booking = true if self.batch_booking.nil?
46
- self.currency ||= 'EUR'
46
+ self.currency ||= 'CHF'
47
47
  end
48
48
 
49
49
  protected
@@ -1,3 +1,3 @@
1
1
  module SPS
2
- VERSION = '0.2.0'
2
+ VERSION = '0.3.1'
3
3
  end
data/sps_king.gemspec CHANGED
@@ -17,7 +17,7 @@ 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.7'
20
+ s.required_ruby_version = '>= 3.0'
21
21
 
22
22
  s.add_runtime_dependency 'activemodel', '>= 5.0'
23
23
  s.add_runtime_dependency 'nokogiri'
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.2.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tobias Schoknecht
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-01-16 00:00:00.000000000 Z
11
+ date: 2024-06-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemodel
@@ -124,12 +124,9 @@ files:
124
124
  - LICENSE.txt
125
125
  - README.md
126
126
  - Rakefile
127
- - gemfiles/Gemfile-activemodel-5.0.x
128
- - gemfiles/Gemfile-activemodel-5.1.x
129
- - gemfiles/Gemfile-activemodel-5.2.x
130
- - gemfiles/Gemfile-activemodel-6.0.x
131
127
  - gemfiles/Gemfile-activemodel-6.1.x
132
128
  - gemfiles/Gemfile-activemodel-7.0.x
129
+ - gemfiles/Gemfile-activemodel-7.1.x
133
130
  - lib/schema/pain.001.001.03.ch.02.xsd
134
131
  - lib/schema/pain.008.001.02.ch.03.xsd
135
132
  - lib/sps_king.rb
@@ -184,14 +181,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
184
181
  requirements:
185
182
  - - ">="
186
183
  - !ruby/object:Gem::Version
187
- version: '2.7'
184
+ version: '3.0'
188
185
  required_rubygems_version: !ruby/object:Gem::Requirement
189
186
  requirements:
190
187
  - - ">="
191
188
  - !ruby/object:Gem::Version
192
189
  version: '0'
193
190
  requirements: []
194
- rubygems_version: 3.1.6
191
+ rubygems_version: 3.5.11
195
192
  signing_key:
196
193
  specification_version: 4
197
194
  summary: Ruby gem for creating SPS XML files
@@ -1,5 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- gemspec path: '..'
4
-
5
- gem 'activemodel', '~> 5.1.0'
@@ -1,5 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- gemspec path: '..'
4
-
5
- gem 'activemodel', '~> 5.2.0'
@@ -1,5 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- gemspec path: '..'
4
-
5
- gem 'activemodel', '~> 6.0.0'