saml_idp_metadata 0.1.8 → 0.1.9

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: 2b54e5a19f98b5dde1d8c6e11af2390fa85884df060cb24442811e9b830788f5
4
- data.tar.gz: 73898c4784adc8d4a56772f64b8ffd1ae20241d6df24e93957a8a9b177ad5248
3
+ metadata.gz: bb6d155f517d3dcf6f3f250fee6227251e7e06f62b20cc43ffc52eb9581ac3b0
4
+ data.tar.gz: 9e171a7f255d4d0bc21c6ff572fc851561d015aefd7d5c44da59c5deed280697
5
5
  SHA512:
6
- metadata.gz: e165120cfeaf53cd475fdae9be4c418104c759b77b7bfd050d0f5ef1f60d692d2fddaf56b5f25282091ab90b54cd467073ec52106347429e8fab3b6116d8759c
7
- data.tar.gz: 2e8bdc262f8b74e05797bd79a8e8203894e02e9e17f3016011f7b197921c5323cd365666bbef505a4ec09ccd6a3c14224fa4103dc9d2805fdbd6919c87587b46
6
+ metadata.gz: c302965910669595c8b2a8a286ede2c6e11fe23fc7e7265e2df3f5d77a44cad5bd0340346fd2f12b814f96a6e6137db37ad229fcf3acb5ff79a721e35f527888
7
+ data.tar.gz: a6054258ca992a92f904a53dd9af56b9b01ea0310ebf608a1f0c4c154f4344ae1a61ad74505081fb6a6fe24db14bca4b4880ac320cdc15387b341f9f8119a3e2
@@ -2,6 +2,9 @@ version: 2.1
2
2
 
3
3
  executors:
4
4
  working_directory: /root/saml_idp_metadata
5
+ ruby_3_0_preview1:
6
+ docker:
7
+ - image: rubylang/ruby:3.0.0-preview1-bionic
5
8
  ruby_2_7:
6
9
  docker:
7
10
  - image: rubylang/ruby:2.7.1-bionic
@@ -42,6 +45,14 @@ commands:
42
45
  path: coverage
43
46
 
44
47
  jobs:
48
+ run_tests_on_ruby_3_0_preview1:
49
+ executor: ruby_3_0_preview1
50
+ steps:
51
+ - install_system_dependencies
52
+ - checkout
53
+ - bundle_gems
54
+ - run_tests
55
+
45
56
  run_tests_on_ruby_2_7:
46
57
  executor: ruby_2_7
47
58
  steps:
@@ -12,6 +12,7 @@ jobs:
12
12
  - '2.5-bionic'
13
13
  - '2.6-bionic'
14
14
  - '2.7-bionic'
15
+ - '3.0.0-preview1-bionic'
15
16
  - 'latest'
16
17
  container:
17
18
  image: rubylang/ruby:${{ matrix.ruby }}
@@ -1 +1 @@
1
- 2.7.1
1
+ 3.0.0-preview1
@@ -1,5 +1,31 @@
1
1
  # Changelog
2
2
 
3
+ ## [v0.1.8](https://github.com/tknzk/saml_idp_metadata/tree/v0.1.8) (2020-09-10)
4
+
5
+ [Full Changelog](https://github.com/tknzk/saml_idp_metadata/compare/v0.1.7...v0.1.8)
6
+
7
+ **Merged pull requests:**
8
+
9
+ - bumpup [\#92](https://github.com/tknzk/saml_idp_metadata/pull/92) ([tknzk](https://github.com/tknzk))
10
+ - Bump activesupport from 6.0.3.2 to 6.0.3.3 [\#91](https://github.com/tknzk/saml_idp_metadata/pull/91) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
11
+ - Bump minitest from 5.14.1 to 5.14.2 [\#90](https://github.com/tknzk/saml_idp_metadata/pull/90) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
12
+ - Bump rubocop from 0.89.1 to 0.90.0 [\#89](https://github.com/tknzk/saml_idp_metadata/pull/89) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
13
+ - Bump simplecov from 0.18.5 to 0.19.0 [\#88](https://github.com/tknzk/saml_idp_metadata/pull/88) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
14
+ - Bump concurrent-ruby from 1.1.6 to 1.1.7 [\#87](https://github.com/tknzk/saml_idp_metadata/pull/87) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
15
+ - Bump rubocop from 0.89.0 to 0.89.1 [\#86](https://github.com/tknzk/saml_idp_metadata/pull/86) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
16
+ - Bump rubocop from 0.88.0 to 0.89.0 [\#85](https://github.com/tknzk/saml_idp_metadata/pull/85) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
17
+ - Rubocop config [\#84](https://github.com/tknzk/saml_idp_metadata/pull/84) ([tknzk](https://github.com/tknzk))
18
+ - Bump rubocop-ast from 0.2.0 to 0.3.0 [\#83](https://github.com/tknzk/saml_idp_metadata/pull/83) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
19
+ - Bump i18n from 1.8.4 to 1.8.5 [\#82](https://github.com/tknzk/saml_idp_metadata/pull/82) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
20
+ - Bump i18n from 1.8.3 to 1.8.4 [\#81](https://github.com/tknzk/saml_idp_metadata/pull/81) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
21
+ - Bump rubocop-ast from 0.1.0 to 0.2.0 [\#80](https://github.com/tknzk/saml_idp_metadata/pull/80) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
22
+ - Bump zeitwerk from 2.3.1 to 2.4.0 [\#79](https://github.com/tknzk/saml_idp_metadata/pull/79) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
23
+ - Bump rubocop from 0.87.1 to 0.88.0 [\#78](https://github.com/tknzk/saml_idp_metadata/pull/78) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
24
+ - Bump rubocop from 0.87.0 to 0.87.1 [\#77](https://github.com/tknzk/saml_idp_metadata/pull/77) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
25
+ - 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))
26
+ - update changelog [\#75](https://github.com/tknzk/saml_idp_metadata/pull/75) ([tknzk](https://github.com/tknzk))
27
+ - 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))
28
+
3
29
  ## [v0.1.7](https://github.com/tknzk/saml_idp_metadata/tree/v0.1.7) (2020-07-02)
4
30
 
5
31
  [Full Changelog](https://github.com/tknzk/saml_idp_metadata/compare/v0.1.6...v0.1.7)
@@ -1,13 +1,13 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- saml_idp_metadata (0.1.8)
4
+ saml_idp_metadata (0.1.9)
5
5
  activesupport
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- activesupport (6.0.3.3)
10
+ activesupport (6.0.3.4)
11
11
  concurrent-ruby (~> 1.0, >= 1.0.2)
12
12
  i18n (>= 0.7, < 2)
13
13
  minitest (~> 5.1)
@@ -23,49 +23,49 @@ GEM
23
23
  method_source (1.0.0)
24
24
  minitest (5.14.2)
25
25
  parallel (1.19.2)
26
- parser (2.7.1.4)
26
+ parser (2.7.2.0)
27
27
  ast (~> 2.4.1)
28
28
  pry (0.13.1)
29
29
  coderay (~> 1.1)
30
30
  method_source (~> 1.0)
31
31
  rainbow (3.0.0)
32
32
  rake (13.0.1)
33
- regexp_parser (1.7.1)
33
+ regexp_parser (1.8.2)
34
34
  rexml (3.2.4)
35
- rspec (3.9.0)
36
- rspec-core (~> 3.9.0)
37
- rspec-expectations (~> 3.9.0)
38
- rspec-mocks (~> 3.9.0)
39
- rspec-core (3.9.2)
40
- rspec-support (~> 3.9.3)
41
- rspec-expectations (3.9.2)
35
+ rspec (3.10.0)
36
+ rspec-core (~> 3.10.0)
37
+ rspec-expectations (~> 3.10.0)
38
+ rspec-mocks (~> 3.10.0)
39
+ rspec-core (3.10.0)
40
+ rspec-support (~> 3.10.0)
41
+ rspec-expectations (3.10.0)
42
42
  diff-lcs (>= 1.2.0, < 2.0)
43
- rspec-support (~> 3.9.0)
44
- rspec-mocks (3.9.1)
43
+ rspec-support (~> 3.10.0)
44
+ rspec-mocks (3.10.0)
45
45
  diff-lcs (>= 1.2.0, < 2.0)
46
- rspec-support (~> 3.9.0)
47
- rspec-support (3.9.3)
48
- rubocop (0.90.0)
46
+ rspec-support (~> 3.10.0)
47
+ rspec-support (3.10.0)
48
+ rubocop (1.1.0)
49
49
  parallel (~> 1.10)
50
- parser (>= 2.7.1.1)
50
+ parser (>= 2.7.1.5)
51
51
  rainbow (>= 2.2.2, < 4.0)
52
- regexp_parser (>= 1.7)
52
+ regexp_parser (>= 1.8)
53
53
  rexml
54
- rubocop-ast (>= 0.3.0, < 1.0)
54
+ rubocop-ast (>= 1.0.1)
55
55
  ruby-progressbar (~> 1.7)
56
56
  unicode-display_width (>= 1.4.0, < 2.0)
57
- rubocop-ast (0.3.0)
58
- parser (>= 2.7.1.4)
57
+ rubocop-ast (1.1.0)
58
+ parser (>= 2.7.1.5)
59
59
  ruby-progressbar (1.10.1)
60
- simplecov (0.19.0)
60
+ simplecov (0.19.1)
61
61
  docile (~> 1.1)
62
62
  simplecov-html (~> 0.11)
63
- simplecov-html (0.12.2)
63
+ simplecov-html (0.12.3)
64
64
  thread_safe (0.3.6)
65
65
  tzinfo (1.2.7)
66
66
  thread_safe (~> 0.1)
67
67
  unicode-display_width (1.7.0)
68
- zeitwerk (2.4.0)
68
+ zeitwerk (2.4.1)
69
69
 
70
70
  PLATFORMS
71
71
  ruby
@@ -80,4 +80,4 @@ DEPENDENCIES
80
80
  simplecov
81
81
 
82
82
  BUNDLED WITH
83
- 2.1.4
83
+ 2.2.0.rc.1
@@ -108,7 +108,7 @@ module SamlIdpMetadata
108
108
  def parse_x509_certificate
109
109
  return nil if entity_descriptor.dig('IDPSSODescriptor', 'KeyDescriptor').nil?
110
110
 
111
- if entity_descriptor['IDPSSODescriptor']['KeyDescriptor'].class == Array
111
+ if entity_descriptor['IDPSSODescriptor']['KeyDescriptor'].instance_of?(Array)
112
112
  entity_descriptor['IDPSSODescriptor']['KeyDescriptor'].last['KeyInfo']['X509Data']['X509Certificate']
113
113
  else
114
114
  entity_descriptor['IDPSSODescriptor']['KeyDescriptor']['KeyInfo']['X509Data']['X509Certificate']
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SamlIdpMetadata
4
- VERSION = '0.1.8'
4
+ VERSION = '0.1.9'
5
5
  end
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.1.8
4
+ version: 0.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - tknzk
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-09-10 00:00:00.000000000 Z
11
+ date: 2020-11-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -155,7 +155,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
155
155
  - !ruby/object:Gem::Version
156
156
  version: '0'
157
157
  requirements: []
158
- rubygems_version: 3.1.2
158
+ rubygems_version: 3.2.0.rc.1
159
159
  signing_key:
160
160
  specification_version: 4
161
161
  summary: SAML IdP metadata.xml parser