saml_idp_metadata 0.2.3 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.circleci/config.yml +13 -25
- 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 +28 -2
- data/Gemfile.lock +38 -32
- 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 +39 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d606c1a0e1c5ab5275656283b5bf9377d017e996ec313f0221fe0a92204f7a6a
|
4
|
+
data.tar.gz: e64d77d093bd881e0675aaa22b2643f219521c036d691e6f9f68fbf79c0b0c3f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0a01b0795d89a1be2e9e952d6192726bbddb4e9302c1eab74ca6fb237e1fe394cc9ba433d026a1f257c16f7dc76307c59fff3d251789964bc45df2b2de788a8e
|
7
|
+
data.tar.gz: 358ca970780ada972ccc4a6b9034f24b0d68ffe985764074a20adaff3bf66f2ac26d8943250a40b1b355e195123d9b992dcf47348270a2cbf53bc5a67365a494
|
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.8-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,31 @@
|
|
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
|
+
|
3
29
|
## [v0.2.2](https://github.com/tknzk/saml_idp_metadata/tree/v0.2.2) (2021-04-06)
|
4
30
|
|
5
31
|
[Full Changelog](https://github.com/tknzk/saml_idp_metadata/compare/v0.2.1...v0.2.2)
|
@@ -10,7 +36,6 @@
|
|
10
36
|
- bundle update [\#179](https://github.com/tknzk/saml_idp_metadata/pull/179) ([tknzk](https://github.com/tknzk))
|
11
37
|
- ruby 3.0.1 [\#178](https://github.com/tknzk/saml_idp_metadata/pull/178) ([tknzk](https://github.com/tknzk))
|
12
38
|
- bundle update [\#177](https://github.com/tknzk/saml_idp_metadata/pull/177) ([tknzk](https://github.com/tknzk))
|
13
|
-
- Bump docile from 1.3.4 to 1.3.5 [\#172](https://github.com/tknzk/saml_idp_metadata/pull/172) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
|
14
39
|
|
15
40
|
## [v0.2.1](https://github.com/tknzk/saml_idp_metadata/tree/v0.2.1) (2021-01-21)
|
16
41
|
|
@@ -29,6 +54,7 @@
|
|
29
54
|
|
30
55
|
- bumpup 0.2.0 [\#174](https://github.com/tknzk/saml_idp_metadata/pull/174) ([tknzk](https://github.com/tknzk))
|
31
56
|
- Require ruby version [\#173](https://github.com/tknzk/saml_idp_metadata/pull/173) ([tknzk](https://github.com/tknzk))
|
57
|
+
- Bump docile from 1.3.4 to 1.3.5 [\#172](https://github.com/tknzk/saml_idp_metadata/pull/172) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
|
32
58
|
- Bump simplecov from 0.21.1 to 0.21.2 [\#171](https://github.com/tknzk/saml_idp_metadata/pull/171) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
|
33
59
|
- Bump rubocop from 1.8.0 to 1.8.1 [\#170](https://github.com/tknzk/saml_idp_metadata/pull/170) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
|
34
60
|
- Bump activesupport from 6.1.0 to 6.1.1 [\#169](https://github.com/tknzk/saml_idp_metadata/pull/169) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
|
@@ -135,7 +161,6 @@
|
|
135
161
|
- Bump rubocop from 0.86.0 to 0.87.0 [\#76](https://github.com/tknzk/saml_idp_metadata/pull/76) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
|
136
162
|
- update changelog [\#75](https://github.com/tknzk/saml_idp_metadata/pull/75) ([tknzk](https://github.com/tknzk))
|
137
163
|
- Bump diff-lcs from 1.4.3 to 1.4.4 [\#73](https://github.com/tknzk/saml_idp_metadata/pull/73) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
|
138
|
-
- Bump rubocop from 0.85.1 to 0.86.0 [\#67](https://github.com/tknzk/saml_idp_metadata/pull/67) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
|
139
164
|
|
140
165
|
## [v0.1.7](https://github.com/tknzk/saml_idp_metadata/tree/v0.1.7) (2020-07-02)
|
141
166
|
|
@@ -149,6 +174,7 @@
|
|
149
174
|
- Bump rubocop-ast from 0.0.3 to 0.1.0 [\#70](https://github.com/tknzk/saml_idp_metadata/pull/70) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
|
150
175
|
- Bump diff-lcs from 1.4.1 to 1.4.2 [\#69](https://github.com/tknzk/saml_idp_metadata/pull/69) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
|
151
176
|
- Bump diff-lcs from 1.3 to 1.4.1 [\#68](https://github.com/tknzk/saml_idp_metadata/pull/68) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
|
177
|
+
- Bump rubocop from 0.85.1 to 0.86.0 [\#67](https://github.com/tknzk/saml_idp_metadata/pull/67) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
|
152
178
|
- Bump parser from 2.7.1.3 to 2.7.1.4 [\#66](https://github.com/tknzk/saml_idp_metadata/pull/66) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
|
153
179
|
- Bump parallel from 1.19.1 to 1.19.2 [\#65](https://github.com/tknzk/saml_idp_metadata/pull/65) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
|
154
180
|
- Bump activesupport from 6.0.3.1 to 6.0.3.2 [\#64](https://github.com/tknzk/saml_idp_metadata/pull/64) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
|
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.1)
|
5
|
+
activesupport (< 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.
|
18
|
+
concurrent-ruby (1.1.10)
|
19
|
+
diff-lcs (1.5.0)
|
20
20
|
docile (1.4.0)
|
21
|
-
i18n (1.
|
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
28
|
pry (0.14.1)
|
29
29
|
coderay (~> 1.1)
|
30
30
|
method_source (~> 1.0)
|
31
|
-
rainbow (3.
|
31
|
+
rainbow (3.1.1)
|
32
32
|
rake (13.0.6)
|
33
|
-
regexp_parser (2.
|
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 (>= 3.
|
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', '< 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,29 @@
|
|
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.1
|
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: '7'
|
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: '
|
26
|
+
version: '7'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: bundler
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -94,6 +94,34 @@ dependencies:
|
|
94
94
|
- - ">="
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: rubocop-rake
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: rubocop-rspec
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ">="
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
97
125
|
- !ruby/object:Gem::Dependency
|
98
126
|
name: simplecov
|
99
127
|
requirement: !ruby/object:Gem::Requirement
|
@@ -118,6 +146,7 @@ files:
|
|
118
146
|
- ".circleci/config.yml"
|
119
147
|
- ".github/CODEOWNERS"
|
120
148
|
- ".github/dependabot.yml"
|
149
|
+
- ".github/workflows/codeql-analysis.yml"
|
121
150
|
- ".github/workflows/ruby.yml"
|
122
151
|
- ".gitignore"
|
123
152
|
- ".rspec"
|
@@ -140,7 +169,8 @@ files:
|
|
140
169
|
homepage: https://github.com/tknzk/saml_idp_metadata
|
141
170
|
licenses:
|
142
171
|
- MIT
|
143
|
-
metadata:
|
172
|
+
metadata:
|
173
|
+
rubygems_mfa_required: 'true'
|
144
174
|
post_install_message:
|
145
175
|
rdoc_options: []
|
146
176
|
require_paths:
|
@@ -149,7 +179,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
149
179
|
requirements:
|
150
180
|
- - ">="
|
151
181
|
- !ruby/object:Gem::Version
|
152
|
-
version: '2.
|
182
|
+
version: '2.7'
|
153
183
|
- - "<"
|
154
184
|
- !ruby/object:Gem::Version
|
155
185
|
version: '4'
|
@@ -159,7 +189,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
159
189
|
- !ruby/object:Gem::Version
|
160
190
|
version: '0'
|
161
191
|
requirements: []
|
162
|
-
rubygems_version: 3.
|
192
|
+
rubygems_version: 3.3.7
|
163
193
|
signing_key:
|
164
194
|
specification_version: 4
|
165
195
|
summary: SAML IdP metadata.xml parser
|