saml_idp_metadata 0.2.2 → 0.3.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 +4 -4
- data/.circleci/config.yml +13 -25
- data/.github/dependabot.yml +12 -0
- data/.github/workflows/codeql-analysis.yml +70 -0
- data/.github/workflows/ruby.yml +3 -4
- data/.rubocop.yml +3 -0
- data/.rubocop_todo.yml +15 -6
- data/.ruby-version +1 -1
- data/CHANGELOG.md +37 -0
- data/Gemfile.lock +41 -35
- data/lib/saml_idp_metadata/parser.rb +5 -1
- data/lib/saml_idp_metadata/version.rb +1 -1
- data/saml_idp_metadata.gemspec +5 -2
- metadata +46 -9
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f4d1a37794ac0a4b20355e1e9c7dc8fcbf420d843783966fb63d307aa406fd4c
|
|
4
|
+
data.tar.gz: 47ca2969c8ad6bfdf9b072aa6b69202a108824da50e3764fade163df7257562f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6ae38facf710286c15ad17710d1f7ca8102a1a0927f1cb07fcb4b93b2dafefaa76c67af0865c6cabf189a547aa6cabd45c067b7b82f46924f0a7f3b8a5e3f611
|
|
7
|
+
data.tar.gz: 966331183225d00f7122a7c79bf7d320f74379fcee38249031b9f373b7d8da0c3e07e4c7e6814e6b70551deb768d9d1e3e8ac4b48dbe85a613f36988acdb4648
|
data/.circleci/config.yml
CHANGED
|
@@ -2,18 +2,15 @@ version: 2.1
|
|
|
2
2
|
|
|
3
3
|
executors:
|
|
4
4
|
working_directory: /root/saml_idp_metadata
|
|
5
|
+
ruby_3_1:
|
|
6
|
+
docker:
|
|
7
|
+
- image: rubylang/ruby:3.1-focal
|
|
5
8
|
ruby_3_0:
|
|
6
9
|
docker:
|
|
7
|
-
- image: rubylang/ruby:3.0
|
|
10
|
+
- image: rubylang/ruby:3.0-focal
|
|
8
11
|
ruby_2_7:
|
|
9
12
|
docker:
|
|
10
|
-
- image: rubylang/ruby:2.7
|
|
11
|
-
ruby_2_6:
|
|
12
|
-
docker:
|
|
13
|
-
- image: rubylang/ruby:2.6.7-bionic
|
|
14
|
-
ruby_2_5:
|
|
15
|
-
docker:
|
|
16
|
-
- image: rubylang/ruby:2.5.9-bionic
|
|
13
|
+
- image: rubylang/ruby:2.7-bionic
|
|
17
14
|
|
|
18
15
|
commands:
|
|
19
16
|
install_system_dependencies:
|
|
@@ -30,7 +27,7 @@ commands:
|
|
|
30
27
|
- run:
|
|
31
28
|
name: Bundle gems
|
|
32
29
|
command: |
|
|
33
|
-
gem install bundler -v 2.
|
|
30
|
+
gem install bundler -v 2.3.11 --no-document --force
|
|
34
31
|
bundle install
|
|
35
32
|
|
|
36
33
|
run_tests:
|
|
@@ -45,32 +42,24 @@ commands:
|
|
|
45
42
|
path: coverage
|
|
46
43
|
|
|
47
44
|
jobs:
|
|
48
|
-
|
|
49
|
-
executor:
|
|
45
|
+
run_tests_on_ruby_3_1:
|
|
46
|
+
executor: ruby_3_1
|
|
50
47
|
steps:
|
|
51
48
|
- install_system_dependencies
|
|
52
49
|
- checkout
|
|
53
50
|
- bundle_gems
|
|
54
51
|
- run_tests
|
|
55
52
|
|
|
56
|
-
|
|
57
|
-
executor:
|
|
58
|
-
steps:
|
|
59
|
-
- install_system_dependencies
|
|
60
|
-
- checkout
|
|
61
|
-
- bundle_gems
|
|
62
|
-
- run_tests
|
|
63
|
-
|
|
64
|
-
run_tests_on_ruby_2_6:
|
|
65
|
-
executor: ruby_2_6
|
|
53
|
+
run_tests_on_ruby_3_0:
|
|
54
|
+
executor: ruby_3_0
|
|
66
55
|
steps:
|
|
67
56
|
- install_system_dependencies
|
|
68
57
|
- checkout
|
|
69
58
|
- bundle_gems
|
|
70
59
|
- run_tests
|
|
71
60
|
|
|
72
|
-
|
|
73
|
-
executor:
|
|
61
|
+
run_tests_on_ruby_2_7:
|
|
62
|
+
executor: ruby_2_7
|
|
74
63
|
steps:
|
|
75
64
|
- install_system_dependencies
|
|
76
65
|
- checkout
|
|
@@ -81,7 +70,6 @@ workflows:
|
|
|
81
70
|
version: 2
|
|
82
71
|
test:
|
|
83
72
|
jobs:
|
|
73
|
+
- run_tests_on_ruby_3_1
|
|
84
74
|
- run_tests_on_ruby_3_0
|
|
85
75
|
- run_tests_on_ruby_2_7
|
|
86
|
-
- run_tests_on_ruby_2_6
|
|
87
|
-
- run_tests_on_ruby_2_5
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
# For most projects, this workflow file will not need changing; you simply need
|
|
2
|
+
# to commit it to your repository.
|
|
3
|
+
#
|
|
4
|
+
# You may wish to alter this file to override the set of languages analyzed,
|
|
5
|
+
# or to provide custom queries or build logic.
|
|
6
|
+
#
|
|
7
|
+
# ******** NOTE ********
|
|
8
|
+
# We have attempted to detect the languages in your repository. Please check
|
|
9
|
+
# the `language` matrix defined below to confirm you have the correct set of
|
|
10
|
+
# supported CodeQL languages.
|
|
11
|
+
#
|
|
12
|
+
name: "CodeQL"
|
|
13
|
+
|
|
14
|
+
on:
|
|
15
|
+
push:
|
|
16
|
+
branches: [ master ]
|
|
17
|
+
pull_request:
|
|
18
|
+
# The branches below must be a subset of the branches above
|
|
19
|
+
branches: [ master ]
|
|
20
|
+
schedule:
|
|
21
|
+
- cron: '23 16 * * 1'
|
|
22
|
+
|
|
23
|
+
jobs:
|
|
24
|
+
analyze:
|
|
25
|
+
name: Analyze
|
|
26
|
+
runs-on: ubuntu-latest
|
|
27
|
+
permissions:
|
|
28
|
+
actions: read
|
|
29
|
+
contents: read
|
|
30
|
+
security-events: write
|
|
31
|
+
|
|
32
|
+
strategy:
|
|
33
|
+
fail-fast: false
|
|
34
|
+
matrix:
|
|
35
|
+
language: [ 'ruby' ]
|
|
36
|
+
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
|
|
37
|
+
# Learn more about CodeQL language support at https://git.io/codeql-language-support
|
|
38
|
+
|
|
39
|
+
steps:
|
|
40
|
+
- name: Checkout repository
|
|
41
|
+
uses: actions/checkout@v2
|
|
42
|
+
|
|
43
|
+
# Initializes the CodeQL tools for scanning.
|
|
44
|
+
- name: Initialize CodeQL
|
|
45
|
+
uses: github/codeql-action/init@v1
|
|
46
|
+
with:
|
|
47
|
+
languages: ${{ matrix.language }}
|
|
48
|
+
# If you wish to specify custom queries, you can do so here or in a config file.
|
|
49
|
+
# By default, queries listed here will override any specified in a config file.
|
|
50
|
+
# Prefix the list here with "+" to use these queries and those in the config file.
|
|
51
|
+
# queries: ./path/to/local/query, your-org/your-repo/queries@main
|
|
52
|
+
|
|
53
|
+
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
|
|
54
|
+
# If this step fails, then you should remove it and run the build manually (see below)
|
|
55
|
+
- name: Autobuild
|
|
56
|
+
uses: github/codeql-action/autobuild@v1
|
|
57
|
+
|
|
58
|
+
# ℹ️ Command-line programs to run using the OS shell.
|
|
59
|
+
# 📚 https://git.io/JvXDl
|
|
60
|
+
|
|
61
|
+
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
|
|
62
|
+
# and modify them (or add more) to build your code if your project
|
|
63
|
+
# uses a compiled language
|
|
64
|
+
|
|
65
|
+
#- run: |
|
|
66
|
+
# make bootstrap
|
|
67
|
+
# make release
|
|
68
|
+
|
|
69
|
+
- name: Perform CodeQL Analysis
|
|
70
|
+
uses: github/codeql-action/analyze@v1
|
data/.github/workflows/ruby.yml
CHANGED
|
@@ -9,10 +9,9 @@ jobs:
|
|
|
9
9
|
matrix:
|
|
10
10
|
ruby:
|
|
11
11
|
# https://hub.docker.com/r/rubylang/ruby
|
|
12
|
-
- '2.5-bionic'
|
|
13
|
-
- '2.6-bionic'
|
|
14
12
|
- '2.7-bionic'
|
|
15
|
-
- '3.0
|
|
13
|
+
- '3.0-focal'
|
|
14
|
+
- '3.1-focal'
|
|
16
15
|
- 'latest'
|
|
17
16
|
container:
|
|
18
17
|
image: rubylang/ruby:${{ matrix.ruby }}
|
|
@@ -21,7 +20,7 @@ jobs:
|
|
|
21
20
|
- uses: actions/checkout@master
|
|
22
21
|
- name: Build and test
|
|
23
22
|
run: |
|
|
24
|
-
gem install bundler -v 2.
|
|
23
|
+
gem install bundler -v 2.3.11 --force
|
|
25
24
|
bundle install
|
|
26
25
|
bundle exec rubocop
|
|
27
26
|
bundle exec rake
|
data/.rubocop.yml
CHANGED
data/.rubocop_todo.yml
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# This configuration was generated by
|
|
2
2
|
# `rubocop --auto-gen-config`
|
|
3
|
-
# on
|
|
3
|
+
# on 2022-05-11 04:37:11 UTC using RuboCop version 1.29.0.
|
|
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
|
|
@@ -18,15 +18,24 @@ Gemspec/RequiredRubyVersion:
|
|
|
18
18
|
Metrics/AbcSize:
|
|
19
19
|
Max: 21
|
|
20
20
|
|
|
21
|
-
# Offense count:
|
|
21
|
+
# Offense count: 8
|
|
22
22
|
# Configuration parameters: CountComments, CountAsOne, ExcludedMethods, IgnoredMethods.
|
|
23
23
|
# IgnoredMethods: refine
|
|
24
24
|
Metrics/BlockLength:
|
|
25
|
-
Max:
|
|
25
|
+
Max: 333
|
|
26
26
|
|
|
27
|
-
# Offense count:
|
|
28
|
-
#
|
|
29
|
-
# Configuration parameters:
|
|
27
|
+
# Offense count: 15
|
|
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
|
+
# Offense count: 26
|
|
37
|
+
# This cop supports safe auto-correction (--auto-correct).
|
|
38
|
+
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns, IgnoredPatterns.
|
|
30
39
|
# URISchemes: http, https
|
|
31
40
|
Layout/LineLength:
|
|
32
41
|
Max: 126
|
data/.ruby-version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.
|
|
1
|
+
3.1.2
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,42 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [v0.2.4](https://github.com/tknzk/saml_idp_metadata/tree/v0.2.4) (2021-10-01)
|
|
4
|
+
|
|
5
|
+
[Full Changelog](https://github.com/tknzk/saml_idp_metadata/compare/v0.2.3...v0.2.4)
|
|
6
|
+
|
|
7
|
+
**Merged pull requests:**
|
|
8
|
+
|
|
9
|
+
- bumpup [\#192](https://github.com/tknzk/saml_idp_metadata/pull/192) ([tknzk](https://github.com/tknzk))
|
|
10
|
+
- bundle update [\#191](https://github.com/tknzk/saml_idp_metadata/pull/191) ([tknzk](https://github.com/tknzk))
|
|
11
|
+
- Modified rubocop [\#190](https://github.com/tknzk/saml_idp_metadata/pull/190) ([tknzk](https://github.com/tknzk))
|
|
12
|
+
|
|
13
|
+
## [v0.2.3](https://github.com/tknzk/saml_idp_metadata/tree/v0.2.3) (2021-08-03)
|
|
14
|
+
|
|
15
|
+
[Full Changelog](https://github.com/tknzk/saml_idp_metadata/compare/v0.2.2...v0.2.3)
|
|
16
|
+
|
|
17
|
+
**Merged pull requests:**
|
|
18
|
+
|
|
19
|
+
- bumpup 0.2.3 [\#189](https://github.com/tknzk/saml_idp_metadata/pull/189) ([tknzk](https://github.com/tknzk))
|
|
20
|
+
- bumpup simplecov\_json\_formatter [\#188](https://github.com/tknzk/saml_idp_metadata/pull/188) ([tknzk](https://github.com/tknzk))
|
|
21
|
+
- bumpup docile [\#187](https://github.com/tknzk/saml_idp_metadata/pull/187) ([tknzk](https://github.com/tknzk))
|
|
22
|
+
- bumpup rake [\#186](https://github.com/tknzk/saml_idp_metadata/pull/186) ([tknzk](https://github.com/tknzk))
|
|
23
|
+
- bump up pry [\#185](https://github.com/tknzk/saml_idp_metadata/pull/185) ([tknzk](https://github.com/tknzk))
|
|
24
|
+
- bumpup rubocop [\#184](https://github.com/tknzk/saml_idp_metadata/pull/184) ([tknzk](https://github.com/tknzk))
|
|
25
|
+
- bumpup activesupport [\#183](https://github.com/tknzk/saml_idp_metadata/pull/183) ([tknzk](https://github.com/tknzk))
|
|
26
|
+
- ruby 3.0.2 [\#182](https://github.com/tknzk/saml_idp_metadata/pull/182) ([tknzk](https://github.com/tknzk))
|
|
27
|
+
- Upgrade to GitHub-native Dependabot [\#181](https://github.com/tknzk/saml_idp_metadata/pull/181) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
|
|
28
|
+
|
|
29
|
+
## [v0.2.2](https://github.com/tknzk/saml_idp_metadata/tree/v0.2.2) (2021-04-06)
|
|
30
|
+
|
|
31
|
+
[Full Changelog](https://github.com/tknzk/saml_idp_metadata/compare/v0.2.1...v0.2.2)
|
|
32
|
+
|
|
33
|
+
**Merged pull requests:**
|
|
34
|
+
|
|
35
|
+
- bumpup 0.2.2 [\#180](https://github.com/tknzk/saml_idp_metadata/pull/180) ([tknzk](https://github.com/tknzk))
|
|
36
|
+
- bundle update [\#179](https://github.com/tknzk/saml_idp_metadata/pull/179) ([tknzk](https://github.com/tknzk))
|
|
37
|
+
- ruby 3.0.1 [\#178](https://github.com/tknzk/saml_idp_metadata/pull/178) ([tknzk](https://github.com/tknzk))
|
|
38
|
+
- bundle update [\#177](https://github.com/tknzk/saml_idp_metadata/pull/177) ([tknzk](https://github.com/tknzk))
|
|
39
|
+
|
|
3
40
|
## [v0.2.1](https://github.com/tknzk/saml_idp_metadata/tree/v0.2.1) (2021-01-21)
|
|
4
41
|
|
|
5
42
|
[Full Changelog](https://github.com/tknzk/saml_idp_metadata/compare/v0.2.0...v0.2.1)
|
data/Gemfile.lock
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
saml_idp_metadata (0.
|
|
5
|
-
activesupport
|
|
4
|
+
saml_idp_metadata (0.3.0)
|
|
5
|
+
activesupport (~> 6.1, < 7)
|
|
6
6
|
|
|
7
7
|
GEM
|
|
8
8
|
remote: https://rubygems.org/
|
|
9
9
|
specs:
|
|
10
|
-
activesupport (6.1.
|
|
10
|
+
activesupport (6.1.6)
|
|
11
11
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
|
12
12
|
i18n (>= 1.6, < 2)
|
|
13
13
|
minitest (>= 5.1)
|
|
@@ -15,58 +15,62 @@ GEM
|
|
|
15
15
|
zeitwerk (~> 2.3)
|
|
16
16
|
ast (2.4.2)
|
|
17
17
|
coderay (1.1.3)
|
|
18
|
-
concurrent-ruby (1.1.
|
|
19
|
-
diff-lcs (1.
|
|
20
|
-
docile (1.
|
|
21
|
-
i18n (1.
|
|
18
|
+
concurrent-ruby (1.1.10)
|
|
19
|
+
diff-lcs (1.5.0)
|
|
20
|
+
docile (1.4.0)
|
|
21
|
+
i18n (1.10.0)
|
|
22
22
|
concurrent-ruby (~> 1.0)
|
|
23
23
|
method_source (1.0.0)
|
|
24
|
-
minitest (5.
|
|
25
|
-
parallel (1.
|
|
26
|
-
parser (3.
|
|
24
|
+
minitest (5.15.0)
|
|
25
|
+
parallel (1.22.1)
|
|
26
|
+
parser (3.1.2.0)
|
|
27
27
|
ast (~> 2.4.1)
|
|
28
|
-
pry (0.14.
|
|
28
|
+
pry (0.14.1)
|
|
29
29
|
coderay (~> 1.1)
|
|
30
30
|
method_source (~> 1.0)
|
|
31
|
-
rainbow (3.
|
|
32
|
-
rake (13.0.
|
|
33
|
-
regexp_parser (2.
|
|
31
|
+
rainbow (3.1.1)
|
|
32
|
+
rake (13.0.6)
|
|
33
|
+
regexp_parser (2.4.0)
|
|
34
34
|
rexml (3.2.5)
|
|
35
|
-
rspec (3.
|
|
36
|
-
rspec-core (~> 3.
|
|
37
|
-
rspec-expectations (~> 3.
|
|
38
|
-
rspec-mocks (~> 3.
|
|
39
|
-
rspec-core (3.
|
|
40
|
-
rspec-support (~> 3.
|
|
41
|
-
rspec-expectations (3.
|
|
35
|
+
rspec (3.11.0)
|
|
36
|
+
rspec-core (~> 3.11.0)
|
|
37
|
+
rspec-expectations (~> 3.11.0)
|
|
38
|
+
rspec-mocks (~> 3.11.0)
|
|
39
|
+
rspec-core (3.11.0)
|
|
40
|
+
rspec-support (~> 3.11.0)
|
|
41
|
+
rspec-expectations (3.11.0)
|
|
42
42
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
43
|
-
rspec-support (~> 3.
|
|
44
|
-
rspec-mocks (3.
|
|
43
|
+
rspec-support (~> 3.11.0)
|
|
44
|
+
rspec-mocks (3.11.1)
|
|
45
45
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
46
|
-
rspec-support (~> 3.
|
|
47
|
-
rspec-support (3.
|
|
48
|
-
rubocop (1.
|
|
46
|
+
rspec-support (~> 3.11.0)
|
|
47
|
+
rspec-support (3.11.0)
|
|
48
|
+
rubocop (1.29.0)
|
|
49
49
|
parallel (~> 1.10)
|
|
50
|
-
parser (>= 3.
|
|
50
|
+
parser (>= 3.1.0.0)
|
|
51
51
|
rainbow (>= 2.2.2, < 4.0)
|
|
52
52
|
regexp_parser (>= 1.8, < 3.0)
|
|
53
|
-
rexml
|
|
54
|
-
rubocop-ast (>= 1.
|
|
53
|
+
rexml (>= 3.2.5, < 4.0)
|
|
54
|
+
rubocop-ast (>= 1.17.0, < 2.0)
|
|
55
55
|
ruby-progressbar (~> 1.7)
|
|
56
56
|
unicode-display_width (>= 1.4.0, < 3.0)
|
|
57
|
-
rubocop-ast (1.
|
|
58
|
-
parser (>=
|
|
57
|
+
rubocop-ast (1.17.0)
|
|
58
|
+
parser (>= 3.1.1.0)
|
|
59
|
+
rubocop-rake (0.6.0)
|
|
60
|
+
rubocop (~> 1.0)
|
|
61
|
+
rubocop-rspec (2.10.0)
|
|
62
|
+
rubocop (~> 1.19)
|
|
59
63
|
ruby-progressbar (1.11.0)
|
|
60
64
|
simplecov (0.21.2)
|
|
61
65
|
docile (~> 1.1)
|
|
62
66
|
simplecov-html (~> 0.11)
|
|
63
67
|
simplecov_json_formatter (~> 0.1)
|
|
64
68
|
simplecov-html (0.12.3)
|
|
65
|
-
simplecov_json_formatter (0.1.
|
|
69
|
+
simplecov_json_formatter (0.1.4)
|
|
66
70
|
tzinfo (2.0.4)
|
|
67
71
|
concurrent-ruby (~> 1.0)
|
|
68
|
-
unicode-display_width (2.
|
|
69
|
-
zeitwerk (2.4
|
|
72
|
+
unicode-display_width (2.1.0)
|
|
73
|
+
zeitwerk (2.5.4)
|
|
70
74
|
|
|
71
75
|
PLATFORMS
|
|
72
76
|
ruby
|
|
@@ -78,8 +82,10 @@ DEPENDENCIES
|
|
|
78
82
|
rake
|
|
79
83
|
rspec
|
|
80
84
|
rubocop
|
|
85
|
+
rubocop-rake
|
|
86
|
+
rubocop-rspec
|
|
81
87
|
saml_idp_metadata!
|
|
82
88
|
simplecov
|
|
83
89
|
|
|
84
90
|
BUNDLED WITH
|
|
85
|
-
2.
|
|
91
|
+
2.3.11
|
|
@@ -64,7 +64,11 @@ module SamlIdpMetadata
|
|
|
64
64
|
private
|
|
65
65
|
|
|
66
66
|
def entity_descriptor
|
|
67
|
-
@hash['
|
|
67
|
+
if @hash['EntitiesDescriptor'].present?
|
|
68
|
+
@hash['EntitiesDescriptor']['EntityDescriptor']
|
|
69
|
+
else
|
|
70
|
+
@hash['EntityDescriptor']
|
|
71
|
+
end
|
|
68
72
|
end
|
|
69
73
|
|
|
70
74
|
def parse_entity_id
|
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 = '>= 2.
|
|
9
|
+
spec.required_ruby_version = '>= 2.7', '< 4'
|
|
10
10
|
spec.version = SamlIdpMetadata::VERSION
|
|
11
11
|
spec.authors = ['tknzk']
|
|
12
12
|
spec.email = ['tkm.knzk@gmail.com']
|
|
@@ -25,12 +25,15 @@ Gem::Specification.new do |spec|
|
|
|
25
25
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
|
26
26
|
spec.require_paths = ['lib']
|
|
27
27
|
|
|
28
|
-
spec.add_dependency 'activesupport'
|
|
28
|
+
spec.add_dependency 'activesupport', '~> 6.1', '< 7'
|
|
29
29
|
|
|
30
30
|
spec.add_development_dependency 'bundler', '~> 2'
|
|
31
31
|
spec.add_development_dependency 'pry'
|
|
32
32
|
spec.add_development_dependency 'rake'
|
|
33
33
|
spec.add_development_dependency 'rspec'
|
|
34
34
|
spec.add_development_dependency 'rubocop'
|
|
35
|
+
spec.add_development_dependency 'rubocop-rake'
|
|
36
|
+
spec.add_development_dependency 'rubocop-rspec'
|
|
35
37
|
spec.add_development_dependency 'simplecov'
|
|
38
|
+
spec.metadata['rubygems_mfa_required'] = 'true'
|
|
36
39
|
end
|
metadata
CHANGED
|
@@ -1,29 +1,35 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: saml_idp_metadata
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.3.0
|
|
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: 2022-05-11 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activesupport
|
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
|
16
16
|
requirements:
|
|
17
|
-
- - "
|
|
17
|
+
- - "~>"
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: '
|
|
19
|
+
version: '6.1'
|
|
20
|
+
- - "<"
|
|
21
|
+
- !ruby/object:Gem::Version
|
|
22
|
+
version: '7'
|
|
20
23
|
type: :runtime
|
|
21
24
|
prerelease: false
|
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
26
|
requirements:
|
|
24
|
-
- - "
|
|
27
|
+
- - "~>"
|
|
25
28
|
- !ruby/object:Gem::Version
|
|
26
|
-
version: '
|
|
29
|
+
version: '6.1'
|
|
30
|
+
- - "<"
|
|
31
|
+
- !ruby/object:Gem::Version
|
|
32
|
+
version: '7'
|
|
27
33
|
- !ruby/object:Gem::Dependency
|
|
28
34
|
name: bundler
|
|
29
35
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -94,6 +100,34 @@ dependencies:
|
|
|
94
100
|
- - ">="
|
|
95
101
|
- !ruby/object:Gem::Version
|
|
96
102
|
version: '0'
|
|
103
|
+
- !ruby/object:Gem::Dependency
|
|
104
|
+
name: rubocop-rake
|
|
105
|
+
requirement: !ruby/object:Gem::Requirement
|
|
106
|
+
requirements:
|
|
107
|
+
- - ">="
|
|
108
|
+
- !ruby/object:Gem::Version
|
|
109
|
+
version: '0'
|
|
110
|
+
type: :development
|
|
111
|
+
prerelease: false
|
|
112
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
113
|
+
requirements:
|
|
114
|
+
- - ">="
|
|
115
|
+
- !ruby/object:Gem::Version
|
|
116
|
+
version: '0'
|
|
117
|
+
- !ruby/object:Gem::Dependency
|
|
118
|
+
name: rubocop-rspec
|
|
119
|
+
requirement: !ruby/object:Gem::Requirement
|
|
120
|
+
requirements:
|
|
121
|
+
- - ">="
|
|
122
|
+
- !ruby/object:Gem::Version
|
|
123
|
+
version: '0'
|
|
124
|
+
type: :development
|
|
125
|
+
prerelease: false
|
|
126
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
127
|
+
requirements:
|
|
128
|
+
- - ">="
|
|
129
|
+
- !ruby/object:Gem::Version
|
|
130
|
+
version: '0'
|
|
97
131
|
- !ruby/object:Gem::Dependency
|
|
98
132
|
name: simplecov
|
|
99
133
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -117,6 +151,8 @@ extra_rdoc_files: []
|
|
|
117
151
|
files:
|
|
118
152
|
- ".circleci/config.yml"
|
|
119
153
|
- ".github/CODEOWNERS"
|
|
154
|
+
- ".github/dependabot.yml"
|
|
155
|
+
- ".github/workflows/codeql-analysis.yml"
|
|
120
156
|
- ".github/workflows/ruby.yml"
|
|
121
157
|
- ".gitignore"
|
|
122
158
|
- ".rspec"
|
|
@@ -139,7 +175,8 @@ files:
|
|
|
139
175
|
homepage: https://github.com/tknzk/saml_idp_metadata
|
|
140
176
|
licenses:
|
|
141
177
|
- MIT
|
|
142
|
-
metadata:
|
|
178
|
+
metadata:
|
|
179
|
+
rubygems_mfa_required: 'true'
|
|
143
180
|
post_install_message:
|
|
144
181
|
rdoc_options: []
|
|
145
182
|
require_paths:
|
|
@@ -148,7 +185,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
148
185
|
requirements:
|
|
149
186
|
- - ">="
|
|
150
187
|
- !ruby/object:Gem::Version
|
|
151
|
-
version: '2.
|
|
188
|
+
version: '2.7'
|
|
152
189
|
- - "<"
|
|
153
190
|
- !ruby/object:Gem::Version
|
|
154
191
|
version: '4'
|
|
@@ -158,7 +195,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
158
195
|
- !ruby/object:Gem::Version
|
|
159
196
|
version: '0'
|
|
160
197
|
requirements: []
|
|
161
|
-
rubygems_version: 3.
|
|
198
|
+
rubygems_version: 3.3.7
|
|
162
199
|
signing_key:
|
|
163
200
|
specification_version: 4
|
|
164
201
|
summary: SAML IdP metadata.xml parser
|