saml_idp_metadata 0.1.5 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 85ead96f12ca278050326407051764d1cd7261d98f5d55947ae3fd3c60664cc2
4
- data.tar.gz: 80ad23455ff2dbd0babbb56faab2c7d8e14f08c29da90efbeba4d7118a367fc6
3
+ metadata.gz: 25ee0d1fbffc9f7b9d90b8f7cd77184c32a1b1553c2eacaa9043ec38dfc1637b
4
+ data.tar.gz: eb305a057b311d2911f190755146d826a49c5e773a210869bd2c91f53e1fa1ef
5
5
  SHA512:
6
- metadata.gz: e6c85bdfdc7e71d5b953b9e19260f7db6486a7ec1622112482857eec64b618e1cae2cf507684ff2991b112f2f9987658dbe39cec6aa4376314d568231fc03591
7
- data.tar.gz: 332a071e9224bacd98b002f651dc82d4501cad51454ebc6e6e649ba1821c1ef5f88e6334a60c8e03d06f2a8333bfc6dd887dc6be15fa9dba7b21cbed70e9f7b9
6
+ metadata.gz: def7d9667ccefa93a7ca0aa165aaff16b2cb396df318c67e7a74eb8da9e8c4f25399a5b5a702f7c12b06d065fb8b29cd6c0578e4db27e23648fa112fe6f8bedc
7
+ data.tar.gz: 2fad91dfd407ecd01e6a3325130fc5bdeb925e9cc73b6e69304fd8a8cc9d73c531fe4599041954e9ac057361cdc202046b2affa5c7a43e21f75ba66e2d0844c4
@@ -2,9 +2,12 @@ version: 2.1
2
2
 
3
3
  executors:
4
4
  working_directory: /root/saml_idp_metadata
5
+ ruby_3_0:
6
+ docker:
7
+ - image: rubylang/ruby:3.0.0-focal
5
8
  ruby_2_7:
6
9
  docker:
7
- - image: rubylang/ruby:2.7.1-bionic
10
+ - image: rubylang/ruby:2.7.2-bionic
8
11
  ruby_2_6:
9
12
  docker:
10
13
  - image: rubylang/ruby:2.6.6-bionic
@@ -38,8 +41,18 @@ commands:
38
41
  command: |
39
42
  bundle exec rake
40
43
  bundle exec rubocop
44
+ - store_artifacts:
45
+ path: coverage
41
46
 
42
47
  jobs:
48
+ run_tests_on_ruby_3_0:
49
+ executor: ruby_3_0
50
+ steps:
51
+ - install_system_dependencies
52
+ - checkout
53
+ - bundle_gems
54
+ - run_tests
55
+
43
56
  run_tests_on_ruby_2_7:
44
57
  executor: ruby_2_7
45
58
  steps:
@@ -68,6 +81,7 @@ workflows:
68
81
  version: 2
69
82
  test:
70
83
  jobs:
84
+ - run_tests_on_ruby_3_0
71
85
  - run_tests_on_ruby_2_7
72
86
  - run_tests_on_ruby_2_6
73
87
  - run_tests_on_ruby_2_5
@@ -12,6 +12,7 @@ jobs:
12
12
  - '2.5-bionic'
13
13
  - '2.6-bionic'
14
14
  - '2.7-bionic'
15
+ - '3.0.0-focal'
15
16
  - 'latest'
16
17
  container:
17
18
  image: rubylang/ruby:${{ matrix.ruby }}
@@ -20,7 +21,7 @@ jobs:
20
21
  - uses: actions/checkout@master
21
22
  - name: Build and test
22
23
  run: |
23
- gem install bundler -v 2.1.4 --force
24
+ gem install bundler -v 2.2.0 --force
24
25
  bundle install
25
26
  bundle exec rubocop
26
27
  bundle exec rake
@@ -1 +1,70 @@
1
1
  inherit_from: .rubocop_todo.yml
2
+
3
+ Layout/EmptyLinesAroundAttributeAccessor:
4
+ Enabled: false
5
+
6
+ Layout/SpaceAroundMethodCallOperator:
7
+ Enabled: false
8
+
9
+ Lint/DeprecatedOpenSSLConstant:
10
+ Enabled: false
11
+
12
+ Lint/DuplicateElsifCondition:
13
+ Enabled: false
14
+
15
+ Lint/MixedRegexpCaptureTypes:
16
+ Enabled: false
17
+
18
+ Lint/RaiseException:
19
+ Enabled: false
20
+
21
+ Lint/StructNewOverride:
22
+ Enabled: false
23
+
24
+ Style/AccessorGrouping:
25
+ Enabled: false
26
+
27
+ Style/ArrayCoercion:
28
+ Enabled: false
29
+
30
+ Style/BisectedAttrAccessor:
31
+ Enabled: false
32
+
33
+ Style/CaseLikeIf:
34
+ Enabled: false
35
+
36
+ Style/ExponentialNotation:
37
+ Enabled: false
38
+
39
+ Style/HashAsLastArrayItem:
40
+ Enabled: false
41
+
42
+ Style/HashEachMethods:
43
+ Enabled: false
44
+
45
+ Style/HashLikeCase:
46
+ Enabled: false
47
+
48
+ Style/HashTransformKeys:
49
+ Enabled: false
50
+
51
+ Style/HashTransformValues:
52
+ Enabled: false
53
+
54
+ Style/RedundantAssignment:
55
+ Enabled: false
56
+
57
+ Style/RedundantFetchBlock:
58
+ Enabled: false
59
+
60
+ Style/RedundantFileExtensionInRequire:
61
+ Enabled: false
62
+
63
+ Style/RedundantRegexpCharacterClass:
64
+ Enabled: false
65
+
66
+ Style/RedundantRegexpEscape:
67
+ Enabled: false
68
+
69
+ Style/SlicingWithRange:
70
+ Enabled: false
@@ -1,26 +1,32 @@
1
1
  # This configuration was generated by
2
2
  # `rubocop --auto-gen-config`
3
- # on 2019-11-25 10:02:54 +0900 using RuboCop version 0.76.0.
3
+ # on 2020-08-06 01:31:39 UTC using RuboCop version 0.89.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
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.
10
18
  Metrics/AbcSize:
11
19
  Max: 21
12
20
 
13
- # Offense count: 2
14
- # Configuration parameters: CountComments, ExcludedMethods.
21
+ # Offense count: 3
22
+ # Configuration parameters: CountComments, CountAsOne, ExcludedMethods.
15
23
  # ExcludedMethods: refine
16
24
  Metrics/BlockLength:
17
- # Max: 69
18
- Exclude:
19
- - 'spec/**/*'
25
+ Max: 230
20
26
 
21
- # Offense count: 29
27
+ # Offense count: 14
22
28
  # Cop supports --auto-correct.
23
29
  # Configuration parameters: AutoCorrect, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
24
30
  # URISchemes: http, https
25
- Metrics/LineLength:
26
- Max: 128
31
+ Layout/LineLength:
32
+ Max: 126
@@ -1 +1 @@
1
- 2.7.1
1
+ 3.0.0
@@ -1,5 +1,146 @@
1
1
  # Changelog
2
2
 
3
+ ## [v0.1.9](https://github.com/tknzk/saml_idp_metadata/tree/v0.1.9) (2020-11-02)
4
+
5
+ [Full Changelog](https://github.com/tknzk/saml_idp_metadata/compare/v0.1.8...v0.1.9)
6
+
7
+ **Merged pull requests:**
8
+
9
+ - bumpup [\#125](https://github.com/tknzk/saml_idp_metadata/pull/125) ([tknzk](https://github.com/tknzk))
10
+ - Bump rspec-expectations from 3.9.3 to 3.9.4 [\#124](https://github.com/tknzk/saml_idp_metadata/pull/124) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
11
+ - Bump rspec from 3.9.0 to 3.10.0 [\#123](https://github.com/tknzk/saml_idp_metadata/pull/123) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
12
+ - Bump rubocop from 1.0.0 to 1.1.0 [\#122](https://github.com/tknzk/saml_idp_metadata/pull/122) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
13
+ - Bump zeitwerk from 2.4.0 to 2.4.1 [\#121](https://github.com/tknzk/saml_idp_metadata/pull/121) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
14
+ - Bump rubocop-ast from 1.0.1 to 1.1.0 [\#120](https://github.com/tknzk/saml_idp_metadata/pull/120) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
15
+ - Bump simplecov from 0.19.0 to 0.19.1 [\#119](https://github.com/tknzk/saml_idp_metadata/pull/119) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
16
+ - Bump rspec-support from 3.9.3 to 3.9.4 [\#118](https://github.com/tknzk/saml_idp_metadata/pull/118) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
17
+ - Bump rspec-expectations from 3.9.2 to 3.9.3 [\#117](https://github.com/tknzk/saml_idp_metadata/pull/117) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
18
+ - Bump rubocop-ast from 1.0.0 to 1.0.1 [\#116](https://github.com/tknzk/saml_idp_metadata/pull/116) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
19
+ - Bump rubocop-ast from 0.8.0 to 1.0.0 [\#115](https://github.com/tknzk/saml_idp_metadata/pull/115) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
20
+ - Bump rubocop from 0.93.1 to 1.0.0 [\#114](https://github.com/tknzk/saml_idp_metadata/pull/114) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
21
+ - Bump rubocop-ast from 0.7.1 to 0.8.0 [\#113](https://github.com/tknzk/saml_idp_metadata/pull/113) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
22
+ - Bump rubocop from 0.93.0 to 0.93.1 [\#112](https://github.com/tknzk/saml_idp_metadata/pull/112) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
23
+ - Bump rubocop from 0.92.0 to 0.93.0 [\#110](https://github.com/tknzk/saml_idp_metadata/pull/110) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
24
+ - Bump activesupport from 6.0.3.3 to 6.0.3.4 [\#109](https://github.com/tknzk/saml_idp_metadata/pull/109) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
25
+ - Bump parser from 2.7.1.5 to 2.7.2.0 [\#108](https://github.com/tknzk/saml_idp_metadata/pull/108) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
26
+ - add Ruby 3.0.0-preview1 test [\#107](https://github.com/tknzk/saml_idp_metadata/pull/107) ([tknzk](https://github.com/tknzk))
27
+ - Bump rspec-core from 3.9.2 to 3.9.3 [\#106](https://github.com/tknzk/saml_idp_metadata/pull/106) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
28
+ - Bump rubocop-ast from 0.6.0 to 0.7.1 [\#105](https://github.com/tknzk/saml_idp_metadata/pull/105) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
29
+ - Bump regexp\_parser from 1.8.0 to 1.8.1 [\#104](https://github.com/tknzk/saml_idp_metadata/pull/104) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
30
+ - Bump rubocop-ast from 0.5.0 to 0.5.1 [\#103](https://github.com/tknzk/saml_idp_metadata/pull/103) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
31
+ - Bump rubocop from 0.91.1 to 0.92.0 [\#102](https://github.com/tknzk/saml_idp_metadata/pull/102) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
32
+ - Bump rubocop-ast from 0.4.2 to 0.5.0 [\#101](https://github.com/tknzk/saml_idp_metadata/pull/101) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
33
+ - Bump rubocop from 0.91.0 to 0.91.1 [\#99](https://github.com/tknzk/saml_idp_metadata/pull/99) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
34
+ - Bump simplecov-html from 0.12.2 to 0.12.3 [\#98](https://github.com/tknzk/saml_idp_metadata/pull/98) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
35
+ - Bump regexp\_parser from 1.7.1 to 1.8.0 [\#97](https://github.com/tknzk/saml_idp_metadata/pull/97) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
36
+ - Bump rubocop-ast from 0.4.1 to 0.4.2 [\#96](https://github.com/tknzk/saml_idp_metadata/pull/96) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
37
+ - Bump rubocop-ast from 0.4.0 to 0.4.1 [\#95](https://github.com/tknzk/saml_idp_metadata/pull/95) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
38
+ - Bump rubocop from 0.90.0 to 0.91.0 [\#94](https://github.com/tknzk/saml_idp_metadata/pull/94) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
39
+ - Bump rubocop-ast from 0.3.0 to 0.4.0 [\#93](https://github.com/tknzk/saml_idp_metadata/pull/93) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
40
+
41
+ ## [v0.1.8](https://github.com/tknzk/saml_idp_metadata/tree/v0.1.8) (2020-09-10)
42
+
43
+ [Full Changelog](https://github.com/tknzk/saml_idp_metadata/compare/v0.1.7...v0.1.8)
44
+
45
+ **Merged pull requests:**
46
+
47
+ - bumpup [\#92](https://github.com/tknzk/saml_idp_metadata/pull/92) ([tknzk](https://github.com/tknzk))
48
+ - 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))
49
+ - 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))
50
+ - 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))
51
+ - 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))
52
+ - 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))
53
+ - 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))
54
+ - 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))
55
+ - Rubocop config [\#84](https://github.com/tknzk/saml_idp_metadata/pull/84) ([tknzk](https://github.com/tknzk))
56
+ - 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))
57
+ - 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))
58
+ - 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))
59
+ - 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))
60
+ - 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))
61
+ - 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))
62
+ - 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))
63
+ - 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))
64
+ - update changelog [\#75](https://github.com/tknzk/saml_idp_metadata/pull/75) ([tknzk](https://github.com/tknzk))
65
+ - 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))
66
+
67
+ ## [v0.1.7](https://github.com/tknzk/saml_idp_metadata/tree/v0.1.7) (2020-07-02)
68
+
69
+ [Full Changelog](https://github.com/tknzk/saml_idp_metadata/compare/v0.1.6...v0.1.7)
70
+
71
+ **Merged pull requests:**
72
+
73
+ - bumpup [\#74](https://github.com/tknzk/saml_idp_metadata/pull/74) ([tknzk](https://github.com/tknzk))
74
+ - Bump zeitwerk from 2.3.0 to 2.3.1 [\#72](https://github.com/tknzk/saml_idp_metadata/pull/72) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
75
+ - Bump diff-lcs from 1.4.2 to 1.4.3 [\#71](https://github.com/tknzk/saml_idp_metadata/pull/71) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
76
+ - 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))
77
+ - 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))
78
+ - 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))
79
+ - 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))
80
+ - 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))
81
+ - 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))
82
+ - 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))
83
+ - Bump ast from 2.4.0 to 2.4.1 [\#63](https://github.com/tknzk/saml_idp_metadata/pull/63) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
84
+ - Bump rubocop from 0.85.0 to 0.85.1 [\#62](https://github.com/tknzk/saml_idp_metadata/pull/62) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
85
+ - Bump i18n from 1.8.2 to 1.8.3 [\#60](https://github.com/tknzk/saml_idp_metadata/pull/60) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
86
+ - Bump rubocop from 0.84.0 to 0.85.0 [\#59](https://github.com/tknzk/saml_idp_metadata/pull/59) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
87
+ - Bump coderay from 1.1.2 to 1.1.3 [\#58](https://github.com/tknzk/saml_idp_metadata/pull/58) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
88
+ - Bump parser from 2.7.1.2 to 2.7.1.3 [\#57](https://github.com/tknzk/saml_idp_metadata/pull/57) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
89
+ - Bump rubocop from 0.83.0 to 0.84.0 [\#56](https://github.com/tknzk/saml_idp_metadata/pull/56) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
90
+ - remvoe codecov [\#55](https://github.com/tknzk/saml_idp_metadata/pull/55) ([tknzk](https://github.com/tknzk))
91
+ - add simplecov [\#54](https://github.com/tknzk/saml_idp_metadata/pull/54) ([tknzk](https://github.com/tknzk))
92
+ - update changelog [\#53](https://github.com/tknzk/saml_idp_metadata/pull/53) ([tknzk](https://github.com/tknzk))
93
+
94
+ ## [v0.1.6](https://github.com/tknzk/saml_idp_metadata/tree/v0.1.6) (2020-05-19)
95
+
96
+ [Full Changelog](https://github.com/tknzk/saml_idp_metadata/compare/v0.1.5...v0.1.6)
97
+
98
+ **Security fixes:**
99
+
100
+ - \[Security\] Bump activesupport from 6.0.3 to 6.0.3.1 [\#50](https://github.com/tknzk/saml_idp_metadata/pull/50) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
101
+
102
+ **Merged pull requests:**
103
+
104
+ - bumpup 0.1.6 [\#52](https://github.com/tknzk/saml_idp_metadata/pull/52) ([tknzk](https://github.com/tknzk))
105
+ - Bump minitest from 5.14.0 to 5.14.1 [\#51](https://github.com/tknzk/saml_idp_metadata/pull/51) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
106
+ - Bump rubocop from 0.82.0 to 0.83.0 [\#49](https://github.com/tknzk/saml_idp_metadata/pull/49) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
107
+ - Bump rspec-expectations from 3.9.1 to 3.9.2 [\#48](https://github.com/tknzk/saml_idp_metadata/pull/48) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
108
+ - Bump activesupport from 6.0.2.2 to 6.0.3 [\#47](https://github.com/tknzk/saml_idp_metadata/pull/47) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
109
+ - Bump rspec-support from 3.9.2 to 3.9.3 [\#46](https://github.com/tknzk/saml_idp_metadata/pull/46) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
110
+ - Bump rspec-core from 3.9.1 to 3.9.2 [\#45](https://github.com/tknzk/saml_idp_metadata/pull/45) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
111
+ - Bump parser from 2.7.1.1 to 2.7.1.2 [\#44](https://github.com/tknzk/saml_idp_metadata/pull/44) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
112
+ - Bump rubocop from 0.81.0 to 0.82.0 [\#43](https://github.com/tknzk/saml_idp_metadata/pull/43) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
113
+ - Bump parser from 2.7.1.0 to 2.7.1.1 [\#42](https://github.com/tknzk/saml_idp_metadata/pull/42) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
114
+ - Bump pry from 0.13.0 to 0.13.1 [\#41](https://github.com/tknzk/saml_idp_metadata/pull/41) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
115
+ - update changelog [\#40](https://github.com/tknzk/saml_idp_metadata/pull/40) ([tknzk](https://github.com/tknzk))
116
+
117
+ ## [v0.1.5](https://github.com/tknzk/saml_idp_metadata/tree/v0.1.5) (2020-04-08)
118
+
119
+ [Full Changelog](https://github.com/tknzk/saml_idp_metadata/compare/v0.1.4...v0.1.5)
120
+
121
+ **Merged pull requests:**
122
+
123
+ - bumpup 0.1.5 [\#39](https://github.com/tknzk/saml_idp_metadata/pull/39) ([tknzk](https://github.com/tknzk))
124
+ - Bump parser from 2.7.0.5 to 2.7.1.0 [\#38](https://github.com/tknzk/saml_idp_metadata/pull/38) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
125
+ - Bump tzinfo from 1.2.6 to 1.2.7 [\#37](https://github.com/tknzk/saml_idp_metadata/pull/37) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
126
+ - 🎉Ruby 2.7.1 [\#36](https://github.com/tknzk/saml_idp_metadata/pull/36) ([tknzk](https://github.com/tknzk))
127
+ - Bump rubocop from 0.80.1 to 0.81.0 [\#35](https://github.com/tknzk/saml_idp_metadata/pull/35) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
128
+ - Bump pry from 0.12.2 to 0.13.0 [\#34](https://github.com/tknzk/saml_idp_metadata/pull/34) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
129
+ - Bump parser from 2.7.0.4 to 2.7.0.5 [\#33](https://github.com/tknzk/saml_idp_metadata/pull/33) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
130
+ - Bump activesupport from 6.0.2.1 to 6.0.2.2 [\#32](https://github.com/tknzk/saml_idp_metadata/pull/32) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
131
+ - Bump rspec-expectations from 3.9.0 to 3.9.1 [\#31](https://github.com/tknzk/saml_idp_metadata/pull/31) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
132
+ - Bump zeitwerk from 2.2.2 to 2.3.0 [\#30](https://github.com/tknzk/saml_idp_metadata/pull/30) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
133
+ - Bump parser from 2.7.0.3 to 2.7.0.4 [\#29](https://github.com/tknzk/saml_idp_metadata/pull/29) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
134
+ - Bump rubocop from 0.80.0 to 0.80.1 [\#28](https://github.com/tknzk/saml_idp_metadata/pull/28) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
135
+ - Bump parser from 2.7.0.2 to 2.7.0.3 [\#27](https://github.com/tknzk/saml_idp_metadata/pull/27) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
136
+ - Bump rubocop from 0.79.0 to 0.80.0 [\#26](https://github.com/tknzk/saml_idp_metadata/pull/26) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
137
+ - Bump concurrent-ruby from 1.1.5 to 1.1.6 [\#25](https://github.com/tknzk/saml_idp_metadata/pull/25) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
138
+ - Bump i18n from 1.8.1 to 1.8.2 [\#24](https://github.com/tknzk/saml_idp_metadata/pull/24) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
139
+ - Bump unicode-display\_width from 1.6.0 to 1.6.1 [\#23](https://github.com/tknzk/saml_idp_metadata/pull/23) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
140
+ - Bump minitest from 5.13.0 to 5.14.0 [\#22](https://github.com/tknzk/saml_idp_metadata/pull/22) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
141
+ - update changelog [\#21](https://github.com/tknzk/saml_idp_metadata/pull/21) ([tknzk](https://github.com/tknzk))
142
+ - Modified GitHub workflow [\#16](https://github.com/tknzk/saml_idp_metadata/pull/16) ([tknzk](https://github.com/tknzk))
143
+
3
144
  ## [v0.1.4](https://github.com/tknzk/saml_idp_metadata/tree/v0.1.4) (2020-01-11)
4
145
 
5
146
  [Full Changelog](https://github.com/tknzk/saml_idp_metadata/compare/v0.1.3...v0.1.4)
@@ -10,7 +151,6 @@
10
151
  - bundle update [\#19](https://github.com/tknzk/saml_idp_metadata/pull/19) ([tknzk](https://github.com/tknzk))
11
152
  - fix working\_dir [\#18](https://github.com/tknzk/saml_idp_metadata/pull/18) ([tknzk](https://github.com/tknzk))
12
153
  - add build status badge [\#17](https://github.com/tknzk/saml_idp_metadata/pull/17) ([tknzk](https://github.com/tknzk))
13
- - Modified GitHub workflow [\#16](https://github.com/tknzk/saml_idp_metadata/pull/16) ([tknzk](https://github.com/tknzk))
14
154
  - Modified circleci config [\#15](https://github.com/tknzk/saml_idp_metadata/pull/15) ([tknzk](https://github.com/tknzk))
15
155
  - Bump rubocop from 0.78.0 to 0.79.0 [\#14](https://github.com/tknzk/saml_idp_metadata/pull/14) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
16
156
  - rename [\#13](https://github.com/tknzk/saml_idp_metadata/pull/13) ([tknzk](https://github.com/tknzk))
@@ -20,7 +160,6 @@
20
160
  - Ruby 2.7.0 [\#8](https://github.com/tknzk/saml_idp_metadata/pull/8) ([tknzk](https://github.com/tknzk))
21
161
  - change email [\#7](https://github.com/tknzk/saml_idp_metadata/pull/7) ([tknzk](https://github.com/tknzk))
22
162
  - add changelog [\#6](https://github.com/tknzk/saml_idp_metadata/pull/6) ([tknzk](https://github.com/tknzk))
23
- - Modified spec & bumpup [\#1](https://github.com/tknzk/saml_idp_metadata/pull/1) ([tknzk](https://github.com/tknzk))
24
163
 
25
164
  ## [v0.1.3](https://github.com/tknzk/saml_idp_metadata/tree/v0.1.3) (2019-11-27)
26
165
 
@@ -44,6 +183,10 @@
44
183
 
45
184
  [Full Changelog](https://github.com/tknzk/saml_idp_metadata/compare/v0.1.0...v0.1.1)
46
185
 
186
+ **Merged pull requests:**
187
+
188
+ - Modified spec & bumpup [\#1](https://github.com/tknzk/saml_idp_metadata/pull/1) ([tknzk](https://github.com/tknzk))
189
+
47
190
  ## [v0.1.0](https://github.com/tknzk/saml_idp_metadata/tree/v0.1.0) (2019-11-25)
48
191
 
49
192
  [Full Changelog](https://github.com/tknzk/saml_idp_metadata/compare/06dd164eb01378ca8a1c41cad3811682c0d17828...v0.1.0)
@@ -1,66 +1,76 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- saml_idp_metadata (0.1.5)
4
+ saml_idp_metadata (0.2.0)
5
5
  activesupport
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- activesupport (6.0.2.2)
10
+ activesupport (6.1.1)
11
11
  concurrent-ruby (~> 1.0, >= 1.0.2)
12
- i18n (>= 0.7, < 2)
13
- minitest (~> 5.1)
14
- tzinfo (~> 1.1)
15
- zeitwerk (~> 2.2)
16
- ast (2.4.0)
17
- coderay (1.1.2)
18
- concurrent-ruby (1.1.6)
19
- diff-lcs (1.3)
20
- i18n (1.8.2)
12
+ i18n (>= 1.6, < 2)
13
+ minitest (>= 5.1)
14
+ tzinfo (~> 2.0)
15
+ zeitwerk (~> 2.3)
16
+ ast (2.4.1)
17
+ coderay (1.1.3)
18
+ concurrent-ruby (1.1.7)
19
+ diff-lcs (1.4.4)
20
+ docile (1.3.5)
21
+ i18n (1.8.7)
21
22
  concurrent-ruby (~> 1.0)
22
- jaro_winkler (1.5.4)
23
23
  method_source (1.0.0)
24
- minitest (5.14.0)
25
- parallel (1.19.1)
26
- parser (2.7.1.0)
27
- ast (~> 2.4.0)
28
- pry (0.13.0)
24
+ minitest (5.14.3)
25
+ parallel (1.20.1)
26
+ parser (3.0.0.0)
27
+ ast (~> 2.4.1)
28
+ pry (0.13.1)
29
29
  coderay (~> 1.1)
30
30
  method_source (~> 1.0)
31
31
  rainbow (3.0.0)
32
- rake (13.0.1)
32
+ rake (13.0.3)
33
+ regexp_parser (2.0.3)
33
34
  rexml (3.2.4)
34
- rspec (3.9.0)
35
- rspec-core (~> 3.9.0)
36
- rspec-expectations (~> 3.9.0)
37
- rspec-mocks (~> 3.9.0)
38
- rspec-core (3.9.1)
39
- rspec-support (~> 3.9.1)
40
- rspec-expectations (3.9.1)
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.1)
40
+ rspec-support (~> 3.10.0)
41
+ rspec-expectations (3.10.1)
41
42
  diff-lcs (>= 1.2.0, < 2.0)
42
- rspec-support (~> 3.9.0)
43
- rspec-mocks (3.9.1)
43
+ rspec-support (~> 3.10.0)
44
+ rspec-mocks (3.10.1)
44
45
  diff-lcs (>= 1.2.0, < 2.0)
45
- rspec-support (~> 3.9.0)
46
- rspec-support (3.9.2)
47
- rubocop (0.81.0)
48
- jaro_winkler (~> 1.5.1)
46
+ rspec-support (~> 3.10.0)
47
+ rspec-support (3.10.1)
48
+ rubocop (1.8.1)
49
49
  parallel (~> 1.10)
50
- parser (>= 2.7.0.1)
50
+ parser (>= 3.0.0.0)
51
51
  rainbow (>= 2.2.2, < 4.0)
52
+ regexp_parser (>= 1.8, < 3.0)
52
53
  rexml
54
+ rubocop-ast (>= 1.2.0, < 2.0)
53
55
  ruby-progressbar (~> 1.7)
54
- unicode-display_width (>= 1.4.0, < 2.0)
55
- ruby-progressbar (1.10.1)
56
- thread_safe (0.3.6)
57
- tzinfo (1.2.7)
58
- thread_safe (~> 0.1)
59
- unicode-display_width (1.7.0)
60
- zeitwerk (2.3.0)
56
+ unicode-display_width (>= 1.4.0, < 3.0)
57
+ rubocop-ast (1.4.0)
58
+ parser (>= 2.7.1.5)
59
+ ruby-progressbar (1.11.0)
60
+ simplecov (0.21.2)
61
+ docile (~> 1.1)
62
+ simplecov-html (~> 0.11)
63
+ simplecov_json_formatter (~> 0.1)
64
+ simplecov-html (0.12.3)
65
+ simplecov_json_formatter (0.1.2)
66
+ tzinfo (2.0.4)
67
+ concurrent-ruby (~> 1.0)
68
+ unicode-display_width (2.0.0)
69
+ zeitwerk (2.4.2)
61
70
 
62
71
  PLATFORMS
63
72
  ruby
73
+ x86_64-darwin-19
64
74
 
65
75
  DEPENDENCIES
66
76
  bundler (~> 2)
@@ -69,6 +79,7 @@ DEPENDENCIES
69
79
  rspec
70
80
  rubocop
71
81
  saml_idp_metadata!
82
+ simplecov
72
83
 
73
84
  BUNDLED WITH
74
- 2.1.4
85
+ 2.2.3
@@ -1,6 +1,8 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ require 'active_support/dependencies/autoload'
3
4
  require 'active_support/core_ext'
5
+
4
6
  module SamlIdpMetadata
5
7
  #
6
8
  # SAML IdP metadata parser
@@ -108,7 +110,7 @@ module SamlIdpMetadata
108
110
  def parse_x509_certificate
109
111
  return nil if entity_descriptor.dig('IDPSSODescriptor', 'KeyDescriptor').nil?
110
112
 
111
- if entity_descriptor['IDPSSODescriptor']['KeyDescriptor'].class == Array
113
+ if entity_descriptor['IDPSSODescriptor']['KeyDescriptor'].instance_of?(Array)
112
114
  entity_descriptor['IDPSSODescriptor']['KeyDescriptor'].last['KeyInfo']['X509Data']['X509Certificate']
113
115
  else
114
116
  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.5'
4
+ VERSION = '0.2.0'
5
5
  end
@@ -5,19 +5,20 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
5
  require 'saml_idp_metadata/version'
6
6
 
7
7
  Gem::Specification.new do |spec|
8
- spec.name = 'saml_idp_metadata'
9
- spec.version = SamlIdpMetadata::VERSION
10
- spec.authors = ['tknzk']
11
- spec.email = ['tkm.knzk@gmail.com']
8
+ spec.name = 'saml_idp_metadata'
9
+ spec.required_ruby_version = '>= 2.5', '< 4'
10
+ spec.version = SamlIdpMetadata::VERSION
11
+ spec.authors = ['tknzk']
12
+ spec.email = ['tkm.knzk@gmail.com']
12
13
 
13
- spec.summary = 'SAML IdP metadata.xml parser'
14
- spec.description = 'SAML IdP metadata.xml parser'
15
- spec.homepage = 'https://github.com/tknzk/saml_idp_metadata'
16
- spec.license = 'MIT'
14
+ spec.summary = 'SAML IdP metadata.xml parser'
15
+ spec.description = 'SAML IdP metadata.xml parser'
16
+ spec.homepage = 'https://github.com/tknzk/saml_idp_metadata'
17
+ spec.license = 'MIT'
17
18
 
18
19
  # Specify which files should be added to the gem when it is released.
19
20
  # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
20
- spec.files = Dir.chdir(File.expand_path(__dir__)) do
21
+ spec.files = Dir.chdir(File.expand_path(__dir__)) do
21
22
  `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
22
23
  end
23
24
  spec.bindir = 'exe'
@@ -31,4 +32,5 @@ Gem::Specification.new do |spec|
31
32
  spec.add_development_dependency 'rake'
32
33
  spec.add_development_dependency 'rspec'
33
34
  spec.add_development_dependency 'rubocop'
35
+ spec.add_development_dependency 'simplecov'
34
36
  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.5
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - tknzk
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-04-08 00:00:00.000000000 Z
11
+ date: 2021-01-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -94,6 +94,20 @@ dependencies:
94
94
  - - ">="
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: simplecov
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'
97
111
  description: SAML IdP metadata.xml parser
98
112
  email:
99
113
  - tkm.knzk@gmail.com
@@ -126,7 +140,7 @@ homepage: https://github.com/tknzk/saml_idp_metadata
126
140
  licenses:
127
141
  - MIT
128
142
  metadata: {}
129
- post_install_message:
143
+ post_install_message:
130
144
  rdoc_options: []
131
145
  require_paths:
132
146
  - lib
@@ -134,15 +148,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
134
148
  requirements:
135
149
  - - ">="
136
150
  - !ruby/object:Gem::Version
137
- version: '0'
151
+ version: '2.5'
152
+ - - "<"
153
+ - !ruby/object:Gem::Version
154
+ version: '4'
138
155
  required_rubygems_version: !ruby/object:Gem::Requirement
139
156
  requirements:
140
157
  - - ">="
141
158
  - !ruby/object:Gem::Version
142
159
  version: '0'
143
160
  requirements: []
144
- rubygems_version: 3.1.2
145
- signing_key:
161
+ rubygems_version: 3.2.3
162
+ signing_key:
146
163
  specification_version: 4
147
164
  summary: SAML IdP metadata.xml parser
148
165
  test_files: []