omniauth-eve_online-sso 0.1.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 +7 -0
- data/.gitignore +14 -0
- data/.rspec +2 -0
- data/.rubocop.yml +148 -0
- data/.rubocop_todo.yml +0 -0
- data/.travis.yml +18 -0
- data/Gemfile +8 -0
- data/LICENSE.txt +21 -0
- data/README.md +145 -0
- data/Rakefile +6 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/lib/omniauth-eve_online-sso.rb +2 -0
- data/lib/omniauth/eve_online/sso/version.rb +7 -0
- data/lib/omniauth/strategies/eve_online_sso.rb +36 -0
- data/omniauth-eve_online-sso.gemspec +28 -0
- metadata +143 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: e1b0781cfda49e4982e2f3e32738c19398223a6a
|
4
|
+
data.tar.gz: 22a2c5a7171f2fd78e50be64c09a6992f8eff3fc
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: a6e7dc7040072bf77dffd1b0e7079d52849ab49bb4725b7ca01bf0aa2fae88a7dccc587534523161acbc82182bab8d6db59a7def883c8a59b5683574528384ce
|
7
|
+
data.tar.gz: cc21decff096499b3f2068debe1b2d8ddbea9965940f0d342dd3d00a648e290ef4e9821cd9371f71ce9920806768b50116477bd0fac675aa35b5dbbb27d86a5b
|
data/.gitignore
ADDED
data/.rspec
ADDED
data/.rubocop.yml
ADDED
@@ -0,0 +1,148 @@
|
|
1
|
+
require: rubocop-thread_safety
|
2
|
+
#require: rubocop-rspec
|
3
|
+
|
4
|
+
inherit_from: .rubocop_todo.yml
|
5
|
+
|
6
|
+
AllCops:
|
7
|
+
TargetRubyVersion: 1.9
|
8
|
+
DisplayCopNames: true
|
9
|
+
DisplayStyleGuide: true
|
10
|
+
|
11
|
+
Rails:
|
12
|
+
Enabled: false
|
13
|
+
|
14
|
+
# Allow block comments
|
15
|
+
Style/BlockComments:
|
16
|
+
Enabled: false
|
17
|
+
|
18
|
+
# Disable
|
19
|
+
Style/Documentation:
|
20
|
+
Enabled: false
|
21
|
+
|
22
|
+
Layout/DotPosition:
|
23
|
+
Enabled: true
|
24
|
+
EnforcedStyle: leading
|
25
|
+
|
26
|
+
Style/FrozenStringLiteralComment:
|
27
|
+
Enabled: true
|
28
|
+
EnforcedStyle: never
|
29
|
+
|
30
|
+
# Recheck this cop later
|
31
|
+
Style/FlipFlop:
|
32
|
+
Description: 'Checks for flip flops'
|
33
|
+
StyleGuide: '#no-flip-flops'
|
34
|
+
Enabled: true
|
35
|
+
|
36
|
+
# Recheck this cop later
|
37
|
+
Style/RedundantException:
|
38
|
+
Description: "Checks for an obsolete RuntimeException argument in raise/fail."
|
39
|
+
StyleGuide: '#no-explicit-runtimeerror'
|
40
|
+
Enabled: true
|
41
|
+
|
42
|
+
# Recheck this cop later
|
43
|
+
Style/SafeNavigation:
|
44
|
+
Description: >-
|
45
|
+
This cop transforms usages of a method call safeguarded by
|
46
|
+
a check for the existance of the object to
|
47
|
+
safe navigation (`&.`).
|
48
|
+
Enabled: true
|
49
|
+
|
50
|
+
# Recheck this cop later
|
51
|
+
Style/SignalException:
|
52
|
+
Description: 'Checks for proper usage of fail and raise.'
|
53
|
+
StyleGuide: '#prefer-raise-over-fail'
|
54
|
+
Enabled: true
|
55
|
+
|
56
|
+
# Enable with EnforcedStyle is space
|
57
|
+
Layout/SpaceInsideStringInterpolation:
|
58
|
+
EnforcedStyle: space
|
59
|
+
Enabled: true
|
60
|
+
|
61
|
+
# Enable with EnforcedStyle is single_quotes
|
62
|
+
Style/StringLiterals:
|
63
|
+
EnforcedStyle: single_quotes
|
64
|
+
Enabled: true
|
65
|
+
|
66
|
+
# Limit lines to 80 characters
|
67
|
+
Metrics/LineLength:
|
68
|
+
Enabled: false
|
69
|
+
|
70
|
+
# TimeZone stuff
|
71
|
+
Rails/TimeZone:
|
72
|
+
EnforcedStyle: strict
|
73
|
+
Enabled: true
|
74
|
+
|
75
|
+
# Identifies possible cases where Active Record save! or related should be used.
|
76
|
+
Rails/SaveBang:
|
77
|
+
Enabled: true
|
78
|
+
|
79
|
+
# Suggests the usage of an auto resource cleanup version of a method (if available)
|
80
|
+
Style/AutoResourceCleanup:
|
81
|
+
Enabled: true
|
82
|
+
|
83
|
+
# Preferred collection methods
|
84
|
+
Style/CollectionMethods:
|
85
|
+
Enabled: true
|
86
|
+
|
87
|
+
# Use UTF-8 as the source file encoding
|
88
|
+
Style/Encoding:
|
89
|
+
Enabled: true
|
90
|
+
|
91
|
+
# Use `raise` or `fail` with an explicit exception class and
|
92
|
+
# message, rather than just a message.
|
93
|
+
Style/ImplicitRuntimeError:
|
94
|
+
Enabled: true
|
95
|
+
|
96
|
+
# Avoid chaining a method call on a do...end block
|
97
|
+
Style/MethodCalledOnDoEndBlock:
|
98
|
+
Enabled: true
|
99
|
+
|
100
|
+
# Check for a newline after the assignment operator in multi-line assignments
|
101
|
+
Layout/MultilineAssignmentLayout:
|
102
|
+
Enabled: true
|
103
|
+
|
104
|
+
# Just ignore order of gems in Gemfile
|
105
|
+
Bundler/OrderedGems:
|
106
|
+
Enabled: false
|
107
|
+
|
108
|
+
# Use %i or %I for an array of symbols.
|
109
|
+
Style/SymbolArray:
|
110
|
+
Enabled: false
|
111
|
+
|
112
|
+
Style/GuardClause:
|
113
|
+
Enabled: false
|
114
|
+
|
115
|
+
Style/IfUnlessModifier:
|
116
|
+
Enabled: false
|
117
|
+
|
118
|
+
Style/ConditionalAssignment:
|
119
|
+
Enabled: true
|
120
|
+
EnforcedStyle: assign_to_condition
|
121
|
+
|
122
|
+
Style/NegatedIf:
|
123
|
+
Enabled: false
|
124
|
+
|
125
|
+
# rubocop-thread_safety
|
126
|
+
ThreadSafety:
|
127
|
+
Enabled: true
|
128
|
+
|
129
|
+
Style/GlobalVars:
|
130
|
+
Enabled: true
|
131
|
+
|
132
|
+
Style/ClassVars:
|
133
|
+
Enabled: true
|
134
|
+
|
135
|
+
Style/MutableConstant:
|
136
|
+
Enabled: true
|
137
|
+
|
138
|
+
# rubocop-rspec
|
139
|
+
RSpec/NamedSubject:
|
140
|
+
Enabled: false
|
141
|
+
|
142
|
+
RSpec/ImplicitExpect:
|
143
|
+
Enabled: true
|
144
|
+
EnforcedStyle: should
|
145
|
+
|
146
|
+
RSpec/MessageSpies:
|
147
|
+
Enabled: true
|
148
|
+
EnforcedStyle: receive
|
data/.rubocop_todo.yml
ADDED
File without changes
|
data/.travis.yml
ADDED
@@ -0,0 +1,18 @@
|
|
1
|
+
sudo: false
|
2
|
+
language: ruby
|
3
|
+
cache: bundler
|
4
|
+
rvm:
|
5
|
+
- 1.9.3
|
6
|
+
- 2.0
|
7
|
+
- 2.1
|
8
|
+
- 2.2.7
|
9
|
+
- 2.3.4
|
10
|
+
- 2.4.1
|
11
|
+
- ruby-head
|
12
|
+
|
13
|
+
before_install: gem install bundler -v 1.15.4
|
14
|
+
|
15
|
+
script:
|
16
|
+
- bundle exec rake
|
17
|
+
- bundle exec codeclimate-test-reporter
|
18
|
+
- bundle exec rubocop
|
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2016-2017 Igor Zubkov
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,145 @@
|
|
1
|
+
# OmniAuth EveOnline SSO
|
2
|
+
|
3
|
+
Eve Online OAuth2 Strategy for OmniAuth.
|
4
|
+
|
5
|
+
## Installation
|
6
|
+
|
7
|
+
Add this line to your application's Gemfile:
|
8
|
+
|
9
|
+
```ruby
|
10
|
+
gem 'omniauth-eve_online-sso'
|
11
|
+
```
|
12
|
+
|
13
|
+
And then execute:
|
14
|
+
|
15
|
+
$ bundle
|
16
|
+
|
17
|
+
Or install it yourself as:
|
18
|
+
|
19
|
+
$ gem install omniauth-eve_online-sso
|
20
|
+
|
21
|
+
## Usage
|
22
|
+
|
23
|
+
Configure omniauth for use new strategy:
|
24
|
+
|
25
|
+
```ruby
|
26
|
+
Rails.application.config.middleware.use OmniAuth::Builder do
|
27
|
+
provider :eve_online_sso, ENV['EVE_ONLINE_SSO_CLIENT_ID'], ENV['EVE_ONLINE_SSO_SECRET_KEY'], scope: 'publicData'
|
28
|
+
end
|
29
|
+
```
|
30
|
+
|
31
|
+
## Scopes
|
32
|
+
|
33
|
+
Scopes can be one of two types. Old CREST or new ESI. ESI is recommended for all new apps.
|
34
|
+
|
35
|
+
### ESI
|
36
|
+
|
37
|
+
|Scope|Description|
|
38
|
+
|-----|-----------|
|
39
|
+
|esi-assets.read_assets.v1|Allows reading a list of assets that the character owns.|
|
40
|
+
|esi-bookmarks.read_character_bookmarks.v1|Allows reading of a character's bookmarks and bookmark folders.|
|
41
|
+
|esi-calendar.read_calendar_events.v1|Allows reading a character's calendar, including corporation events.|
|
42
|
+
|esi-calendar.respond_calendar_events.v1|Allows updating of a character's calendar event responses.|
|
43
|
+
|esi-characters.read_agents_research.v1|Allows reading a character's research status with agents.|
|
44
|
+
|esi-characters.read_blueprints.v1|Allows reading a character's blueprints.|
|
45
|
+
|esi-characters.read_chat_channels.v1|Allows reading a character's chat channels.|
|
46
|
+
|esi-characters.read_contacts.v1|Allows reading of a characters contacts list, and calculation of CSPA charges.|
|
47
|
+
|esi-characters.read_corporation_roles.v1|Allows reading the character's corporation roles.|
|
48
|
+
|esi-characters.read_fatigue.v1|Allows reading a character's jump fatigue information.|
|
49
|
+
|esi-characters.read_loyalty.v1|Allows reading a character's loyalty points.|
|
50
|
+
|esi-characters.read_medals.v1|Allows reading a character's medals.|
|
51
|
+
|esi-characters.read_opportunities.v1|Allows reading opportunities of a character.|
|
52
|
+
|esi-characters.read_standings.v1|Allows reading a character's standings.|
|
53
|
+
|esi-characters.write_contacts.v1|Allows management of contacts.|
|
54
|
+
|esi-clones.read_clones.v1|Allows reading the locations of a character's jump clones and their implants.|
|
55
|
+
|esi-clones.read_implants.v1|Allows reading a character's active clone's implants.|
|
56
|
+
|esi-contracts.read_character_contracts.v1|Allows reading a character's contracts.|
|
57
|
+
|esi-corporations.read_corporation_membership.v1|Allows reading a list of the ID's and roles of a character's fellow corporation members.|
|
58
|
+
|esi-corporations.read_structures.v1|Allows reading a character's corporation's structure information.|
|
59
|
+
|esi-corporations.write_structures.v1|Allows updating a character's corporation's structure information.|
|
60
|
+
|esi-fittings.read_fittings.v1|Allows reading information about fittings.|
|
61
|
+
|esi-fittings.write_fittings.v1|Allows manipulating fittings.|
|
62
|
+
|esi-fleets.read_fleet.v1|Allows reading information about fleets.|
|
63
|
+
|esi-fleets.write_fleet.v1|Allows manipulating fleets.|
|
64
|
+
|esi-industry.read_character_jobs.v1|Allows reading a character's industry jobs.|
|
65
|
+
|esi-killmails.read_corporation_killmails.v1|Allows reading of a corporation's kills and losses.|
|
66
|
+
|esi-killmails.read_killmails.v1|Allows reading of a character's kills and losses.|
|
67
|
+
|esi-location.read_location.v1|Allows reading of a character's active ship location.|
|
68
|
+
|esi-location.read_online.v1|Allows reading a character's online status.|
|
69
|
+
|esi-location.read_ship_type.v1|Allows reading of a character's active ship class.|
|
70
|
+
|esi-mail.organize_mail.v1|Allows updating the character's mail labels and unread status. Also allows deleting of the character's mail.|
|
71
|
+
|esi-mail.read_mail.v1|Allows reading of the character's inbox and mails.|
|
72
|
+
|esi-mail.send_mail.v1|Allows sending of mail on the character's behalf.|
|
73
|
+
|esi-markets.read_character_orders.v1|Allows reading a character's market orders.|
|
74
|
+
|esi-markets.structure_markets.v1|Allows reading market data from a structure, if the user has market access to that structure.|
|
75
|
+
|esi-planets.manage_planets.v1|Allows reading a list of a characters planetary colonies, and the details of those colonies.|
|
76
|
+
|esi-search.search_structures.v1|Allows searching over all structures that a character can see in the structure browser.|
|
77
|
+
|esi-skills.read_skillqueue.v1|Allows reading of a character's currently training skill queue.|
|
78
|
+
|esi-skills.read_skills.v1|Allows reading of a character's currently known skills.|
|
79
|
+
|esi-ui.open_window.v1|Allows open window in game client remotely.|
|
80
|
+
|esi-ui.write_waypoint.v1|Allows manipulating waypoints in game client remotely.|
|
81
|
+
|esi-universe.read_structures.v1|Allows querying the location and type of structures that the character has docking access at.|
|
82
|
+
|esi-wallet.read_character_wallet.v1|Allows reading of a character's wallet, journal and transaction history.|
|
83
|
+
|
84
|
+
### CREST
|
85
|
+
|
86
|
+
|Scope|Description|
|
87
|
+
|-----|-----------|
|
88
|
+
|characterAccountRead|Read your account subscription status.|
|
89
|
+
|characterAssetsRead|Read your asset list.|
|
90
|
+
|characterBookmarksRead|List your bookmarks and their coordinates.|
|
91
|
+
|characterCalendarRead|Read your calendar events and attendees.|
|
92
|
+
|characterChatChannelsRead|List chat channels you own or operate.|
|
93
|
+
|characterClonesRead|List your jump clones, implants, attributes, and jump fatigue timer.|
|
94
|
+
|characterContactsRead|Allows access to reading your characters contacts.|
|
95
|
+
|characterContactsWrite|Allows applications to add, modify, and delete contacts for your character.|
|
96
|
+
|characterContractsRead|Read your contracts.|
|
97
|
+
|characterFactionalWarfareRead|Read your factional warfare statistics.|
|
98
|
+
|characterFittingsRead|Allows an application to view all of your character's saved fits.|
|
99
|
+
|characterFittingsWrite|Allows an application to create and delete the saved fits for your character.|
|
100
|
+
|characterIndustryJobsRead|List your industry jobs.|
|
101
|
+
|characterKillsRead|Read your kill mails.|
|
102
|
+
|characterLocationRead|Allows an application to read your characters real time location in EVE.|
|
103
|
+
|characterLoyaltyPointsRead|List loyalty points your character has for the different corporations.|
|
104
|
+
|characterMailRead|Read your EVE Mail.|
|
105
|
+
|characterMarketOrdersRead|Read your market orders.|
|
106
|
+
|characterMedalsRead|List your public and private medals.|
|
107
|
+
|characterNavigationWrite|Allows an application to set your ships autopilot destination.|
|
108
|
+
|characterNotificationsRead|Receive in-game notifications.|
|
109
|
+
|characterOpportunitiesRead|List the opportunities your character has completed.|
|
110
|
+
|characterResearchRead|List your research agents working for you and research progress.|
|
111
|
+
|characterSkillsRead|Read your skills and skill queue.|
|
112
|
+
|characterStatsRead|Yearly aggregated stats about your character.|
|
113
|
+
|characterWalletRead|Read your wallet status, transaction, and journal history.|
|
114
|
+
|corporationAssetsRead|Read your corporation's asset list.|
|
115
|
+
|corporationBookmarksRead|List your corporation's bookmarks and their coordinates.|
|
116
|
+
|corporationContactsRead|Read your corporation’s contact list and standings.|
|
117
|
+
|corporationContractsRead|List your corporation's contracts.|
|
118
|
+
|corporationFactionalWarfareRead|Read your corporation's factional warfare statistics.|
|
119
|
+
|corporationIndustryJobsRead|List your corporation's industry jobs.|
|
120
|
+
|corporationKillsRead|Read your corporation's kill mails.|
|
121
|
+
|corporationMarketOrdersRead|List your corporation's market orders.|
|
122
|
+
|corporationMedalsRead|List your corporation's issued medals.|
|
123
|
+
|corporationMembersRead|List your corporation's members, their titles, and roles.|
|
124
|
+
|corporationShareholdersRead|List your corporation's shareholders and their shares.|
|
125
|
+
|corporationStructuresRead|List your corporation's structures, outposts, and starbases.|
|
126
|
+
|corporationWalletRead|Read your corporation's wallet status, transaction, and journal history.|
|
127
|
+
|fleetRead|Allows real time reading of your fleet information (members, ship types, etc.) if you're the boss of the fleet.|
|
128
|
+
|fleetWrite|Allows the ability to invite, kick, and update fleet information if you're the boss of the fleet.|
|
129
|
+
|publicData|Allows access to public data.|
|
130
|
+
|remoteClientUI|Allows applications to control the UI of your EVE Online client.|
|
131
|
+
|structureVulnUpdate|Allows updating your structures' vulnerability timers.|
|
132
|
+
|
133
|
+
## Development
|
134
|
+
|
135
|
+
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
136
|
+
|
137
|
+
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
138
|
+
|
139
|
+
## Contributing
|
140
|
+
|
141
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/biow0lf/omniauth-eve_online-sso.
|
142
|
+
|
143
|
+
## License
|
144
|
+
|
145
|
+
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
data/Rakefile
ADDED
data/bin/console
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require 'bundler/setup'
|
4
|
+
require 'omniauth-eve_online-sso'
|
5
|
+
|
6
|
+
# You can add fixtures and/or initialization code here to make experimenting
|
7
|
+
# with your gem easier. You can also use a different console, if you like.
|
8
|
+
|
9
|
+
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
+
require 'pry'
|
11
|
+
Pry.start
|
12
|
+
|
13
|
+
# require 'irb'
|
14
|
+
# IRB.start(__FILE__)
|
data/bin/setup
ADDED
@@ -0,0 +1,36 @@
|
|
1
|
+
require 'omniauth-oauth2'
|
2
|
+
|
3
|
+
module OmniAuth
|
4
|
+
module Strategies
|
5
|
+
class EveOnlineSso < OmniAuth::Strategies::OAuth2
|
6
|
+
option :name, 'eve_online_sso'
|
7
|
+
|
8
|
+
option :client_options, authorize_path: '/oauth/authorize',
|
9
|
+
site: 'https://login.eveonline.com/',
|
10
|
+
proxy: ENV['http_proxy'] ? URI(ENV['http_proxy']) : nil
|
11
|
+
|
12
|
+
uid { raw_info['CharacterID'] }
|
13
|
+
|
14
|
+
info do
|
15
|
+
{
|
16
|
+
name: raw_info['CharacterName'],
|
17
|
+
character_id: raw_info['CharacterID'],
|
18
|
+
expires_on: raw_info['ExpiresOn'],
|
19
|
+
scopes: raw_info['Scopes'],
|
20
|
+
token_type: raw_info['TokenType'],
|
21
|
+
character_owner_hash: raw_info['CharacterOwnerHash']
|
22
|
+
}
|
23
|
+
end
|
24
|
+
|
25
|
+
extra do
|
26
|
+
{
|
27
|
+
raw_info: raw_info
|
28
|
+
}
|
29
|
+
end
|
30
|
+
|
31
|
+
def raw_info
|
32
|
+
@raw_info ||= access_token.get('/oauth/verify').parsed
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
36
|
+
end
|
@@ -0,0 +1,28 @@
|
|
1
|
+
lib = File.expand_path('../lib', __FILE__)
|
2
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
3
|
+
require 'omniauth/eve_online/sso/version'
|
4
|
+
|
5
|
+
Gem::Specification.new do |spec|
|
6
|
+
spec.name = 'omniauth-eve_online-sso'
|
7
|
+
spec.version = Omniauth::EveOnline::SSO::VERSION
|
8
|
+
spec.authors = ['Igor Zubkov']
|
9
|
+
spec.email = ['igor.zubkov@gmail.com']
|
10
|
+
|
11
|
+
spec.summary = 'OmniAuth strategy for EveOnline SSO'
|
12
|
+
spec.description = 'OmniAuth strategy for EveOnline SSO'
|
13
|
+
spec.homepage = 'https://github.com/biow0lf/omniauth-eve_online-sso'
|
14
|
+
spec.license = 'MIT'
|
15
|
+
|
16
|
+
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
17
|
+
spec.require_paths = ['lib']
|
18
|
+
|
19
|
+
spec.required_ruby_version = '>= 1.9.3'
|
20
|
+
|
21
|
+
spec.add_dependency 'omniauth-oauth2'
|
22
|
+
|
23
|
+
spec.add_development_dependency 'bundler'
|
24
|
+
spec.add_development_dependency 'rake'
|
25
|
+
spec.add_development_dependency 'rspec'
|
26
|
+
spec.add_development_dependency 'simplecov'
|
27
|
+
spec.add_development_dependency 'codeclimate-test-reporter'
|
28
|
+
end
|
metadata
ADDED
@@ -0,0 +1,143 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: omniauth-eve_online-sso
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Igor Zubkov
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2017-08-21 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: omniauth-oauth2
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: bundler
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rake
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rspec
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: simplecov
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: codeclimate-test-reporter
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
description: OmniAuth strategy for EveOnline SSO
|
98
|
+
email:
|
99
|
+
- igor.zubkov@gmail.com
|
100
|
+
executables: []
|
101
|
+
extensions: []
|
102
|
+
extra_rdoc_files: []
|
103
|
+
files:
|
104
|
+
- ".gitignore"
|
105
|
+
- ".rspec"
|
106
|
+
- ".rubocop.yml"
|
107
|
+
- ".rubocop_todo.yml"
|
108
|
+
- ".travis.yml"
|
109
|
+
- Gemfile
|
110
|
+
- LICENSE.txt
|
111
|
+
- README.md
|
112
|
+
- Rakefile
|
113
|
+
- bin/console
|
114
|
+
- bin/setup
|
115
|
+
- lib/omniauth-eve_online-sso.rb
|
116
|
+
- lib/omniauth/eve_online/sso/version.rb
|
117
|
+
- lib/omniauth/strategies/eve_online_sso.rb
|
118
|
+
- omniauth-eve_online-sso.gemspec
|
119
|
+
homepage: https://github.com/biow0lf/omniauth-eve_online-sso
|
120
|
+
licenses:
|
121
|
+
- MIT
|
122
|
+
metadata: {}
|
123
|
+
post_install_message:
|
124
|
+
rdoc_options: []
|
125
|
+
require_paths:
|
126
|
+
- lib
|
127
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - ">="
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: 1.9.3
|
132
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
133
|
+
requirements:
|
134
|
+
- - ">="
|
135
|
+
- !ruby/object:Gem::Version
|
136
|
+
version: '0'
|
137
|
+
requirements: []
|
138
|
+
rubyforge_project:
|
139
|
+
rubygems_version: 2.6.12
|
140
|
+
signing_key:
|
141
|
+
specification_version: 4
|
142
|
+
summary: OmniAuth strategy for EveOnline SSO
|
143
|
+
test_files: []
|