omniauth-eve_online-sso 0.5.0 → 0.6.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: c6c7b6a016b1271879ff1cf577448b6b9cfb7002eeeb17d08d448415f0de6584
4
+ data.tar.gz: 28c5877b96329936fe62fbd4c9fe91afe9fb3e18c719ad872d77190f34496287
5
5
  SHA512:
6
- metadata.gz: 4c78bdfcd4bcf3f5f8371331038a00e8c01d24650c6fc4f0a1442317b755a0952ed60ea72bb308358f0cd34c23d5bb64c607b99ee6701e917e3f8166d5264edc
7
- data.tar.gz: b45b7f207aaced15b55fdd3b8be36af4105f6b5d8ba412dac5dc7d47aba7f1f66c85eb494ea42b4d62084742b5fcfc4fb613519e5dd60144a8a1e390558344f3
6
+ metadata.gz: 9b65efe196382906b911446d59b5380a9b5054a15f8bc6570876d7990446664ca9171402816403c370e23ac3d4e2070ca0c8326dec748990b1a667a0cce2285c
7
+ data.tar.gz: 7cc92be704dd9d462ee03d73e550d64a6bcb64beb0eb86a44a70c6b685131f671dfdccf956601105285b26ecd12a2afed94c7b7889ae672dbeb7a237338370f7
@@ -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,44 @@
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
+ jobs:
14
+ analyze:
15
+ name: Analyze
16
+ runs-on: ubuntu-latest
17
+ permissions:
18
+ actions: read
19
+ contents: read
20
+ security-events: write
21
+
22
+ strategy:
23
+ fail-fast: false
24
+ matrix:
25
+ # CodeQL supports [ "cpp", "csharp", "go", "java", "javascript", "python", "ruby" ]
26
+ # Learn more about CodeQL language support at https://git.io/codeql-language-support
27
+ language:
28
+ - "ruby"
29
+
30
+ steps:
31
+ - name: Checkout repository
32
+ uses: actions/checkout@v3
33
+
34
+ # Initializes the CodeQL tools for scanning.
35
+ - name: Initialize CodeQL
36
+ uses: github/codeql-action/init@v2
37
+ with:
38
+ languages: ${{ matrix.language }}
39
+
40
+ - name: Autobuild
41
+ uses: github/codeql-action/autobuild@v2
42
+
43
+ - name: Perform CodeQL Analysis
44
+ uses: github/codeql-action/analyze@v2
@@ -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@v3
19
+ - uses: bewuethr/mdl-action@v1.1.2
data/.rubocop.yml CHANGED
@@ -1,5 +1,5 @@
1
1
  AllCops:
2
- TargetRubyVersion: 2.6
2
+ TargetRubyVersion: 2.7
3
3
  DisplayStyleGuide: true
4
4
  NewCops: enable
5
5
 
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 3.0.2
1
+ 3.2.2
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## v0.6.0
4
+
5
+ * Required ruby version >= 2.7
6
+
3
7
  ## v0.5.0
4
8
 
5
9
  * Fix error when decoding OAuth2 tokens containing a single scope
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.6.0)
5
5
  jwt
6
6
  omniauth-oauth2
7
7
 
@@ -11,98 +11,100 @@ GEM
11
11
  ast (2.4.2)
12
12
  awesome_print (1.9.2)
13
13
  coderay (1.1.3)
14
- diff-lcs (1.4.4)
14
+ diff-lcs (1.5.0)
15
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)
16
+ faraday (2.7.6)
17
+ faraday-net_http (>= 2.0, < 3.1)
26
18
  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)
19
+ faraday-net_http (3.0.2)
20
+ hashie (5.0.0)
21
+ json (2.6.3)
22
+ jwt (2.7.1)
23
+ language_server-protocol (3.17.0.3)
24
+ lint_roller (1.0.0)
37
25
  method_source (1.0.0)
38
- multi_json (1.15.0)
39
26
  multi_xml (0.6.0)
40
- multipart-post (2.1.1)
41
- oauth2 (1.4.7)
42
- faraday (>= 0.8, < 2.0)
27
+ oauth2 (2.0.9)
28
+ faraday (>= 0.17.3, < 3.0)
43
29
  jwt (>= 1.0, < 3.0)
44
- multi_json (~> 1.3)
45
30
  multi_xml (~> 0.5)
46
- rack (>= 1.2, < 3)
47
- omniauth (2.0.4)
31
+ rack (>= 1.2, < 4)
32
+ snaky_hash (~> 2.0)
33
+ version_gem (~> 1.1)
34
+ omniauth (2.1.1)
48
35
  hashie (>= 3.4.6)
49
- rack (>= 1.6.2, < 3)
36
+ rack (>= 2.2.3)
50
37
  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)
38
+ omniauth-oauth2 (1.8.0)
39
+ oauth2 (>= 1.4, < 3)
40
+ omniauth (~> 2.0)
41
+ parallel (1.23.0)
42
+ parser (3.2.2.3)
56
43
  ast (~> 2.4.1)
57
- pry (0.14.1)
44
+ racc
45
+ pry (0.14.2)
58
46
  coderay (~> 1.1)
59
47
  method_source (~> 1.0)
60
- rack (2.2.3)
61
- rack-protection (2.1.0)
48
+ racc (1.7.1)
49
+ rack (3.0.8)
50
+ rack-protection (3.0.6)
62
51
  rack
63
- rainbow (3.0.0)
52
+ rainbow (3.1.1)
64
53
  rake (13.0.6)
65
- regexp_parser (2.1.1)
54
+ regexp_parser (2.8.1)
66
55
  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)
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)
74
63
  diff-lcs (>= 1.2.0, < 2.0)
75
- rspec-support (~> 3.10.0)
76
- rspec-mocks (3.10.2)
64
+ rspec-support (~> 3.12.0)
65
+ rspec-mocks (3.12.5)
77
66
  diff-lcs (>= 1.2.0, < 2.0)
78
- rspec-support (~> 3.10.0)
79
- rspec-support (3.10.2)
80
- rubocop (1.22.3)
67
+ rspec-support (~> 3.12.0)
68
+ rspec-support (3.12.0)
69
+ rubocop (1.52.1)
70
+ json (~> 2.3)
81
71
  parallel (~> 1.10)
82
- parser (>= 3.0.0.0)
72
+ parser (>= 3.2.2.3)
83
73
  rainbow (>= 2.2.2, < 4.0)
84
74
  regexp_parser (>= 1.8, < 3.0)
85
- rexml
86
- rubocop-ast (>= 1.12.0, < 2.0)
75
+ rexml (>= 3.2.5, < 4.0)
76
+ rubocop-ast (>= 1.28.0, < 2.0)
87
77
  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)
78
+ 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)
92
82
  rubocop (>= 1.7.0, < 2.0)
93
83
  rubocop-ast (>= 0.4.0)
94
- ruby-progressbar (1.11.0)
84
+ ruby-progressbar (1.13.0)
95
85
  ruby2_keywords (0.0.5)
96
- simplecov (0.21.2)
86
+ simplecov (0.22.0)
97
87
  docile (~> 1.1)
98
88
  simplecov-html (~> 0.11)
99
89
  simplecov_json_formatter (~> 0.1)
100
90
  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)
91
+ simplecov_json_formatter (0.1.4)
92
+ snaky_hash (2.0.1)
93
+ hashie
94
+ version_gem (~> 1.1, >= 1.1.1)
95
+ standard (1.29.0)
96
+ language_server-protocol (~> 3.17.0.2)
97
+ lint_roller (~> 1.0)
98
+ rubocop (~> 1.52.0)
99
+ standard-custom (~> 1.0.0)
100
+ standard-performance (~> 1.1.0)
101
+ standard-custom (1.0.1)
102
+ 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)
106
108
 
107
109
  PLATFORMS
108
110
  ruby
@@ -118,4 +120,4 @@ DEPENDENCIES
118
120
  standard
119
121
 
120
122
  BUNDLED WITH
121
- 2.2.29
123
+ 2.4.14
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-2022 Igor 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.6.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
@@ -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 = ">= 2.7"
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.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Igor Zubkov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-11-12 00:00:00.000000000 Z
11
+ date: 2023-06-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: omniauth-oauth2
@@ -102,8 +102,8 @@ 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
107
  - ".github/workflows/mdl.yml"
108
108
  - ".gitignore"
109
109
  - ".mdlrc"
@@ -126,7 +126,13 @@ files:
126
126
  homepage: https://github.com/evemonk/omniauth-eve_online-sso
127
127
  licenses:
128
128
  - MIT
129
- metadata: {}
129
+ metadata:
130
+ rubygems_mfa_required: 'true'
131
+ bug_tracker_uri: https://github.com/evemonk/omniauth-eve_online-sso/issues
132
+ changelog_uri: https://github.com/evemonk/omniauth-eve_online-sso/blob/main/CHANGELOG.md
133
+ documentation_uri: https://github.com/evemonk/omniauth-eve_online-sso/blob/main/README.md
134
+ homepage_uri: https://github.com/evemonk/omniauth-eve_online-sso
135
+ source_code_uri: https://github.com/evemonk/omniauth-eve_online-sso
130
136
  post_install_message:
131
137
  rdoc_options: []
132
138
  require_paths:
@@ -135,14 +141,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
135
141
  requirements:
136
142
  - - ">="
137
143
  - !ruby/object:Gem::Version
138
- version: '2.6'
144
+ version: '2.7'
139
145
  required_rubygems_version: !ruby/object:Gem::Requirement
140
146
  requirements:
141
147
  - - ">="
142
148
  - !ruby/object:Gem::Version
143
149
  version: '0'
144
150
  requirements: []
145
- rubygems_version: 3.2.31
151
+ rubygems_version: 3.4.14
146
152
  signing_key:
147
153
  specification_version: 4
148
154
  summary: OmniAuth strategy for EveOnline SSO
data/.github/FUNDING.yml DELETED
@@ -1 +0,0 @@
1
- github: biow0lf