omniauth-eve_online-sso 0.6.0 → 0.7.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c6c7b6a016b1271879ff1cf577448b6b9cfb7002eeeb17d08d448415f0de6584
4
- data.tar.gz: 28c5877b96329936fe62fbd4c9fe91afe9fb3e18c719ad872d77190f34496287
3
+ metadata.gz: cfc7fe3317c3e3f29bcdf05baf8c0cb7ca6eb7309affed0725417d92ccdf7da3
4
+ data.tar.gz: f689f807f58441eba134400983410420a962b76facd7d9e3d82c218f7ea77c1e
5
5
  SHA512:
6
- metadata.gz: 9b65efe196382906b911446d59b5380a9b5054a15f8bc6570876d7990446664ca9171402816403c370e23ac3d4e2070ca0c8326dec748990b1a667a0cce2285c
7
- data.tar.gz: 7cc92be704dd9d462ee03d73e550d64a6bcb64beb0eb86a44a70c6b685131f671dfdccf956601105285b26ecd12a2afed94c7b7889ae672dbeb7a237338370f7
6
+ metadata.gz: 3e8125d1511dfa2b4219e87969847836cdf7d66db78850cf801a85b9e7a20a71dcf39bf2858d88eff5f29ee08b45fc53d59ba14f47b6d5bd6341c35d0f2d85e7
7
+ data.tar.gz: 183eae11c49d1e7fd68d7a40b0b0da6c1ecd4e2cd3377c078d7b332f6ec817c46eebd45522eb53cb7f434bfbda24fbdc126e1b50fc37b38a3a7c2736270e1fd6
@@ -10,6 +10,9 @@ on:
10
10
  schedule:
11
11
  - cron: "0 21 * * 6"
12
12
 
13
+ permissions:
14
+ contents: read
15
+
13
16
  jobs:
14
17
  analyze:
15
18
  name: Analyze
@@ -29,16 +32,16 @@ jobs:
29
32
 
30
33
  steps:
31
34
  - name: Checkout repository
32
- uses: actions/checkout@v3
35
+ uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
33
36
 
34
37
  # Initializes the CodeQL tools for scanning.
35
38
  - name: Initialize CodeQL
36
- uses: github/codeql-action/init@v2
39
+ uses: github/codeql-action/init@f779452ac5af1c261dce0346a8f964149f49322b # v3.26.13
37
40
  with:
38
41
  languages: ${{ matrix.language }}
39
42
 
40
43
  - name: Autobuild
41
- uses: github/codeql-action/autobuild@v2
44
+ uses: github/codeql-action/autobuild@f779452ac5af1c261dce0346a8f964149f49322b # v3.26.13
42
45
 
43
46
  - name: Perform CodeQL Analysis
44
- uses: github/codeql-action/analyze@v2
47
+ uses: github/codeql-action/analyze@f779452ac5af1c261dce0346a8f964149f49322b # v3.26.13
@@ -0,0 +1,22 @@
1
+ # Dependency Review Action
2
+ #
3
+ # This Action will scan dependency manifest files that change as part of a Pull Request,
4
+ # surfacing known-vulnerable versions of the packages declared or updated in the PR.
5
+ # Once installed, if the workflow run is marked as required,
6
+ # PRs introducing known-vulnerable packages will be blocked from merging.
7
+ #
8
+ # Source repository: https://github.com/actions/dependency-review-action
9
+ name: 'Dependency Review'
10
+ on: [pull_request]
11
+
12
+ permissions:
13
+ contents: read
14
+
15
+ jobs:
16
+ dependency-review:
17
+ runs-on: ubuntu-latest
18
+ steps:
19
+ - name: 'Checkout Repository'
20
+ uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
21
+ - name: 'Dependency Review'
22
+ uses: actions/dependency-review-action@5a2ce3f5b92ee19cbb1541a4984c76d921601d7c # v4.3.4
@@ -15,5 +15,5 @@ jobs:
15
15
  runs-on: ubuntu-latest
16
16
 
17
17
  steps:
18
- - uses: actions/checkout@v3
19
- - uses: bewuethr/mdl-action@v1.1.2
18
+ - uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
19
+ - uses: bewuethr/mdl-action@0d8e72b8dc605e02a94a4f00f93f13f26cf0e265 # v1.1.2
@@ -0,0 +1,39 @@
1
+ name: RSpec
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - main
7
+ pull_request:
8
+ branches:
9
+ - main
10
+ schedule:
11
+ - cron: "0 21 * * 6"
12
+
13
+ permissions:
14
+ contents: read
15
+
16
+ jobs:
17
+ rspec:
18
+ runs-on: ubuntu-latest
19
+ strategy:
20
+ fail-fast: false
21
+ matrix:
22
+ ruby: ["3.2", "3.3", "head"]
23
+
24
+ name: Ruby ${{ matrix.ruby }}
25
+ steps:
26
+ - name: Harden Runner
27
+ uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
28
+ with:
29
+ egress-policy: audit
30
+
31
+ - uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
32
+ - run: rm Gemfile.lock
33
+ - run: rm .ruby-version
34
+ - name: Set up Ruby
35
+ uses: ruby/setup-ruby@7bae1d00b5db9166f4f0fc47985a3a5702cb58f0 # v1.197.0
36
+ with:
37
+ ruby-version: ${{ matrix.ruby }}
38
+ bundler-cache: true
39
+ - run: bundle exec rspec
@@ -0,0 +1,71 @@
1
+ # This workflow uses actions that are not certified by GitHub. They are provided
2
+ # by a third-party and are governed by separate terms of service, privacy
3
+ # policy, and support documentation.
4
+
5
+ name: Scorecard supply-chain security
6
+ on:
7
+ # For Branch-Protection check. Only the default branch is supported. See
8
+ # https://github.com/ossf/scorecard/blob/main/docs/checks.md#branch-protection
9
+ branch_protection_rule:
10
+ # To guarantee Maintained check is occasionally updated. See
11
+ # https://github.com/ossf/scorecard/blob/main/docs/checks.md#maintained
12
+ schedule:
13
+ - cron: '20 7 * * 2'
14
+ push:
15
+ branches: ["main"]
16
+
17
+ # Declare default permissions as read only.
18
+ permissions: read-all
19
+
20
+ jobs:
21
+ analysis:
22
+ name: Scorecard analysis
23
+ runs-on: ubuntu-latest
24
+ permissions:
25
+ # Needed to upload the results to code-scanning dashboard.
26
+ security-events: write
27
+ # Needed to publish results and get a badge (see publish_results below).
28
+ id-token: write
29
+ contents: read
30
+ actions: read
31
+
32
+ steps:
33
+ - name: "Checkout code"
34
+ uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
35
+ with:
36
+ persist-credentials: false
37
+
38
+ - name: "Run analysis"
39
+ uses: ossf/scorecard-action@62b2cac7ed8198b15735ed49ab1e5cf35480ba46 # v2.4.0
40
+ with:
41
+ results_file: results.sarif
42
+ results_format: sarif
43
+ # (Optional) "write" PAT token. Uncomment the `repo_token` line below if:
44
+ # - you want to enable the Branch-Protection check on a *public* repository, or
45
+ # - you are installing Scorecards on a *private* repository
46
+ # To create the PAT, follow the steps in https://github.com/ossf/scorecard-action#authentication-with-pat.
47
+ # repo_token: ${{ secrets.SCORECARD_TOKEN }}
48
+
49
+ # Public repositories:
50
+ # - Publish results to OpenSSF REST API for easy access by consumers
51
+ # - Allows the repository to include the Scorecard badge.
52
+ # - See https://github.com/ossf/scorecard-action#publishing-results.
53
+ # For private repositories:
54
+ # - `publish_results` will always be set to `false`, regardless
55
+ # of the value entered here.
56
+ publish_results: true
57
+
58
+ # Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF
59
+ # format to the repository Actions tab.
60
+ - name: "Upload artifact"
61
+ uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
62
+ with:
63
+ name: SARIF file
64
+ path: results.sarif
65
+ retention-days: 5
66
+
67
+ # Upload the results to GitHub's code scanning dashboard.
68
+ - name: "Upload to code-scanning"
69
+ uses: github/codeql-action/upload-sarif@f779452ac5af1c261dce0346a8f964149f49322b # v3.26.13
70
+ with:
71
+ sarif_file: results.sarif
data/.rubocop.yml CHANGED
@@ -1,5 +1,5 @@
1
1
  AllCops:
2
- TargetRubyVersion: 2.7
2
+ TargetRubyVersion: 3.1
3
3
  DisplayStyleGuide: true
4
4
  NewCops: enable
5
5
 
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 3.2.2
1
+ 3.3.5
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## v0.7.0
4
+
5
+ * Required ruby version >= 3.2
6
+
3
7
  ## v0.6.0
4
8
 
5
9
  * Required ruby version >= 2.7
data/Gemfile CHANGED
@@ -8,3 +8,4 @@ gemspec
8
8
  gem "awesome_print", require: "ap"
9
9
  gem "pry"
10
10
  gem "standard"
11
+ gem "bigdecimal"
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- omniauth-eve_online-sso (0.6.0)
4
+ omniauth-eve_online-sso (0.7.0)
5
5
  jwt
6
6
  omniauth-oauth2
7
7
 
@@ -10,20 +10,29 @@ GEM
10
10
  specs:
11
11
  ast (2.4.2)
12
12
  awesome_print (1.9.2)
13
+ base64 (0.2.0)
14
+ bigdecimal (3.1.8)
13
15
  coderay (1.1.3)
14
- diff-lcs (1.5.0)
15
- docile (1.4.0)
16
- faraday (2.7.6)
17
- faraday-net_http (>= 2.0, < 3.1)
18
- ruby2_keywords (>= 0.0.4)
19
- faraday-net_http (3.0.2)
16
+ diff-lcs (1.5.1)
17
+ docile (1.4.1)
18
+ faraday (2.12.0)
19
+ faraday-net_http (>= 2.0, < 3.4)
20
+ json
21
+ logger
22
+ faraday-net_http (3.3.0)
23
+ net-http
20
24
  hashie (5.0.0)
21
- json (2.6.3)
22
- jwt (2.7.1)
25
+ json (2.7.2)
26
+ jwt (2.9.3)
27
+ base64
23
28
  language_server-protocol (3.17.0.3)
24
- lint_roller (1.0.0)
25
- method_source (1.0.0)
26
- multi_xml (0.6.0)
29
+ lint_roller (1.1.0)
30
+ logger (1.6.1)
31
+ method_source (1.1.0)
32
+ multi_xml (0.7.1)
33
+ bigdecimal (~> 3.1)
34
+ net-http (0.4.1)
35
+ uri
27
36
  oauth2 (2.0.9)
28
37
  faraday (>= 0.17.3, < 3.0)
29
38
  jwt (>= 1.0, < 3.0)
@@ -31,86 +40,92 @@ GEM
31
40
  rack (>= 1.2, < 4)
32
41
  snaky_hash (~> 2.0)
33
42
  version_gem (~> 1.1)
34
- omniauth (2.1.1)
43
+ omniauth (2.1.2)
35
44
  hashie (>= 3.4.6)
36
45
  rack (>= 2.2.3)
37
46
  rack-protection
38
47
  omniauth-oauth2 (1.8.0)
39
48
  oauth2 (>= 1.4, < 3)
40
49
  omniauth (~> 2.0)
41
- parallel (1.23.0)
42
- parser (3.2.2.3)
50
+ parallel (1.26.3)
51
+ parser (3.3.5.0)
43
52
  ast (~> 2.4.1)
44
53
  racc
45
54
  pry (0.14.2)
46
55
  coderay (~> 1.1)
47
56
  method_source (~> 1.0)
48
- racc (1.7.1)
49
- rack (3.0.8)
50
- rack-protection (3.0.6)
51
- rack
57
+ racc (1.8.1)
58
+ rack (3.1.8)
59
+ rack-protection (4.0.0)
60
+ base64 (>= 0.1.0)
61
+ rack (>= 3.0.0, < 4)
52
62
  rainbow (3.1.1)
53
- rake (13.0.6)
54
- regexp_parser (2.8.1)
55
- rexml (3.2.5)
56
- rspec (3.12.0)
57
- rspec-core (~> 3.12.0)
58
- rspec-expectations (~> 3.12.0)
59
- rspec-mocks (~> 3.12.0)
60
- rspec-core (3.12.2)
61
- rspec-support (~> 3.12.0)
62
- rspec-expectations (3.12.3)
63
+ rake (13.2.1)
64
+ regexp_parser (2.9.2)
65
+ rspec (3.13.0)
66
+ rspec-core (~> 3.13.0)
67
+ rspec-expectations (~> 3.13.0)
68
+ rspec-mocks (~> 3.13.0)
69
+ rspec-core (3.13.2)
70
+ rspec-support (~> 3.13.0)
71
+ rspec-expectations (3.13.3)
63
72
  diff-lcs (>= 1.2.0, < 2.0)
64
- rspec-support (~> 3.12.0)
65
- rspec-mocks (3.12.5)
73
+ rspec-support (~> 3.13.0)
74
+ rspec-mocks (3.13.2)
66
75
  diff-lcs (>= 1.2.0, < 2.0)
67
- rspec-support (~> 3.12.0)
68
- rspec-support (3.12.0)
69
- rubocop (1.52.1)
76
+ rspec-support (~> 3.13.0)
77
+ rspec-support (3.13.1)
78
+ rubocop (1.66.1)
70
79
  json (~> 2.3)
80
+ language_server-protocol (>= 3.17.0)
71
81
  parallel (~> 1.10)
72
- parser (>= 3.2.2.3)
82
+ parser (>= 3.3.0.2)
73
83
  rainbow (>= 2.2.2, < 4.0)
74
- regexp_parser (>= 1.8, < 3.0)
75
- rexml (>= 3.2.5, < 4.0)
76
- rubocop-ast (>= 1.28.0, < 2.0)
84
+ regexp_parser (>= 2.4, < 3.0)
85
+ rubocop-ast (>= 1.32.2, < 2.0)
77
86
  ruby-progressbar (~> 1.7)
78
87
  unicode-display_width (>= 2.4.0, < 3.0)
79
- rubocop-ast (1.29.0)
80
- parser (>= 3.2.1.0)
81
- rubocop-performance (1.18.0)
82
- rubocop (>= 1.7.0, < 2.0)
83
- rubocop-ast (>= 0.4.0)
88
+ rubocop-ast (1.32.3)
89
+ parser (>= 3.3.1.0)
90
+ rubocop-performance (1.22.1)
91
+ rubocop (>= 1.48.1, < 2.0)
92
+ rubocop-ast (>= 1.31.1, < 2.0)
84
93
  ruby-progressbar (1.13.0)
85
- ruby2_keywords (0.0.5)
86
94
  simplecov (0.22.0)
87
95
  docile (~> 1.1)
88
96
  simplecov-html (~> 0.11)
89
97
  simplecov_json_formatter (~> 0.1)
90
- simplecov-html (0.12.3)
98
+ simplecov-html (0.13.1)
91
99
  simplecov_json_formatter (0.1.4)
92
100
  snaky_hash (2.0.1)
93
101
  hashie
94
102
  version_gem (~> 1.1, >= 1.1.1)
95
- standard (1.29.0)
103
+ standard (1.41.1)
96
104
  language_server-protocol (~> 3.17.0.2)
97
105
  lint_roller (~> 1.0)
98
- rubocop (~> 1.52.0)
106
+ rubocop (~> 1.66.0)
99
107
  standard-custom (~> 1.0.0)
100
- standard-performance (~> 1.1.0)
101
- standard-custom (1.0.1)
108
+ standard-performance (~> 1.5)
109
+ standard-custom (1.0.2)
102
110
  lint_roller (~> 1.0)
103
- standard-performance (1.1.0)
104
- lint_roller (~> 1.0)
105
- rubocop-performance (~> 1.18.0)
106
- unicode-display_width (2.4.2)
107
- version_gem (1.1.3)
111
+ rubocop (~> 1.50)
112
+ standard-performance (1.5.0)
113
+ lint_roller (~> 1.1)
114
+ rubocop-performance (~> 1.22.0)
115
+ unicode-display_width (2.6.0)
116
+ uri (0.13.1)
117
+ version_gem (1.1.4)
108
118
 
109
119
  PLATFORMS
120
+ aarch64-linux
121
+ arm64-darwin
110
122
  ruby
123
+ x86_64-darwin
124
+ x86_64-linux
111
125
 
112
126
  DEPENDENCIES
113
127
  awesome_print
128
+ bigdecimal
114
129
  bundler
115
130
  omniauth-eve_online-sso!
116
131
  pry
@@ -120,4 +135,4 @@ DEPENDENCIES
120
135
  standard
121
136
 
122
137
  BUNDLED WITH
123
- 2.4.14
138
+ 2.5.22
data/LICENSE.txt CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2016-2022 Igor Zubkov
3
+ Copyright (c) 2016-2024 Ihor Zubkov
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -3,7 +3,7 @@
3
3
  module Omniauth
4
4
  module EveOnline
5
5
  module SSO
6
- VERSION = "0.6.0"
6
+ VERSION = "0.7.0"
7
7
  end
8
8
  end
9
9
  end
@@ -7,7 +7,7 @@ require "omniauth/eve_online/sso/version"
7
7
  Gem::Specification.new do |spec|
8
8
  spec.name = "omniauth-eve_online-sso"
9
9
  spec.version = Omniauth::EveOnline::SSO::VERSION
10
- spec.authors = ["Igor Zubkov"]
10
+ spec.authors = ["Ihor Zubkov"]
11
11
  spec.email = ["igor.zubkov@gmail.com"]
12
12
 
13
13
  spec.summary = "OmniAuth strategy for EveOnline SSO"
@@ -27,7 +27,7 @@ Gem::Specification.new do |spec|
27
27
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
28
28
  spec.require_paths = ["lib"]
29
29
 
30
- spec.required_ruby_version = ">= 2.7"
30
+ spec.required_ruby_version = ">= 3.2"
31
31
 
32
32
  spec.add_dependency "omniauth-oauth2"
33
33
  spec.add_dependency "jwt"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-eve_online-sso
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.7.0
5
5
  platform: ruby
6
6
  authors:
7
- - Igor Zubkov
7
+ - Ihor Zubkov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-06-18 00:00:00.000000000 Z
11
+ date: 2024-10-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: omniauth-oauth2
@@ -104,13 +104,15 @@ files:
104
104
  - ".github/CODEOWNERS"
105
105
  - ".github/dependabot.yml"
106
106
  - ".github/workflows/codeql-analysis.yml"
107
+ - ".github/workflows/dependency-review.yml"
107
108
  - ".github/workflows/mdl.yml"
109
+ - ".github/workflows/rspec.yml"
110
+ - ".github/workflows/scorecards.yml"
108
111
  - ".gitignore"
109
112
  - ".mdlrc"
110
113
  - ".rspec"
111
114
  - ".rubocop.yml"
112
115
  - ".ruby-version"
113
- - ".travis.yml"
114
116
  - CHANGELOG.md
115
117
  - Gemfile
116
118
  - Gemfile.lock
@@ -141,14 +143,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
141
143
  requirements:
142
144
  - - ">="
143
145
  - !ruby/object:Gem::Version
144
- version: '2.7'
146
+ version: '3.2'
145
147
  required_rubygems_version: !ruby/object:Gem::Requirement
146
148
  requirements:
147
149
  - - ">="
148
150
  - !ruby/object:Gem::Version
149
151
  version: '0'
150
152
  requirements: []
151
- rubygems_version: 3.4.14
153
+ rubygems_version: 3.5.22
152
154
  signing_key:
153
155
  specification_version: 4
154
156
  summary: OmniAuth strategy for EveOnline SSO
data/.travis.yml DELETED
@@ -1,16 +0,0 @@
1
- sudo: false
2
- language: ruby
3
- cache: bundler
4
- rvm:
5
- - 2.3.7
6
- - 2.4.4
7
- - 2.5.1
8
- - ruby-head
9
-
10
- before_install: gem install bundler
11
-
12
- script:
13
- - bundle exec rake
14
- - bundle exec codeclimate-test-reporter
15
- - bundle exec rubocop
16
- - bundle exec mdl README.md