saml_idp_metadata 0.3.6 → 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 +4 -4
- data/.circleci/config.yml +22 -31
- data/.github/workflows/ruby.yml +35 -16
- data/.rubocop.yml +4 -0
- data/.rubocop_todo.yml +4 -26
- data/.ruby-version +1 -1
- data/CHANGELOG.md +22 -0
- data/Gemfile.lock +53 -52
- data/lib/saml_idp_metadata/parser.rb +1 -1
- data/lib/saml_idp_metadata/version.rb +1 -1
- data/saml_idp_metadata.gemspec +2 -1
- metadata +18 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 35868d94a462a7ce8648be65e5d558677e04903827c4debbd7b5ad775a527942
|
4
|
+
data.tar.gz: badd623d95e8d6153df2507e39f6c2afddb66d1e09c2af1190a2583ab5288433
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7cdfe25c024405ab02cd489863affc7a8ad1702136c6abbc59f197a4db7fc74e1354f9e088e8dd3900cc03e5d339f06720529e2dec79aa393fa42ac7c4ee3bd4
|
7
|
+
data.tar.gz: c1fbb625c786c657b4e385519b9c199f620ad709e46cd0f96f54f68b4f69b08be3618094b376d6382e6b45c162af4c68c378a9831640f4bce784b4ea20007c8b
|
data/.circleci/config.yml
CHANGED
@@ -1,16 +1,13 @@
|
|
1
1
|
version: 2.1
|
2
2
|
|
3
3
|
executors:
|
4
|
-
|
5
|
-
|
4
|
+
ruby:
|
5
|
+
parameters:
|
6
|
+
version:
|
7
|
+
type: string
|
6
8
|
docker:
|
7
|
-
- image: rubylang/ruby
|
8
|
-
|
9
|
-
docker:
|
10
|
-
- image: rubylang/ruby:3.1-dev-focal
|
11
|
-
ruby_3_0:
|
12
|
-
docker:
|
13
|
-
- image: rubylang/ruby:3.0-dev-focal
|
9
|
+
- image: rubylang/ruby:<< parameters.version >>-dev-focal
|
10
|
+
working_directory: /root/saml_idp_metadata
|
14
11
|
|
15
12
|
commands:
|
16
13
|
install_system_dependencies:
|
@@ -27,7 +24,7 @@ commands:
|
|
27
24
|
- run:
|
28
25
|
name: Bundle gems
|
29
26
|
command: |
|
30
|
-
gem install bundler -v 2.
|
27
|
+
gem install bundler -v 2.5.22 --no-document --force
|
31
28
|
bundle install
|
32
29
|
|
33
30
|
run_tests:
|
@@ -42,24 +39,13 @@ commands:
|
|
42
39
|
path: coverage
|
43
40
|
|
44
41
|
jobs:
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
-
|
52
|
-
|
53
|
-
run_tests_on_ruby_3_1:
|
54
|
-
executor: ruby_3_1
|
55
|
-
steps:
|
56
|
-
- install_system_dependencies
|
57
|
-
- checkout
|
58
|
-
- bundle_gems
|
59
|
-
- run_tests
|
60
|
-
|
61
|
-
run_tests_on_ruby_3_0:
|
62
|
-
executor: ruby_3_0
|
42
|
+
test:
|
43
|
+
parameters:
|
44
|
+
ruby-version:
|
45
|
+
type: string
|
46
|
+
executor:
|
47
|
+
name: ruby
|
48
|
+
version: << parameters.ruby-version >>
|
63
49
|
steps:
|
64
50
|
- install_system_dependencies
|
65
51
|
- checkout
|
@@ -70,6 +56,11 @@ workflows:
|
|
70
56
|
version: 2
|
71
57
|
test:
|
72
58
|
jobs:
|
73
|
-
-
|
74
|
-
|
75
|
-
|
59
|
+
- test:
|
60
|
+
matrix:
|
61
|
+
parameters:
|
62
|
+
ruby-version:
|
63
|
+
- "3.1"
|
64
|
+
- "3.2"
|
65
|
+
- "3.3"
|
66
|
+
- "3.4"
|
data/.github/workflows/ruby.yml
CHANGED
@@ -1,25 +1,44 @@
|
|
1
|
-
name: Ruby
|
1
|
+
name: Ruby Tests
|
2
2
|
|
3
|
-
on:
|
3
|
+
on:
|
4
|
+
push:
|
5
|
+
pull_request:
|
6
|
+
types: [opened, synchronize]
|
4
7
|
|
5
8
|
jobs:
|
6
|
-
|
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
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
+
ruby-version:
|
16
|
+
- '3.1'
|
17
|
+
- '3.2'
|
18
|
+
- '3.3'
|
19
|
+
- '3.4'
|
15
20
|
container:
|
16
|
-
image: rubylang/ruby:${{ matrix.ruby }}
|
21
|
+
image: rubylang/ruby:${{ matrix.ruby-version }}-dev-focal
|
17
22
|
|
18
23
|
steps:
|
19
|
-
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
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
data/.rubocop_todo.yml
CHANGED
@@ -1,41 +1,19 @@
|
|
1
1
|
# This configuration was generated by
|
2
2
|
# `rubocop --auto-gen-config`
|
3
|
-
# on
|
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:
|
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
|
38
|
-
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns,
|
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/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.
|
1
|
+
3.3.7
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,27 @@
|
|
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
|
+
|
14
|
+
## [v0.3.6](https://github.com/tknzk/saml_idp_metadata/tree/v0.3.6) (2024-05-28)
|
15
|
+
|
16
|
+
[Full Changelog](https://github.com/tknzk/saml_idp_metadata/compare/v0.3.5...v0.3.6)
|
17
|
+
|
18
|
+
**Merged pull requests:**
|
19
|
+
|
20
|
+
- bumpup [\#223](https://github.com/tknzk/saml_idp_metadata/pull/223) ([tknzk](https://github.com/tknzk))
|
21
|
+
- bundle update [\#222](https://github.com/tknzk/saml_idp_metadata/pull/222) ([tknzk](https://github.com/tknzk))
|
22
|
+
- ruby 3.2.3 [\#221](https://github.com/tknzk/saml_idp_metadata/pull/221) ([tknzk](https://github.com/tknzk))
|
23
|
+
- modified email [\#220](https://github.com/tknzk/saml_idp_metadata/pull/220) ([tknzk](https://github.com/tknzk))
|
24
|
+
|
3
25
|
## [v0.3.5](https://github.com/tknzk/saml_idp_metadata/tree/v0.3.5) (2023-10-02)
|
4
26
|
|
5
27
|
[Full Changelog](https://github.com/tknzk/saml_idp_metadata/compare/v0.3.4...v0.3.5)
|
data/Gemfile.lock
CHANGED
@@ -1,101 +1,102 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
saml_idp_metadata (0.3.
|
4
|
+
saml_idp_metadata (0.3.8)
|
5
5
|
activesupport (< 8)
|
6
|
+
rexml
|
6
7
|
|
7
8
|
GEM
|
8
9
|
remote: https://rubygems.org/
|
9
10
|
specs:
|
10
|
-
activesupport (7.
|
11
|
+
activesupport (7.2.2.1)
|
11
12
|
base64
|
13
|
+
benchmark (>= 0.3)
|
12
14
|
bigdecimal
|
13
|
-
concurrent-ruby (~> 1.0, >= 1.
|
15
|
+
concurrent-ruby (~> 1.0, >= 1.3.1)
|
14
16
|
connection_pool (>= 2.2.5)
|
15
17
|
drb
|
16
18
|
i18n (>= 1.6, < 2)
|
19
|
+
logger (>= 1.4.2)
|
17
20
|
minitest (>= 5.1)
|
18
|
-
|
19
|
-
tzinfo (~> 2.0)
|
20
|
-
ast (2.4.
|
21
|
+
securerandom (>= 0.3)
|
22
|
+
tzinfo (~> 2.0, >= 2.0.5)
|
23
|
+
ast (2.4.3)
|
21
24
|
base64 (0.2.0)
|
22
|
-
|
25
|
+
benchmark (0.4.0)
|
26
|
+
bigdecimal (3.1.9)
|
23
27
|
coderay (1.1.3)
|
24
|
-
concurrent-ruby (1.
|
25
|
-
connection_pool (2.
|
26
|
-
diff-lcs (1.
|
27
|
-
docile (1.4.
|
28
|
+
concurrent-ruby (1.3.5)
|
29
|
+
connection_pool (2.5.0)
|
30
|
+
diff-lcs (1.6.1)
|
31
|
+
docile (1.4.1)
|
28
32
|
drb (2.2.1)
|
29
|
-
i18n (1.14.
|
33
|
+
i18n (1.14.7)
|
30
34
|
concurrent-ruby (~> 1.0)
|
31
|
-
json (2.
|
32
|
-
language_server-protocol (3.17.0.
|
35
|
+
json (2.10.2)
|
36
|
+
language_server-protocol (3.17.0.4)
|
37
|
+
lint_roller (1.1.0)
|
38
|
+
logger (1.7.0)
|
33
39
|
method_source (1.1.0)
|
34
|
-
minitest (5.
|
35
|
-
|
36
|
-
|
37
|
-
parser (3.3.1.0)
|
40
|
+
minitest (5.25.5)
|
41
|
+
parallel (1.26.3)
|
42
|
+
parser (3.3.7.3)
|
38
43
|
ast (~> 2.4.1)
|
39
44
|
racc
|
40
|
-
|
45
|
+
prism (1.4.0)
|
46
|
+
pry (0.15.2)
|
41
47
|
coderay (~> 1.1)
|
42
48
|
method_source (~> 1.0)
|
43
|
-
racc (1.8.
|
49
|
+
racc (1.8.1)
|
44
50
|
rainbow (3.1.1)
|
45
51
|
rake (13.2.1)
|
46
|
-
regexp_parser (2.
|
47
|
-
rexml (3.
|
48
|
-
strscan (>= 3.0.9)
|
52
|
+
regexp_parser (2.10.0)
|
53
|
+
rexml (3.4.1)
|
49
54
|
rspec (3.13.0)
|
50
55
|
rspec-core (~> 3.13.0)
|
51
56
|
rspec-expectations (~> 3.13.0)
|
52
57
|
rspec-mocks (~> 3.13.0)
|
53
|
-
rspec-core (3.13.
|
58
|
+
rspec-core (3.13.3)
|
54
59
|
rspec-support (~> 3.13.0)
|
55
|
-
rspec-expectations (3.13.
|
60
|
+
rspec-expectations (3.13.3)
|
56
61
|
diff-lcs (>= 1.2.0, < 2.0)
|
57
62
|
rspec-support (~> 3.13.0)
|
58
|
-
rspec-mocks (3.13.
|
63
|
+
rspec-mocks (3.13.2)
|
59
64
|
diff-lcs (>= 1.2.0, < 2.0)
|
60
65
|
rspec-support (~> 3.13.0)
|
61
|
-
rspec-support (3.13.
|
62
|
-
rubocop (1.
|
66
|
+
rspec-support (3.13.2)
|
67
|
+
rubocop (1.75.1)
|
63
68
|
json (~> 2.3)
|
64
|
-
language_server-protocol (
|
69
|
+
language_server-protocol (~> 3.17.0.2)
|
70
|
+
lint_roller (~> 1.1.0)
|
65
71
|
parallel (~> 1.10)
|
66
72
|
parser (>= 3.3.0.2)
|
67
73
|
rainbow (>= 2.2.2, < 4.0)
|
68
|
-
regexp_parser (>=
|
69
|
-
|
70
|
-
rubocop-ast (>= 1.31.1, < 2.0)
|
74
|
+
regexp_parser (>= 2.9.3, < 3.0)
|
75
|
+
rubocop-ast (>= 1.43.0, < 2.0)
|
71
76
|
ruby-progressbar (~> 1.7)
|
72
|
-
unicode-display_width (>= 2.4.0, <
|
73
|
-
rubocop-ast (1.
|
74
|
-
parser (>= 3.3.
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
rubocop (
|
79
|
-
rubocop-
|
80
|
-
|
81
|
-
|
82
|
-
rubocop (~> 1.40)
|
83
|
-
rubocop-capybara (~> 2.17)
|
84
|
-
rubocop-factory_bot (~> 2.22)
|
85
|
-
rubocop-rspec_rails (~> 2.28)
|
86
|
-
rubocop-rspec_rails (2.28.3)
|
87
|
-
rubocop (~> 1.40)
|
77
|
+
unicode-display_width (>= 2.4.0, < 4.0)
|
78
|
+
rubocop-ast (1.43.0)
|
79
|
+
parser (>= 3.3.7.2)
|
80
|
+
prism (~> 1.4)
|
81
|
+
rubocop-rake (0.7.1)
|
82
|
+
lint_roller (~> 1.1)
|
83
|
+
rubocop (>= 1.72.1)
|
84
|
+
rubocop-rspec (3.5.0)
|
85
|
+
lint_roller (~> 1.1)
|
86
|
+
rubocop (~> 1.72, >= 1.72.1)
|
88
87
|
ruby-progressbar (1.13.0)
|
88
|
+
securerandom (0.4.1)
|
89
89
|
simplecov (0.22.0)
|
90
90
|
docile (~> 1.1)
|
91
91
|
simplecov-html (~> 0.11)
|
92
92
|
simplecov_json_formatter (~> 0.1)
|
93
|
-
simplecov-html (0.
|
93
|
+
simplecov-html (0.13.1)
|
94
94
|
simplecov_json_formatter (0.1.4)
|
95
|
-
strscan (3.1.0)
|
96
95
|
tzinfo (2.0.6)
|
97
96
|
concurrent-ruby (~> 1.0)
|
98
|
-
unicode-display_width (
|
97
|
+
unicode-display_width (3.1.4)
|
98
|
+
unicode-emoji (~> 4.0, >= 4.0.4)
|
99
|
+
unicode-emoji (4.0.4)
|
99
100
|
|
100
101
|
PLATFORMS
|
101
102
|
ruby
|
@@ -113,4 +114,4 @@ DEPENDENCIES
|
|
113
114
|
simplecov
|
114
115
|
|
115
116
|
BUNDLED WITH
|
116
|
-
2.
|
117
|
+
2.5.22
|
@@ -46,7 +46,7 @@ module SamlIdpMetadata
|
|
46
46
|
end
|
47
47
|
|
48
48
|
def ensure_params?
|
49
|
-
entity_id.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
|
data/saml_idp_metadata.gemspec
CHANGED
@@ -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.
|
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']
|
@@ -26,6 +26,7 @@ Gem::Specification.new do |spec|
|
|
26
26
|
spec.require_paths = ['lib']
|
27
27
|
|
28
28
|
spec.add_dependency 'activesupport', '< 8'
|
29
|
+
spec.add_dependency 'rexml'
|
29
30
|
|
30
31
|
spec.add_development_dependency 'bundler', '~> 2'
|
31
32
|
spec.add_development_dependency 'pry'
|
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.
|
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:
|
11
|
+
date: 2025-03-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -24,6 +24,20 @@ dependencies:
|
|
24
24
|
- - "<"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '8'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rexml
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
27
41
|
- !ruby/object:Gem::Dependency
|
28
42
|
name: bundler
|
29
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -179,7 +193,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
179
193
|
requirements:
|
180
194
|
- - ">="
|
181
195
|
- !ruby/object:Gem::Version
|
182
|
-
version: 3.
|
196
|
+
version: '3.1'
|
183
197
|
- - "<"
|
184
198
|
- !ruby/object:Gem::Version
|
185
199
|
version: '4'
|
@@ -189,7 +203,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
189
203
|
- !ruby/object:Gem::Version
|
190
204
|
version: '0'
|
191
205
|
requirements: []
|
192
|
-
rubygems_version: 3.
|
206
|
+
rubygems_version: 3.5.22
|
193
207
|
signing_key:
|
194
208
|
specification_version: 4
|
195
209
|
summary: SAML IdP metadata.xml parser
|