omniauth-eve_online-sso 0.5.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: 4152a8b6c59b47705f4dd3b0dfaf54f6c7f3ef1fcfd18224c5bb4093dd9c9450
4
- data.tar.gz: 32efb033c2da393d8e23c4a114d957e3bfd4bb2f6e10c9c85f7b476b5d6ba05c
3
+ metadata.gz: cfc7fe3317c3e3f29bcdf05baf8c0cb7ca6eb7309affed0725417d92ccdf7da3
4
+ data.tar.gz: f689f807f58441eba134400983410420a962b76facd7d9e3d82c218f7ea77c1e
5
5
  SHA512:
6
- metadata.gz: 4c78bdfcd4bcf3f5f8371331038a00e8c01d24650c6fc4f0a1442317b755a0952ed60ea72bb308358f0cd34c23d5bb64c607b99ee6701e917e3f8166d5264edc
7
- data.tar.gz: b45b7f207aaced15b55fdd3b8be36af4105f6b5d8ba412dac5dc7d47aba7f1f66c85eb494ea42b4d62084742b5fcfc4fb613519e5dd60144a8a1e390558344f3
6
+ metadata.gz: 3e8125d1511dfa2b4219e87969847836cdf7d66db78850cf801a85b9e7a20a71dcf39bf2858d88eff5f29ee08b45fc53d59ba14f47b6d5bd6341c35d0f2d85e7
7
+ data.tar.gz: 183eae11c49d1e7fd68d7a40b0b0da6c1ecd4e2cd3377c078d7b332f6ec817c46eebd45522eb53cb7f434bfbda24fbdc126e1b50fc37b38a3a7c2736270e1fd6
@@ -8,7 +8,11 @@ updates:
8
8
  allow:
9
9
  - dependency-type: "direct"
10
10
  - dependency-type: "indirect"
11
+ assignees:
12
+ - "biow0lf"
11
13
  - package-ecosystem: "github-actions"
12
14
  directory: "/"
13
15
  schedule:
14
16
  interval: "daily"
17
+ assignees:
18
+ - "biow0lf"
@@ -0,0 +1,47 @@
1
+ name: "CodeQL"
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
+ analyze:
18
+ name: Analyze
19
+ runs-on: ubuntu-latest
20
+ permissions:
21
+ actions: read
22
+ contents: read
23
+ security-events: write
24
+
25
+ strategy:
26
+ fail-fast: false
27
+ matrix:
28
+ # CodeQL supports [ "cpp", "csharp", "go", "java", "javascript", "python", "ruby" ]
29
+ # Learn more about CodeQL language support at https://git.io/codeql-language-support
30
+ language:
31
+ - "ruby"
32
+
33
+ steps:
34
+ - name: Checkout repository
35
+ uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
36
+
37
+ # Initializes the CodeQL tools for scanning.
38
+ - name: Initialize CodeQL
39
+ uses: github/codeql-action/init@f779452ac5af1c261dce0346a8f964149f49322b # v3.26.13
40
+ with:
41
+ languages: ${{ matrix.language }}
42
+
43
+ - name: Autobuild
44
+ uses: github/codeql-action/autobuild@f779452ac5af1c261dce0346a8f964149f49322b # v3.26.13
45
+
46
+ - name: Perform CodeQL Analysis
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
@@ -1,4 +1,4 @@
1
- name: mdl
1
+ name: "Markdown Lint"
2
2
 
3
3
  on:
4
4
  push:
@@ -7,12 +7,13 @@ on:
7
7
  pull_request:
8
8
  branches:
9
9
  - main
10
+ schedule:
11
+ - cron: "0 21 * * 6"
10
12
 
11
13
  jobs:
12
14
  mdl:
13
15
  runs-on: ubuntu-latest
14
16
 
15
17
  steps:
16
- - uses: actions/checkout@v2
17
- - name: run mdl
18
- uses: actionshub/markdownlint@2.0.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.6
2
+ TargetRubyVersion: 3.1
3
3
  DisplayStyleGuide: true
4
4
  NewCops: enable
5
5
 
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 3.0.2
1
+ 3.3.5
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## v0.7.0
4
+
5
+ * Required ruby version >= 3.2
6
+
7
+ ## v0.6.0
8
+
9
+ * Required ruby version >= 2.7
10
+
3
11
  ## v0.5.0
4
12
 
5
13
  * Fix error when decoding OAuth2 tokens containing a single scope
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.4.0)
4
+ omniauth-eve_online-sso (0.7.0)
5
5
  jwt
6
6
  omniauth-oauth2
7
7
 
@@ -10,105 +10,122 @@ 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.4.4)
15
- docile (1.4.0)
16
- faraday (1.8.0)
17
- faraday-em_http (~> 1.0)
18
- faraday-em_synchrony (~> 1.0)
19
- faraday-excon (~> 1.1)
20
- faraday-httpclient (~> 1.0.1)
21
- faraday-net_http (~> 1.0)
22
- faraday-net_http_persistent (~> 1.1)
23
- faraday-patron (~> 1.0)
24
- faraday-rack (~> 1.0)
25
- multipart-post (>= 1.2, < 3)
26
- ruby2_keywords (>= 0.0.4)
27
- faraday-em_http (1.0.0)
28
- faraday-em_synchrony (1.0.0)
29
- faraday-excon (1.1.0)
30
- faraday-httpclient (1.0.1)
31
- faraday-net_http (1.0.1)
32
- faraday-net_http_persistent (1.2.0)
33
- faraday-patron (1.0.0)
34
- faraday-rack (1.0.0)
35
- hashie (4.1.0)
36
- jwt (2.3.0)
37
- method_source (1.0.0)
38
- multi_json (1.15.0)
39
- multi_xml (0.6.0)
40
- multipart-post (2.1.1)
41
- oauth2 (1.4.7)
42
- faraday (>= 0.8, < 2.0)
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
24
+ hashie (5.0.0)
25
+ json (2.7.2)
26
+ jwt (2.9.3)
27
+ base64
28
+ language_server-protocol (3.17.0.3)
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
36
+ oauth2 (2.0.9)
37
+ faraday (>= 0.17.3, < 3.0)
43
38
  jwt (>= 1.0, < 3.0)
44
- multi_json (~> 1.3)
45
39
  multi_xml (~> 0.5)
46
- rack (>= 1.2, < 3)
47
- omniauth (2.0.4)
40
+ rack (>= 1.2, < 4)
41
+ snaky_hash (~> 2.0)
42
+ version_gem (~> 1.1)
43
+ omniauth (2.1.2)
48
44
  hashie (>= 3.4.6)
49
- rack (>= 1.6.2, < 3)
45
+ rack (>= 2.2.3)
50
46
  rack-protection
51
- omniauth-oauth2 (1.7.1)
52
- oauth2 (~> 1.4)
53
- omniauth (>= 1.9, < 3)
54
- parallel (1.21.0)
55
- parser (3.0.2.0)
47
+ omniauth-oauth2 (1.8.0)
48
+ oauth2 (>= 1.4, < 3)
49
+ omniauth (~> 2.0)
50
+ parallel (1.26.3)
51
+ parser (3.3.5.0)
56
52
  ast (~> 2.4.1)
57
- pry (0.14.1)
53
+ racc
54
+ pry (0.14.2)
58
55
  coderay (~> 1.1)
59
56
  method_source (~> 1.0)
60
- rack (2.2.3)
61
- rack-protection (2.1.0)
62
- rack
63
- rainbow (3.0.0)
64
- rake (13.0.6)
65
- regexp_parser (2.1.1)
66
- rexml (3.2.5)
67
- rspec (3.10.0)
68
- rspec-core (~> 3.10.0)
69
- rspec-expectations (~> 3.10.0)
70
- rspec-mocks (~> 3.10.0)
71
- rspec-core (3.10.1)
72
- rspec-support (~> 3.10.0)
73
- rspec-expectations (3.10.1)
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)
62
+ rainbow (3.1.1)
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)
74
72
  diff-lcs (>= 1.2.0, < 2.0)
75
- rspec-support (~> 3.10.0)
76
- rspec-mocks (3.10.2)
73
+ rspec-support (~> 3.13.0)
74
+ rspec-mocks (3.13.2)
77
75
  diff-lcs (>= 1.2.0, < 2.0)
78
- rspec-support (~> 3.10.0)
79
- rspec-support (3.10.2)
80
- rubocop (1.22.3)
76
+ rspec-support (~> 3.13.0)
77
+ rspec-support (3.13.1)
78
+ rubocop (1.66.1)
79
+ json (~> 2.3)
80
+ language_server-protocol (>= 3.17.0)
81
81
  parallel (~> 1.10)
82
- parser (>= 3.0.0.0)
82
+ parser (>= 3.3.0.2)
83
83
  rainbow (>= 2.2.2, < 4.0)
84
- regexp_parser (>= 1.8, < 3.0)
85
- rexml
86
- rubocop-ast (>= 1.12.0, < 2.0)
84
+ regexp_parser (>= 2.4, < 3.0)
85
+ rubocop-ast (>= 1.32.2, < 2.0)
87
86
  ruby-progressbar (~> 1.7)
88
- unicode-display_width (>= 1.4.0, < 3.0)
89
- rubocop-ast (1.12.0)
90
- parser (>= 3.0.1.1)
91
- rubocop-performance (1.11.5)
92
- rubocop (>= 1.7.0, < 2.0)
93
- rubocop-ast (>= 0.4.0)
94
- ruby-progressbar (1.11.0)
95
- ruby2_keywords (0.0.5)
96
- simplecov (0.21.2)
87
+ unicode-display_width (>= 2.4.0, < 3.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)
93
+ ruby-progressbar (1.13.0)
94
+ simplecov (0.22.0)
97
95
  docile (~> 1.1)
98
96
  simplecov-html (~> 0.11)
99
97
  simplecov_json_formatter (~> 0.1)
100
- simplecov-html (0.12.3)
101
- simplecov_json_formatter (0.1.3)
102
- standard (1.4.0)
103
- rubocop (= 1.22.3)
104
- rubocop-performance (= 1.11.5)
105
- unicode-display_width (2.1.0)
98
+ simplecov-html (0.13.1)
99
+ simplecov_json_formatter (0.1.4)
100
+ snaky_hash (2.0.1)
101
+ hashie
102
+ version_gem (~> 1.1, >= 1.1.1)
103
+ standard (1.41.1)
104
+ language_server-protocol (~> 3.17.0.2)
105
+ lint_roller (~> 1.0)
106
+ rubocop (~> 1.66.0)
107
+ standard-custom (~> 1.0.0)
108
+ standard-performance (~> 1.5)
109
+ standard-custom (1.0.2)
110
+ lint_roller (~> 1.0)
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)
106
118
 
107
119
  PLATFORMS
120
+ aarch64-linux
121
+ arm64-darwin
108
122
  ruby
123
+ x86_64-darwin
124
+ x86_64-linux
109
125
 
110
126
  DEPENDENCIES
111
127
  awesome_print
128
+ bigdecimal
112
129
  bundler
113
130
  omniauth-eve_online-sso!
114
131
  pry
@@ -118,4 +135,4 @@ DEPENDENCIES
118
135
  standard
119
136
 
120
137
  BUNDLED WITH
121
- 2.2.29
138
+ 2.5.22
data/LICENSE.txt CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2016-2020 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
data/README.md CHANGED
@@ -1,7 +1,6 @@
1
1
  # OmniAuth EveOnline SSO
2
2
 
3
3
  [![Gem Version](https://img.shields.io/gem/v/omniauth-eve_online-sso.svg)](https://rubygems.org/gems/omniauth-eve_online-sso)
4
- [![security](https://hakiri.io/github/evemonk/omniauth-eve_online-sso/master.svg)](https://hakiri.io/github/evemonk/omniauth-eve_online-sso/main)
5
4
 
6
5
  Eve Online OAuth2 Strategy for OmniAuth.
7
6
 
@@ -42,78 +41,78 @@ Note: scopes should be separated by spaces. E.g. `'esi-fleets.read_fleet.v1 esi-
42
41
 
43
42
  ## Scopes
44
43
 
45
- |Scope|Description|
46
- |-----|-----------|
47
- |publicData|Allows access to public data.|
48
- |esi-alliances.read_contacts.v1|Allows reading of an alliance's contact list and standings|
49
- |esi-assets.read_assets.v1|Allows reading a list of assets that the character owns|
50
- |esi-assets.read_corporation_assets.v1|Allows reading of a character's corporation's assets, if the character has roles to do so.|
51
- |esi-bookmarks.read_character_bookmarks.v1|Allows reading of a character's bookmarks and bookmark folders|
52
- |esi-bookmarks.read_corporation_bookmarks.v1|Allows reading of a corporations's bookmarks and bookmark folders|
53
- |esi-calendar.read_calendar_events.v1|Allows reading a character's calendar, including corporation events|
54
- |esi-calendar.respond_calendar_events.v1|Allows updating of a character's calendar event responses|
55
- |esi-characters.read_agents_research.v1|Allows reading a character's research status with agents|
56
- |esi-characters.read_blueprints.v1|Allows reading a character's blueprints|
57
- |esi-characters.read_chat_channels.v1|Allows reading a character's chat channels|
58
- |esi-characters.read_contacts.v1|Allows reading of a characters contacts list, and calculation of CSPA charges|
59
- |esi-characters.read_corporation_roles.v1|Allows reading the character's corporation roles|
60
- |esi-characters.read_fatigue.v1|Allows reading a character's jump fatigue information|
61
- |esi-characters.read_fw_stats.v1|Allows reading of a character's faction warfare statistics|
62
- |esi-characters.read_loyalty.v1|Allows reading a character's loyalty points|
63
- |esi-characters.read_medals.v1|Allows reading a character's medals|
64
- |esi-characters.read_notifications.v1|Allows reading a character's pending contact notifications|
65
- |esi-characters.read_opportunities.v1|Allows reading opportunities of a character|
66
- |esi-characters.read_standings.v1|Allows reading a character's standings|
67
- |esi-characters.read_titles.v1|Allows reading titles given to a character|
68
- |esi-characters.write_contacts.v1|Allows management of contacts|
69
- |esi-characterstats.read.v1|Allows reading a characters aggregated statistics from the past year.|
70
- |esi-clones.read_clones.v1|Allows reading the locations of a character's jump clones and their implants.|
71
- |esi-clones.read_implants.v1|Allows reading a character's active clone's implants|
72
- |esi-contracts.read_character_contracts.v1|Allows reading a character's contracts|
73
- |esi-contracts.read_corporation_contracts.v1|Allows reading a corporation's contracts|
74
- |esi-corporations.read_blueprints.v1|Allows reading a corporation's blueprints|
75
- |esi-corporations.read_contacts.v1|Allows reading of a character's corporation's contacts, if the character has roles to do so.|
76
- |esi-corporations.read_container_logs.v1|Allows reading of a corporation's ALSC logs|
77
- |esi-corporations.read_corporation_membership.v1|Allows reading a list of the ID's and roles of a character's fellow corporation members|
78
- |esi-corporations.read_divisions.v1|Allows reading of a character's corporation's division names, if the character has roles to do so.|
79
- |esi-corporations.read_facilities.v1|Allows reading a corporation's facilities|
80
- |esi-corporations.read_fw_stats.v1|Allows reading of a corporation's faction warfare statistics|
81
- |esi-corporations.read_medals.v1|Allows reading medals created and issued by a corporation|
82
- |esi-corporations.read_standings.v1|Allows reading a corporation's standings|
83
- |esi-corporations.read_starbases.v1|Allows reading of a character's corporation's starbase (POS) information, if the character has roles to do so.|
84
- |esi-corporations.read_structures.v1|Allows reading a character's corporation's structure information|
85
- |esi-corporations.read_titles.v1|Allows reading of a character's corporation's titles, if the character has roles to do so.|
86
- |esi-corporations.track_members.v1|Allows tracking members' activities in a corporation|
87
- |esi-fittings.read_fittings.v1|Allows reading information about fittings|
88
- |esi-fittings.write_fittings.v1|Allows manipulating fittings|
89
- |esi-fleets.read_fleet.v1|Allows reading information about fleets|
90
- |esi-fleets.write_fleet.v1|Allows manipulating fleets|
91
- |esi-industry.read_character_jobs.v1|Allows reading a character's industry jobs|
92
- |esi-industry.read_character_mining.v1|Allows reading a character's personal mining activity|
93
- |esi-industry.read_corporation_jobs.v1|Allows reading of a character's corporation's industry jobs, if the character has roles to do so.|
94
- |esi-industry.read_corporation_mining.v1|Allows reading and observing a corporation's mining activity|
95
- |esi-killmails.read_corporation_killmails.v1|Allows reading of a corporation's kills and losses|
96
- |esi-killmails.read_killmails.v1|Allows reading of a character's kills and losses|
97
- |esi-location.read_location.v1|Allows reading of a character's active ship location|
98
- |esi-location.read_online.v1|Allows reading a character's online status|
99
- |esi-location.read_ship_type.v1|Allows reading of a character's active ship class|
100
- |esi-mail.organize_mail.v1|Allows updating the character's mail labels and unread status. Also allows deleting of the character's mail.|
101
- |esi-mail.read_mail.v1|Allows reading of the character's inbox and mails.|
102
- |esi-mail.send_mail.v1|Allows sending of mail on the character's behalf.|
103
- |esi-markets.read_character_orders.v1|Allows reading a character's market orders|
104
- |esi-markets.read_corporation_orders.v1|Allows reading of a character's corporation's market orders, if the character has roles to do so.|
105
- |esi-markets.structure_markets.v1|Allows reading market data from a structure, if the user has market access to that structure|
106
- |esi-planets.manage_planets.v1|Allows reading a list of a characters planetary colonies, and the details of those colonies|
107
- |esi-planets.read_customs_offices.v1|Allow reading of corporation owned customs offices|
108
- |esi-search.search_structures.v1|Allows searching over all structures that a character can see in the structure browser.|
109
- |esi-skills.read_skillqueue.v1|Allows reading of a character's currently training skill queue.|
110
- |esi-skills.read_skills.v1|Allows reading of a character's currently known skills.|
111
- |esi-ui.open_window.v1|Allows open window in game client remotely|
112
- |esi-ui.write_waypoint.v1|Allows manipulating waypoints in game client remotely|
113
- |esi-universe.read_structures.v1|Allows querying the location and type of structures that the character has docking access at.|
114
- |esi-wallet.read_character_wallet.v1|Allows reading of a character's wallet, journal and transaction history.|
115
- |esi-wallet.read_corporation_wallet.v1|EVE Mobile legacy scope|
116
- |esi-wallet.read_corporation_wallets.v1|Allows reading of a character's corporation's wallets, journal and transaction history, if the character has roles to do so.|
44
+ | Scope | Description |
45
+ |-------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------|
46
+ | publicData | Allows access to public data. |
47
+ | esi-alliances.read_contacts.v1 | Allows reading of an alliance's contact list and standings |
48
+ | esi-assets.read_assets.v1 | Allows reading a list of assets that the character owns |
49
+ | esi-assets.read_corporation_assets.v1 | Allows reading of a character's corporation's assets, if the character has roles to do so. |
50
+ | esi-bookmarks.read_character_bookmarks.v1 | Allows reading of a character's bookmarks and bookmark folders |
51
+ | esi-bookmarks.read_corporation_bookmarks.v1 | Allows reading of a corporations's bookmarks and bookmark folders |
52
+ | esi-calendar.read_calendar_events.v1 | Allows reading a character's calendar, including corporation events |
53
+ | esi-calendar.respond_calendar_events.v1 | Allows updating of a character's calendar event responses |
54
+ | esi-characters.read_agents_research.v1 | Allows reading a character's research status with agents |
55
+ | esi-characters.read_blueprints.v1 | Allows reading a character's blueprints |
56
+ | esi-characters.read_chat_channels.v1 | Allows reading a character's chat channels |
57
+ | esi-characters.read_contacts.v1 | Allows reading of a characters contacts list, and calculation of CSPA charges |
58
+ | esi-characters.read_corporation_roles.v1 | Allows reading the character's corporation roles |
59
+ | esi-characters.read_fatigue.v1 | Allows reading a character's jump fatigue information |
60
+ | esi-characters.read_fw_stats.v1 | Allows reading of a character's faction warfare statistics |
61
+ | esi-characters.read_loyalty.v1 | Allows reading a character's loyalty points |
62
+ | esi-characters.read_medals.v1 | Allows reading a character's medals |
63
+ | esi-characters.read_notifications.v1 | Allows reading a character's pending contact notifications |
64
+ | esi-characters.read_opportunities.v1 | Allows reading opportunities of a character |
65
+ | esi-characters.read_standings.v1 | Allows reading a character's standings |
66
+ | esi-characters.read_titles.v1 | Allows reading titles given to a character |
67
+ | esi-characters.write_contacts.v1 | Allows management of contacts |
68
+ | esi-characterstats.read.v1 | Allows reading a characters aggregated statistics from the past year. |
69
+ | esi-clones.read_clones.v1 | Allows reading the locations of a character's jump clones and their implants. |
70
+ | esi-clones.read_implants.v1 | Allows reading a character's active clone's implants |
71
+ | esi-contracts.read_character_contracts.v1 | Allows reading a character's contracts |
72
+ | esi-contracts.read_corporation_contracts.v1 | Allows reading a corporation's contracts |
73
+ | esi-corporations.read_blueprints.v1 | Allows reading a corporation's blueprints |
74
+ | esi-corporations.read_contacts.v1 | Allows reading of a character's corporation's contacts, if the character has roles to do so. |
75
+ | esi-corporations.read_container_logs.v1 | Allows reading of a corporation's ALSC logs |
76
+ | esi-corporations.read_corporation_membership.v1 | Allows reading a list of the ID's and roles of a character's fellow corporation members |
77
+ | esi-corporations.read_divisions.v1 | Allows reading of a character's corporation's division names, if the character has roles to do so. |
78
+ | esi-corporations.read_facilities.v1 | Allows reading a corporation's facilities |
79
+ | esi-corporations.read_fw_stats.v1 | Allows reading of a corporation's faction warfare statistics |
80
+ | esi-corporations.read_medals.v1 | Allows reading medals created and issued by a corporation |
81
+ | esi-corporations.read_standings.v1 | Allows reading a corporation's standings |
82
+ | esi-corporations.read_starbases.v1 | Allows reading of a character's corporation's starbase (POS) information, if the character has roles to do so. |
83
+ | esi-corporations.read_structures.v1 | Allows reading a character's corporation's structure information |
84
+ | esi-corporations.read_titles.v1 | Allows reading of a character's corporation's titles, if the character has roles to do so. |
85
+ | esi-corporations.track_members.v1 | Allows tracking members' activities in a corporation |
86
+ | esi-fittings.read_fittings.v1 | Allows reading information about fittings |
87
+ | esi-fittings.write_fittings.v1 | Allows manipulating fittings |
88
+ | esi-fleets.read_fleet.v1 | Allows reading information about fleets |
89
+ | esi-fleets.write_fleet.v1 | Allows manipulating fleets |
90
+ | esi-industry.read_character_jobs.v1 | Allows reading a character's industry jobs |
91
+ | esi-industry.read_character_mining.v1 | Allows reading a character's personal mining activity |
92
+ | esi-industry.read_corporation_jobs.v1 | Allows reading of a character's corporation's industry jobs, if the character has roles to do so. |
93
+ | esi-industry.read_corporation_mining.v1 | Allows reading and observing a corporation's mining activity |
94
+ | esi-killmails.read_corporation_killmails.v1 | Allows reading of a corporation's kills and losses |
95
+ | esi-killmails.read_killmails.v1 | Allows reading of a character's kills and losses |
96
+ | esi-location.read_location.v1 | Allows reading of a character's active ship location |
97
+ | esi-location.read_online.v1 | Allows reading a character's online status |
98
+ | esi-location.read_ship_type.v1 | Allows reading of a character's active ship class |
99
+ | esi-mail.organize_mail.v1 | Allows updating the character's mail labels and unread status. Also allows deleting of the character's mail. |
100
+ | esi-mail.read_mail.v1 | Allows reading of the character's inbox and mails. |
101
+ | esi-mail.send_mail.v1 | Allows sending of mail on the character's behalf. |
102
+ | esi-markets.read_character_orders.v1 | Allows reading a character's market orders |
103
+ | esi-markets.read_corporation_orders.v1 | Allows reading of a character's corporation's market orders, if the character has roles to do so. |
104
+ | esi-markets.structure_markets.v1 | Allows reading market data from a structure, if the user has market access to that structure |
105
+ | esi-planets.manage_planets.v1 | Allows reading a list of a characters planetary colonies, and the details of those colonies |
106
+ | esi-planets.read_customs_offices.v1 | Allow reading of corporation owned customs offices |
107
+ | esi-search.search_structures.v1 | Allows searching over all structures that a character can see in the structure browser. |
108
+ | esi-skills.read_skillqueue.v1 | Allows reading of a character's currently training skill queue. |
109
+ | esi-skills.read_skills.v1 | Allows reading of a character's currently known skills. |
110
+ | esi-ui.open_window.v1 | Allows open window in game client remotely |
111
+ | esi-ui.write_waypoint.v1 | Allows manipulating waypoints in game client remotely |
112
+ | esi-universe.read_structures.v1 | Allows querying the location and type of structures that the character has docking access at. |
113
+ | esi-wallet.read_character_wallet.v1 | Allows reading of a character's wallet, journal and transaction history. |
114
+ | esi-wallet.read_corporation_wallet.v1 | EVE Mobile legacy scope |
115
+ | esi-wallet.read_corporation_wallets.v1 | Allows reading of a character's corporation's wallets, journal and transaction history, if the character has roles to do so. |
117
116
 
118
117
  ## Development
119
118
 
@@ -3,7 +3,7 @@
3
3
  module Omniauth
4
4
  module EveOnline
5
5
  module SSO
6
- VERSION = "0.5.0"
6
+ VERSION = "0.7.0"
7
7
  end
8
8
  end
9
9
  end
@@ -34,7 +34,7 @@ module OmniAuth
34
34
 
35
35
  def raw_info
36
36
  @raw_info ||= JWT.decode(access_token.token, nil, false)
37
- .find { |element| element.keys.include?("scp") }.tap do |hash|
37
+ .find { |element| element.key?("scp") }.tap do |hash|
38
38
  hash["character_id"] = hash["sub"].split(":")[-1]
39
39
  hash["scopes"] = [*hash["scp"]].join(" ")
40
40
  hash["token_type"] = hash["sub"].split(":")[0].capitalize
@@ -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"
@@ -15,10 +15,19 @@ Gem::Specification.new do |spec|
15
15
  spec.homepage = "https://github.com/evemonk/omniauth-eve_online-sso"
16
16
  spec.license = "MIT"
17
17
 
18
+ spec.metadata = {
19
+ "rubygems_mfa_required" => "true",
20
+ "bug_tracker_uri" => "https://github.com/evemonk/omniauth-eve_online-sso/issues",
21
+ "changelog_uri" => "https://github.com/evemonk/omniauth-eve_online-sso/blob/main/CHANGELOG.md",
22
+ "documentation_uri" => "https://github.com/evemonk/omniauth-eve_online-sso/blob/main/README.md",
23
+ "homepage_uri" => "https://github.com/evemonk/omniauth-eve_online-sso",
24
+ "source_code_uri" => "https://github.com/evemonk/omniauth-eve_online-sso"
25
+ }
26
+
18
27
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
19
28
  spec.require_paths = ["lib"]
20
29
 
21
- spec.required_ruby_version = ">= 2.6"
30
+ spec.required_ruby_version = ">= 3.2"
22
31
 
23
32
  spec.add_dependency "omniauth-oauth2"
24
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.5.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: 2021-11-12 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
@@ -102,15 +102,17 @@ extensions: []
102
102
  extra_rdoc_files: []
103
103
  files:
104
104
  - ".github/CODEOWNERS"
105
- - ".github/FUNDING.yml"
106
105
  - ".github/dependabot.yml"
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
@@ -126,7 +128,13 @@ files:
126
128
  homepage: https://github.com/evemonk/omniauth-eve_online-sso
127
129
  licenses:
128
130
  - MIT
129
- metadata: {}
131
+ metadata:
132
+ rubygems_mfa_required: 'true'
133
+ bug_tracker_uri: https://github.com/evemonk/omniauth-eve_online-sso/issues
134
+ changelog_uri: https://github.com/evemonk/omniauth-eve_online-sso/blob/main/CHANGELOG.md
135
+ documentation_uri: https://github.com/evemonk/omniauth-eve_online-sso/blob/main/README.md
136
+ homepage_uri: https://github.com/evemonk/omniauth-eve_online-sso
137
+ source_code_uri: https://github.com/evemonk/omniauth-eve_online-sso
130
138
  post_install_message:
131
139
  rdoc_options: []
132
140
  require_paths:
@@ -135,14 +143,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
135
143
  requirements:
136
144
  - - ">="
137
145
  - !ruby/object:Gem::Version
138
- version: '2.6'
146
+ version: '3.2'
139
147
  required_rubygems_version: !ruby/object:Gem::Requirement
140
148
  requirements:
141
149
  - - ">="
142
150
  - !ruby/object:Gem::Version
143
151
  version: '0'
144
152
  requirements: []
145
- rubygems_version: 3.2.31
153
+ rubygems_version: 3.5.22
146
154
  signing_key:
147
155
  specification_version: 4
148
156
  summary: OmniAuth strategy for EveOnline SSO
data/.github/FUNDING.yml DELETED
@@ -1 +0,0 @@
1
- github: biow0lf
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