omniauth-eve_online-sso 0.2.0 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: da38534bf0a15cc7def00b75a3e03389bd7877c81fd2dca1468115d4816f16dc
4
- data.tar.gz: acf819ee9da5a1788f1ccd19d4564df23924b0ef38c2337cee69b64656dd5341
3
+ metadata.gz: 6dd2c6d084b1b8a1cacf3d7bbfd48440dfb6740b8d6b2b1db7d8cea4dc87f47a
4
+ data.tar.gz: 9fa07262440804cb457a8a9255e2ce17131b3761c0280aad39d108d5bd37bbb8
5
5
  SHA512:
6
- metadata.gz: 24871ac460804fd526c8233533e9507f8a4378499c17e196b0f29cc12dae075677b8ed4b2c3d272039c94d0634403a38177e7e0f9c4dbeb4a6aae5d28b7d27ce
7
- data.tar.gz: bb0d97d31c406945fd9a4895953f3e254086a5a45a03873fd3e242915812806f284d46c58fb2d1702873ce2f961d23c3bd3fa320720f3589e3ac3ad72c52da7d
6
+ metadata.gz: c8715b08277e7a56a051d141c0841f5894a953ba09dfaa25d23f56951e5ed1079fa35ecd5f6d7c5626e5fa709dd19564a7af980f62ac328de8b673d9e4f99d70
7
+ data.tar.gz: 03424da4d83881bad17ef12436560686f22a9f2eabef9cc0942305f9205bad83ef96ce3fdb47f0847e7833fb7c60623544e5d2fdb4f38253c19660be411a77cc
@@ -0,0 +1 @@
1
+ * @biow0lf
@@ -0,0 +1 @@
1
+ github: biow0lf
@@ -0,0 +1,14 @@
1
+ version: 2
2
+ updates:
3
+ - package-ecosystem: "bundler"
4
+ directory: "/"
5
+ schedule:
6
+ interval: "daily"
7
+ open-pull-requests-limit: 99
8
+ allow:
9
+ - dependency-type: "direct"
10
+ - dependency-type: "indirect"
11
+ - package-ecosystem: "github-actions"
12
+ directory: "/"
13
+ schedule:
14
+ interval: "daily"
@@ -0,0 +1,18 @@
1
+ name: mdl
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - main
7
+ pull_request:
8
+ branches:
9
+ - main
10
+
11
+ jobs:
12
+ mdl:
13
+ runs-on: ubuntu-latest
14
+
15
+ steps:
16
+ - uses: actions/checkout@v2
17
+ - name: run mdl
18
+ uses: actionshub/markdownlint@2.0.2
data/.gitignore CHANGED
@@ -1,13 +1,11 @@
1
1
  /.bundle/
2
2
  /.yardoc
3
- /Gemfile.lock
4
3
  /_yardoc/
5
4
  /coverage/
6
5
  /doc/
7
6
  /pkg/
8
7
  /spec/reports/
9
8
  /tmp/
10
- /.ruby-version
11
9
  /.idea
12
10
 
13
11
  # rspec failure tracking
data/.mdlrc ADDED
@@ -0,0 +1,2 @@
1
+ rules "~MD013"
2
+
data/.rspec CHANGED
@@ -1,2 +1 @@
1
1
  --format documentation
2
- --color
data/.rubocop.yml CHANGED
@@ -1,148 +1,16 @@
1
- require: rubocop-thread_safety
2
- #require: rubocop-rspec
3
-
4
- inherit_from: .rubocop_todo.yml
5
-
6
1
  AllCops:
7
- TargetRubyVersion: 1.9
8
- DisplayCopNames: true
2
+ TargetRubyVersion: 2.6
9
3
  DisplayStyleGuide: true
4
+ NewCops: enable
10
5
 
11
- Rails:
12
- Enabled: false
13
-
14
- # Allow block comments
15
- Style/BlockComments:
6
+ Style/StringLiterals:
16
7
  Enabled: false
17
8
 
18
- # Disable
19
9
  Style/Documentation:
20
10
  Enabled: false
21
11
 
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
12
  Bundler/OrderedGems:
106
13
  Enabled: false
107
14
 
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:
15
+ Layout/LineLength:
116
16
  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/.ruby-version ADDED
@@ -0,0 +1 @@
1
+ 3.0.2
data/.travis.yml CHANGED
@@ -2,17 +2,15 @@ sudo: false
2
2
  language: ruby
3
3
  cache: bundler
4
4
  rvm:
5
- - 1.9.3
6
- - 2.0
7
- - 2.1
8
- - 2.2.7
9
- - 2.3.4
10
- - 2.4.1
5
+ - 2.3.7
6
+ - 2.4.4
7
+ - 2.5.1
11
8
  - ruby-head
12
9
 
13
- before_install: gem install bundler -v 1.15.4
10
+ before_install: gem install bundler
14
11
 
15
12
  script:
16
13
  - bundle exec rake
17
14
  - bundle exec codeclimate-test-reporter
18
15
  - bundle exec rubocop
16
+ - bundle exec mdl README.md
data/CHANGELOG.md ADDED
@@ -0,0 +1,7 @@
1
+ # Changelog
2
+
3
+ ## v0.3.0
4
+
5
+ * Migrate to `/v2/oauth/authorize` and `/v2/oauth/token`
6
+ * Bump minimal required ruby version to `2.6`
7
+ * Drop proxy support
data/Gemfile CHANGED
@@ -1,8 +1,10 @@
1
- source 'https://rubygems.org'
1
+ # frozen_string_literal: true
2
+
3
+ source "https://rubygems.org"
2
4
 
3
5
  # Specify your gem's dependencies in omniauth-eve_online-sso.gemspec
4
6
  gemspec
5
7
 
6
- gem 'awesome_print', require: 'ap'
7
- gem 'pry'
8
- gem 'rubocop', platforms: [:ruby_19, :ruby_20, :ruby_21, :ruby_22, :ruby_23, :ruby_24]
8
+ gem "awesome_print", require: "ap"
9
+ gem "pry"
10
+ gem "standard"
data/Gemfile.lock ADDED
@@ -0,0 +1,120 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ omniauth-eve_online-sso (0.3.0)
5
+ omniauth-oauth2
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ ast (2.4.2)
11
+ awesome_print (1.9.2)
12
+ coderay (1.1.3)
13
+ diff-lcs (1.4.4)
14
+ docile (1.4.0)
15
+ faraday (1.7.0)
16
+ faraday-em_http (~> 1.0)
17
+ faraday-em_synchrony (~> 1.0)
18
+ faraday-excon (~> 1.1)
19
+ faraday-httpclient (~> 1.0.1)
20
+ faraday-net_http (~> 1.0)
21
+ faraday-net_http_persistent (~> 1.1)
22
+ faraday-patron (~> 1.0)
23
+ faraday-rack (~> 1.0)
24
+ multipart-post (>= 1.2, < 3)
25
+ ruby2_keywords (>= 0.0.4)
26
+ faraday-em_http (1.0.0)
27
+ faraday-em_synchrony (1.0.0)
28
+ faraday-excon (1.1.0)
29
+ faraday-httpclient (1.0.1)
30
+ faraday-net_http (1.0.1)
31
+ faraday-net_http_persistent (1.2.0)
32
+ faraday-patron (1.0.0)
33
+ faraday-rack (1.0.0)
34
+ hashie (4.1.0)
35
+ jwt (2.2.3)
36
+ method_source (1.0.0)
37
+ multi_json (1.15.0)
38
+ multi_xml (0.6.0)
39
+ multipart-post (2.1.1)
40
+ oauth2 (1.4.7)
41
+ faraday (>= 0.8, < 2.0)
42
+ jwt (>= 1.0, < 3.0)
43
+ multi_json (~> 1.3)
44
+ multi_xml (~> 0.5)
45
+ rack (>= 1.2, < 3)
46
+ omniauth (2.0.4)
47
+ hashie (>= 3.4.6)
48
+ rack (>= 1.6.2, < 3)
49
+ rack-protection
50
+ omniauth-oauth2 (1.7.1)
51
+ oauth2 (~> 1.4)
52
+ omniauth (>= 1.9, < 3)
53
+ parallel (1.20.1)
54
+ parser (3.0.2.0)
55
+ ast (~> 2.4.1)
56
+ pry (0.14.1)
57
+ coderay (~> 1.1)
58
+ method_source (~> 1.0)
59
+ rack (2.2.3)
60
+ rack-protection (2.1.0)
61
+ rack
62
+ rainbow (3.0.0)
63
+ rake (13.0.6)
64
+ regexp_parser (2.1.1)
65
+ rexml (3.2.5)
66
+ rspec (3.10.0)
67
+ rspec-core (~> 3.10.0)
68
+ rspec-expectations (~> 3.10.0)
69
+ rspec-mocks (~> 3.10.0)
70
+ rspec-core (3.10.1)
71
+ rspec-support (~> 3.10.0)
72
+ rspec-expectations (3.10.1)
73
+ diff-lcs (>= 1.2.0, < 2.0)
74
+ rspec-support (~> 3.10.0)
75
+ rspec-mocks (3.10.2)
76
+ diff-lcs (>= 1.2.0, < 2.0)
77
+ rspec-support (~> 3.10.0)
78
+ rspec-support (3.10.2)
79
+ rubocop (1.18.4)
80
+ parallel (~> 1.10)
81
+ parser (>= 3.0.0.0)
82
+ rainbow (>= 2.2.2, < 4.0)
83
+ regexp_parser (>= 1.8, < 3.0)
84
+ rexml
85
+ rubocop-ast (>= 1.8.0, < 2.0)
86
+ ruby-progressbar (~> 1.7)
87
+ unicode-display_width (>= 1.4.0, < 3.0)
88
+ rubocop-ast (1.10.0)
89
+ parser (>= 3.0.1.1)
90
+ rubocop-performance (1.11.4)
91
+ rubocop (>= 1.7.0, < 2.0)
92
+ rubocop-ast (>= 0.4.0)
93
+ ruby-progressbar (1.11.0)
94
+ ruby2_keywords (0.0.5)
95
+ simplecov (0.21.2)
96
+ docile (~> 1.1)
97
+ simplecov-html (~> 0.11)
98
+ simplecov_json_formatter (~> 0.1)
99
+ simplecov-html (0.12.3)
100
+ simplecov_json_formatter (0.1.3)
101
+ standard (1.1.7)
102
+ rubocop (= 1.18.4)
103
+ rubocop-performance (= 1.11.4)
104
+ unicode-display_width (2.0.0)
105
+
106
+ PLATFORMS
107
+ ruby
108
+
109
+ DEPENDENCIES
110
+ awesome_print
111
+ bundler
112
+ omniauth-eve_online-sso!
113
+ pry
114
+ rake
115
+ rspec
116
+ simplecov
117
+ standard
118
+
119
+ BUNDLED WITH
120
+ 2.2.25
data/LICENSE.txt CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2016-2018 Igor Zubkov
3
+ Copyright (c) 2016-2020 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,8 +1,7 @@
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
- [![Gemnasium](https://img.shields.io/gemnasium/biow0lf/omniauth-eve_online-sso.svg)](https://gemnasium.com/biow0lf/omniauth-eve_online-sso)
5
- [![security](https://hakiri.io/github/biow0lf/omniauth-eve_online-sso/master.svg)](https://hakiri.io/github/biow0lf/omniauth-eve_online-sso/master)
4
+ [![security](https://hakiri.io/github/evemonk/omniauth-eve_online-sso/master.svg)](https://hakiri.io/github/evemonk/omniauth-eve_online-sso/main)
6
5
 
7
6
  Eve Online OAuth2 Strategy for OmniAuth.
8
7
 
@@ -16,11 +15,15 @@ gem 'omniauth-eve_online-sso'
16
15
 
17
16
  And then execute:
18
17
 
19
- $ bundle
18
+ ```shell
19
+ bundle
20
+ ```
20
21
 
21
22
  Or install it yourself as:
22
23
 
23
- $ gem install omniauth-eve_online-sso
24
+ ```shell
25
+ gem install omniauth-eve_online-sso
26
+ ```
24
27
 
25
28
  ## Usage
26
29
 
@@ -28,7 +31,10 @@ Configure omniauth for use new strategy:
28
31
 
29
32
  ```ruby
30
33
  Rails.application.config.middleware.use OmniAuth::Builder do
31
- provider :eve_online_sso, ENV['EVE_ONLINE_SSO_CLIENT_ID'], ENV['EVE_ONLINE_SSO_SECRET_KEY'], scope: 'esi-wallet.read_character_wallet.v1'
34
+ provider :eve_online_sso,
35
+ ENV["EVE_ONLINE_SSO_CLIENT_ID"],
36
+ ENV["EVE_ONLINE_SSO_SECRET_KEY"],
37
+ scope: "publicData"
32
38
  end
33
39
  ```
34
40
 
@@ -38,6 +44,7 @@ Note: scopes should be separated by spaces. E.g. `'esi-fleets.read_fleet.v1 esi-
38
44
 
39
45
  |Scope|Description|
40
46
  |-----|-----------|
47
+ |publicData|Allows access to public data.|
41
48
  |esi-alliances.read_contacts.v1|Allows reading of an alliance's contact list and standings|
42
49
  |esi-assets.read_assets.v1|Allows reading a list of assets that the character owns|
43
50
  |esi-assets.read_corporation_assets.v1|Allows reading of a character's corporation's assets, if the character has roles to do so.|
@@ -72,13 +79,11 @@ Note: scopes should be separated by spaces. E.g. `'esi-fleets.read_fleet.v1 esi-
72
79
  |esi-corporations.read_facilities.v1|Allows reading a corporation's facilities|
73
80
  |esi-corporations.read_fw_stats.v1|Allows reading of a corporation's faction warfare statistics|
74
81
  |esi-corporations.read_medals.v1|Allows reading medals created and issued by a corporation|
75
- |esi-corporations.read_outposts.v1|Allows read access for listing and seeing details about a corporation's outposts|
76
82
  |esi-corporations.read_standings.v1|Allows reading a corporation's standings|
77
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.|
78
84
  |esi-corporations.read_structures.v1|Allows reading a character's corporation's structure information|
79
85
  |esi-corporations.read_titles.v1|Allows reading of a character's corporation's titles, if the character has roles to do so.|
80
86
  |esi-corporations.track_members.v1|Allows tracking members' activities in a corporation|
81
- |esi-corporations.write_structures.v1|Allows updating a character's corporation's structure information|
82
87
  |esi-fittings.read_fittings.v1|Allows reading information about fittings|
83
88
  |esi-fittings.write_fittings.v1|Allows manipulating fittings|
84
89
  |esi-fleets.read_fleet.v1|Allows reading information about fleets|
@@ -118,7 +123,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
118
123
 
119
124
  ## Contributing
120
125
 
121
- Bug reports and pull requests are welcome on GitHub at https://github.com/biow0lf/omniauth-eve_online-sso.
126
+ Bug reports and pull requests are welcome on GitHub at <https://github.com/evemonk/omniauth-eve_online-sso>.
122
127
 
123
128
  ## License
124
129
 
data/Rakefile CHANGED
@@ -1,5 +1,7 @@
1
- require 'bundler/gem_tasks'
2
- require 'rspec/core/rake_task'
1
+ # frozen_string_literal: true
2
+
3
+ require "bundler/gem_tasks"
4
+ require "rspec/core/rake_task"
3
5
 
4
6
  RSpec::Core::RakeTask.new(:spec)
5
7
 
data/bin/console CHANGED
@@ -1,4 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
2
3
 
3
4
  require 'bundler/setup'
4
5
  require 'omniauth-eve_online-sso'
@@ -1,2 +1,4 @@
1
- require 'omniauth/eve_online/sso/version'
2
- require 'omniauth/strategies/eve_online_sso'
1
+ # frozen_string_literal: true
2
+
3
+ require "omniauth/eve_online/sso/version"
4
+ require "omniauth/strategies/eve_online_sso"
@@ -1,7 +1,9 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Omniauth
2
4
  module EveOnline
3
5
  module SSO
4
- VERSION = '0.2.0'.freeze
6
+ VERSION = "0.3.0"
5
7
  end
6
8
  end
7
9
  end
@@ -1,24 +1,27 @@
1
- require 'omniauth-oauth2'
1
+ # frozen_string_literal: true
2
+
3
+ require "omniauth-oauth2"
2
4
 
3
5
  module OmniAuth
4
6
  module Strategies
5
7
  class EveOnlineSso < OmniAuth::Strategies::OAuth2
6
- option :name, 'eve_online_sso'
8
+ option :name, "eve_online_sso"
7
9
 
8
- option :client_options, authorize_path: '/oauth/authorize',
9
- site: 'https://login.eveonline.com/',
10
- proxy: ENV['http_proxy'] ? URI(ENV['http_proxy']) : nil
10
+ option :client_options,
11
+ authorize_url: "/v2/oauth/authorize",
12
+ token_url: "/v2/oauth/token",
13
+ site: "https://login.eveonline.com/"
11
14
 
12
- uid { raw_info['CharacterID'] }
15
+ uid { raw_info["CharacterID"] }
13
16
 
14
17
  info do
15
18
  {
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']
19
+ name: raw_info["CharacterName"],
20
+ character_id: raw_info["CharacterID"],
21
+ expires_on: raw_info["ExpiresOn"],
22
+ scopes: raw_info["Scopes"],
23
+ token_type: raw_info["TokenType"],
24
+ character_owner_hash: raw_info["CharacterOwnerHash"]
22
25
  }
23
26
  end
24
27
 
@@ -29,7 +32,7 @@ module OmniAuth
29
32
  end
30
33
 
31
34
  def raw_info
32
- @raw_info ||= access_token.get('/oauth/verify').parsed
35
+ @raw_info ||= access_token.get("/oauth/verify").parsed
33
36
  end
34
37
  end
35
38
  end
@@ -1,28 +1,29 @@
1
- lib = File.expand_path('../lib', __FILE__)
1
+ # frozen_string_literal: true
2
+
3
+ lib = File.expand_path("../lib", __FILE__)
2
4
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
- require 'omniauth/eve_online/sso/version'
5
+ require "omniauth/eve_online/sso/version"
4
6
 
5
7
  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']
8
+ spec.name = "omniauth-eve_online-sso"
9
+ spec.version = Omniauth::EveOnline::SSO::VERSION
10
+ spec.authors = ["Igor Zubkov"]
11
+ spec.email = ["igor.zubkov@gmail.com"]
10
12
 
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'
13
+ spec.summary = "OmniAuth strategy for EveOnline SSO"
14
+ spec.description = "OmniAuth strategy for EveOnline SSO"
15
+ spec.homepage = "https://github.com/evemonk/omniauth-eve_online-sso"
16
+ spec.license = "MIT"
15
17
 
16
- spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
17
- spec.require_paths = ['lib']
18
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
19
+ spec.require_paths = ["lib"]
18
20
 
19
- spec.required_ruby_version = '>= 1.9.3'
21
+ spec.required_ruby_version = ">= 2.6"
20
22
 
21
- spec.add_dependency 'omniauth-oauth2'
23
+ spec.add_dependency "omniauth-oauth2"
22
24
 
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'
25
+ spec.add_development_dependency "bundler"
26
+ spec.add_development_dependency "rake"
27
+ spec.add_development_dependency "rspec"
28
+ spec.add_development_dependency "simplecov"
28
29
  end
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.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Igor Zubkov
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-05-07 00:00:00.000000000 Z
11
+ date: 2021-08-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: omniauth-oauth2
@@ -80,20 +80,6 @@ dependencies:
80
80
  - - ">="
81
81
  - !ruby/object:Gem::Version
82
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
83
  description: OmniAuth strategy for EveOnline SSO
98
84
  email:
99
85
  - igor.zubkov@gmail.com
@@ -101,12 +87,19 @@ executables: []
101
87
  extensions: []
102
88
  extra_rdoc_files: []
103
89
  files:
90
+ - ".github/CODEOWNERS"
91
+ - ".github/FUNDING.yml"
92
+ - ".github/dependabot.yml"
93
+ - ".github/workflows/mdl.yml"
104
94
  - ".gitignore"
95
+ - ".mdlrc"
105
96
  - ".rspec"
106
97
  - ".rubocop.yml"
107
- - ".rubocop_todo.yml"
98
+ - ".ruby-version"
108
99
  - ".travis.yml"
100
+ - CHANGELOG.md
109
101
  - Gemfile
102
+ - Gemfile.lock
110
103
  - LICENSE.txt
111
104
  - README.md
112
105
  - Rakefile
@@ -116,11 +109,11 @@ files:
116
109
  - lib/omniauth/eve_online/sso/version.rb
117
110
  - lib/omniauth/strategies/eve_online_sso.rb
118
111
  - omniauth-eve_online-sso.gemspec
119
- homepage: https://github.com/biow0lf/omniauth-eve_online-sso
112
+ homepage: https://github.com/evemonk/omniauth-eve_online-sso
120
113
  licenses:
121
114
  - MIT
122
115
  metadata: {}
123
- post_install_message:
116
+ post_install_message:
124
117
  rdoc_options: []
125
118
  require_paths:
126
119
  - lib
@@ -128,16 +121,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
128
121
  requirements:
129
122
  - - ">="
130
123
  - !ruby/object:Gem::Version
131
- version: 1.9.3
124
+ version: '2.6'
132
125
  required_rubygems_version: !ruby/object:Gem::Requirement
133
126
  requirements:
134
127
  - - ">="
135
128
  - !ruby/object:Gem::Version
136
129
  version: '0'
137
130
  requirements: []
138
- rubyforge_project:
139
- rubygems_version: 2.7.6
140
- signing_key:
131
+ rubygems_version: 3.2.25
132
+ signing_key:
141
133
  specification_version: 4
142
134
  summary: OmniAuth strategy for EveOnline SSO
143
135
  test_files: []
data/.rubocop_todo.yml DELETED
File without changes