saml_idp_metadata 0.3.7 → 0.3.8

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: 374f1d2a77717d6f2f638144d2abf415c3b39b20909df9ce1a617656dd0ed0e5
4
- data.tar.gz: 318959380f83f9a0478fbc19c0de854cc0739210fe30ee846d59399b90c7f40f
3
+ metadata.gz: 35868d94a462a7ce8648be65e5d558677e04903827c4debbd7b5ad775a527942
4
+ data.tar.gz: badd623d95e8d6153df2507e39f6c2afddb66d1e09c2af1190a2583ab5288433
5
5
  SHA512:
6
- metadata.gz: d03ffd39f84c6ac00d9ef005afbcc7d2ac8cde19e9975a75ae9f38a0c736fd653165b04c77281194489ea9c6aad1d8df92ab5da2612ed744ea974031c7fa0989
7
- data.tar.gz: 032b3808cc9d2df554f318fd5da04a66475826a8841f415a24567a519b01b82bbd792f7dbb9608294c2d0c4f51a67fbf5821c12836f994bbc6419afba512056a
6
+ metadata.gz: 7cdfe25c024405ab02cd489863affc7a8ad1702136c6abbc59f197a4db7fc74e1354f9e088e8dd3900cc03e5d339f06720529e2dec79aa393fa42ac7c4ee3bd4
7
+ data.tar.gz: c1fbb625c786c657b4e385519b9c199f620ad709e46cd0f96f54f68b4f69b08be3618094b376d6382e6b45c162af4c68c378a9831640f4bce784b4ea20007c8b
data/.circleci/config.yml CHANGED
@@ -1,19 +1,13 @@
1
1
  version: 2.1
2
2
 
3
3
  executors:
4
- working_directory: /root/saml_idp_metadata
5
- ruby_3_4:
4
+ ruby:
5
+ parameters:
6
+ version:
7
+ type: string
6
8
  docker:
7
- - image: rubylang/ruby:3.4-dev-focal
8
- ruby_3_3:
9
- docker:
10
- - image: rubylang/ruby:3.3-dev-focal
11
- ruby_3_2:
12
- docker:
13
- - image: rubylang/ruby:3.2-dev-focal
14
- ruby_3_1:
15
- docker:
16
- - image: rubylang/ruby:3.1-dev-focal
9
+ - image: rubylang/ruby:<< parameters.version >>-dev-focal
10
+ working_directory: /root/saml_idp_metadata
17
11
 
18
12
  commands:
19
13
  install_system_dependencies:
@@ -45,30 +39,13 @@ commands:
45
39
  path: coverage
46
40
 
47
41
  jobs:
48
- run_tests_on_ruby_3_4:
49
- executor: ruby_3_4
50
- steps:
51
- - install_system_dependencies
52
- - checkout
53
- - bundle_gems
54
- - run_tests
55
- run_tests_on_ruby_3_3:
56
- executor: ruby_3_3
57
- steps:
58
- - install_system_dependencies
59
- - checkout
60
- - bundle_gems
61
- - run_tests
62
- run_tests_on_ruby_3_2:
63
- executor: ruby_3_2
64
- steps:
65
- - install_system_dependencies
66
- - checkout
67
- - bundle_gems
68
- - run_tests
69
-
70
- run_tests_on_ruby_3_1:
71
- executor: ruby_3_1
42
+ test:
43
+ parameters:
44
+ ruby-version:
45
+ type: string
46
+ executor:
47
+ name: ruby
48
+ version: << parameters.ruby-version >>
72
49
  steps:
73
50
  - install_system_dependencies
74
51
  - checkout
@@ -79,7 +56,11 @@ workflows:
79
56
  version: 2
80
57
  test:
81
58
  jobs:
82
- - run_tests_on_ruby_3_4
83
- - run_tests_on_ruby_3_3
84
- - run_tests_on_ruby_3_2
85
- - run_tests_on_ruby_3_1
59
+ - test:
60
+ matrix:
61
+ parameters:
62
+ ruby-version:
63
+ - "3.1"
64
+ - "3.2"
65
+ - "3.3"
66
+ - "3.4"
@@ -1,26 +1,44 @@
1
- name: Ruby
1
+ name: Ruby Tests
2
2
 
3
- on: [push]
3
+ on:
4
+ push:
5
+ pull_request:
6
+ types: [opened, synchronize]
4
7
 
5
8
  jobs:
6
- build:
9
+ test:
10
+ name: Ruby ${{ matrix.ruby-version }}
7
11
  runs-on: ubuntu-latest
8
12
  strategy:
13
+ fail-fast: false
9
14
  matrix:
10
- ruby:
11
- # https://hub.docker.com/r/rubylang/ruby
12
- - '3.1-dev-focal'
13
- - '3.2-dev-focal'
14
- - '3.3-dev-focal'
15
- - '3.4-dev-focal'
15
+ ruby-version:
16
+ - '3.1'
17
+ - '3.2'
18
+ - '3.3'
19
+ - '3.4'
16
20
  container:
17
- image: rubylang/ruby:${{ matrix.ruby }}
21
+ image: rubylang/ruby:${{ matrix.ruby-version }}-dev-focal
18
22
 
19
23
  steps:
20
- - uses: actions/checkout@master
21
- - name: Build and test
22
- run: |
23
- gem install bundler -v 2.5.22 --force
24
- bundle install
25
- bundle exec rubocop
26
- bundle exec rake
24
+ - name: Checkout code
25
+ uses: actions/checkout@v4
26
+
27
+ - name: Setup bundler
28
+ run: gem install bundler -v 2.5.22 --force --no-document
29
+
30
+ - name: Install dependencies
31
+ run: bundle install --jobs 4 --retry 3
32
+
33
+ - name: Run linting
34
+ run: bundle exec rubocop
35
+
36
+ - name: Run tests
37
+ run: bundle exec rake
38
+
39
+ - name: Upload coverage reports
40
+ uses: actions/upload-artifact@v4
41
+ if: always()
42
+ with:
43
+ name: coverage-${{ matrix.ruby-version }}
44
+ path: coverage/
data/.rubocop.yml CHANGED
@@ -1,5 +1,9 @@
1
1
  inherit_from: .rubocop_todo.yml
2
2
 
3
+ require:
4
+ - rubocop-rake
5
+ - rubocop-rspec
6
+
3
7
  AllCops:
4
8
  NewCops: enable
5
9
 
data/.rubocop_todo.yml CHANGED
@@ -1,41 +1,19 @@
1
1
  # This configuration was generated by
2
2
  # `rubocop --auto-gen-config`
3
- # on 2023-02-10 09:02:06 UTC using RuboCop version 1.29.0.
3
+ # on 2025-03-29 08:31:38 UTC using RuboCop version 1.75.1.
4
4
  # The point is for the user to remove these configuration records
5
5
  # one by one as the offenses are removed from the code base.
6
6
  # Note that changes in the inspected code, or installation of new
7
7
  # versions of RuboCop, may require this file to be generated again.
8
8
 
9
9
  # Offense count: 1
10
- # Configuration parameters: Include.
11
- # Include: **/*.gemspec
12
- Gemspec/RequiredRubyVersion:
13
- Exclude:
14
- - 'saml_idp_metadata.gemspec'
15
-
16
- # Offense count: 1
17
- # Configuration parameters: IgnoredMethods, CountRepeatedAttributes.
10
+ # Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes.
18
11
  Metrics/AbcSize:
19
12
  Max: 21
20
13
 
21
- # Offense count: 8
22
- # Configuration parameters: CountComments, CountAsOne, ExcludedMethods, IgnoredMethods.
23
- # IgnoredMethods: refine
24
- Metrics/BlockLength:
25
- Max: 362
26
-
27
- # Offense count: 14
28
- # This cop supports safe auto-correction (--auto-correct).
29
- # Configuration parameters: EnforcedShorthandSyntax, UseHashRocketsWithSymbolValues, PreferHashRocketsForNonAlnumEndingSymbols.
30
- # SupportedStyles: ruby19, hash_rockets, no_mixed_keys, ruby19_no_mixed_keys
31
- # SupportedShorthandSyntax: always, never, either
32
- Style/HashSyntax:
33
- EnforcedStyle: ruby19_no_mixed_keys
34
- EnforcedShorthandSyntax: either
35
-
36
14
  # Offense count: 26
37
- # This cop supports safe auto-correction (--auto-correct).
38
- # Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns, IgnoredPatterns.
15
+ # This cop supports safe autocorrection (--autocorrect).
16
+ # Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns, SplitStrings.
39
17
  # URISchemes: http, https
40
18
  Layout/LineLength:
41
19
  Max: 126
data/CHANGELOG.md CHANGED
@@ -1,5 +1,16 @@
1
1
  # Changelog
2
2
 
3
+ ## [v0.3.7](https://github.com/tknzk/saml_idp_metadata/tree/v0.3.7) (2025-03-21)
4
+
5
+ [Full Changelog](https://github.com/tknzk/saml_idp_metadata/compare/v0.3.6...v0.3.7)
6
+
7
+ **Merged pull requests:**
8
+
9
+ - bumpup [\#227](https://github.com/tknzk/saml_idp_metadata/pull/227) ([tknzk](https://github.com/tknzk))
10
+ - ruby 3.3.7, bundler 2.5.22 [\#226](https://github.com/tknzk/saml_idp_metadata/pull/226) ([tknzk](https://github.com/tknzk))
11
+ - ci for ruby 3.3,3.4 [\#225](https://github.com/tknzk/saml_idp_metadata/pull/225) ([tknzk](https://github.com/tknzk))
12
+ - Bundle update [\#224](https://github.com/tknzk/saml_idp_metadata/pull/224) ([tknzk](https://github.com/tknzk))
13
+
3
14
  ## [v0.3.6](https://github.com/tknzk/saml_idp_metadata/tree/v0.3.6) (2024-05-28)
4
15
 
5
16
  [Full Changelog](https://github.com/tknzk/saml_idp_metadata/compare/v0.3.5...v0.3.6)
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- saml_idp_metadata (0.3.7)
4
+ saml_idp_metadata (0.3.8)
5
5
  activesupport (< 8)
6
6
  rexml
7
7
 
@@ -20,14 +20,14 @@ GEM
20
20
  minitest (>= 5.1)
21
21
  securerandom (>= 0.3)
22
22
  tzinfo (~> 2.0, >= 2.0.5)
23
- ast (2.4.2)
23
+ ast (2.4.3)
24
24
  base64 (0.2.0)
25
25
  benchmark (0.4.0)
26
26
  bigdecimal (3.1.9)
27
27
  coderay (1.1.3)
28
28
  concurrent-ruby (1.3.5)
29
29
  connection_pool (2.5.0)
30
- diff-lcs (1.6.0)
30
+ diff-lcs (1.6.1)
31
31
  docile (1.4.1)
32
32
  drb (2.2.1)
33
33
  i18n (1.14.7)
@@ -35,13 +35,14 @@ GEM
35
35
  json (2.10.2)
36
36
  language_server-protocol (3.17.0.4)
37
37
  lint_roller (1.1.0)
38
- logger (1.6.6)
38
+ logger (1.7.0)
39
39
  method_source (1.1.0)
40
40
  minitest (5.25.5)
41
41
  parallel (1.26.3)
42
- parser (3.3.7.1)
42
+ parser (3.3.7.3)
43
43
  ast (~> 2.4.1)
44
44
  racc
45
+ prism (1.4.0)
45
46
  pry (0.15.2)
46
47
  coderay (~> 1.1)
47
48
  method_source (~> 1.0)
@@ -63,7 +64,7 @@ GEM
63
64
  diff-lcs (>= 1.2.0, < 2.0)
64
65
  rspec-support (~> 3.13.0)
65
66
  rspec-support (3.13.2)
66
- rubocop (1.74.0)
67
+ rubocop (1.75.1)
67
68
  json (~> 2.3)
68
69
  language_server-protocol (~> 3.17.0.2)
69
70
  lint_roller (~> 1.1.0)
@@ -71,11 +72,12 @@ GEM
71
72
  parser (>= 3.3.0.2)
72
73
  rainbow (>= 2.2.2, < 4.0)
73
74
  regexp_parser (>= 2.9.3, < 3.0)
74
- rubocop-ast (>= 1.38.0, < 2.0)
75
+ rubocop-ast (>= 1.43.0, < 2.0)
75
76
  ruby-progressbar (~> 1.7)
76
77
  unicode-display_width (>= 2.4.0, < 4.0)
77
- rubocop-ast (1.39.0)
78
- parser (>= 3.3.1.0)
78
+ rubocop-ast (1.43.0)
79
+ parser (>= 3.3.7.2)
80
+ prism (~> 1.4)
79
81
  rubocop-rake (0.7.1)
80
82
  lint_roller (~> 1.1)
81
83
  rubocop (>= 1.72.1)
@@ -46,7 +46,7 @@ module SamlIdpMetadata
46
46
  end
47
47
 
48
48
  def ensure_params?
49
- entity_id.present? && (sso_http_redirect_url.present? && sso_http_post_url.present?) && x509_certificate.present?
49
+ entity_id.present? && sso_http_redirect_url.present? && sso_http_post_url.present? && x509_certificate.present?
50
50
  end
51
51
 
52
52
  def build_params
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SamlIdpMetadata
4
- VERSION = '0.3.7'
4
+ VERSION = '0.3.8'
5
5
  end
@@ -6,7 +6,7 @@ require 'saml_idp_metadata/version'
6
6
 
7
7
  Gem::Specification.new do |spec|
8
8
  spec.name = 'saml_idp_metadata'
9
- spec.required_ruby_version = '>= 3.0.0', '< 4'
9
+ spec.required_ruby_version = '>= 3.1', '< 4'
10
10
  spec.version = SamlIdpMetadata::VERSION
11
11
  spec.authors = ['tknzk']
12
12
  spec.email = ['info@tknzk.dev']
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: saml_idp_metadata
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.7
4
+ version: 0.3.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - tknzk
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2025-03-21 00:00:00.000000000 Z
11
+ date: 2025-03-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -193,7 +193,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
193
193
  requirements:
194
194
  - - ">="
195
195
  - !ruby/object:Gem::Version
196
- version: 3.0.0
196
+ version: '3.1'
197
197
  - - "<"
198
198
  - !ruby/object:Gem::Version
199
199
  version: '4'