omniauth-oauth2-generic 0.2.4 → 0.2.5
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 +5 -5
- data/.gitignore +3 -2
- data/.gitlab-ci.yml +46 -0
- data/.rubocop.yml +48 -0
- data/.ruby-version +1 -0
- data/Gemfile +4 -0
- data/Gemfile.lock +43 -0
- data/Rakefile +4 -2
- data/bin/console +4 -3
- data/lib/omniauth-oauth2-generic.rb +4 -2
- data/lib/omniauth-oauth2-generic/version.rb +3 -1
- data/lib/omniauth/strategies/oauth2_generic.rb +80 -38
- data/omniauth-oauth2-generic.gemspec +18 -21
- data/satorix/CI/deploy/rubygems.rb +83 -0
- data/satorix/CI/test/custom_bundler_audit.rb +36 -0
- data/satorix/custom.rb +27 -0
- metadata +15 -67
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 9ab02645e69c3bdce48457796f4cd377c415f8e82f8cfca4c92f5711fdddcc93
|
4
|
+
data.tar.gz: 98345a14f3197560446be7f8eecbb3a1d7a2e062d5304d2a1df3f2d3e014ec81
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c49f629d139b7133c5322eb95efbec57da0dd7a0747e4318886c5d02a651fd3e49ae4e04e586af4f7ce54598875509460266ecb32133a2d6a68dae87a37b0422
|
7
|
+
data.tar.gz: 3f5118cef68d0f30213ff7eefc6bb7b8812e3e662107aeb782556eb437a0b89d9283bd987da94c51367550c2f615904a5ac14aabd04cc52ba8a93e77a2b4a1c1
|
data/.gitignore
CHANGED
data/.gitlab-ci.yml
ADDED
@@ -0,0 +1,46 @@
|
|
1
|
+
image: 'satorix/base'
|
2
|
+
|
3
|
+
cache:
|
4
|
+
key: "$CI_PROJECT_ID"
|
5
|
+
paths:
|
6
|
+
- 'tmp/satorix/cache' # To cache buildpack gems between runs.
|
7
|
+
|
8
|
+
|
9
|
+
.satorix: &satorix
|
10
|
+
script:
|
11
|
+
- gem install satorix --no-document
|
12
|
+
- satorix
|
13
|
+
|
14
|
+
|
15
|
+
# bundler-audit
|
16
|
+
# Patch-level verification for Bundler
|
17
|
+
# https://github.com/rubysec/bundler-audit
|
18
|
+
# TODO : Restore original version
|
19
|
+
custom_bundler_audit:
|
20
|
+
<<: *satorix
|
21
|
+
|
22
|
+
|
23
|
+
# RSpec
|
24
|
+
# Behaviour Driven Development for Ruby
|
25
|
+
# http://rspec.info/
|
26
|
+
rspec:
|
27
|
+
<<: *satorix
|
28
|
+
|
29
|
+
|
30
|
+
# RuboCop
|
31
|
+
# A Ruby static code analyzer, based on the community Ruby style guide.
|
32
|
+
# https://github.com/bbatsov/rubocop
|
33
|
+
rubocop:
|
34
|
+
<<: *satorix
|
35
|
+
allow_failure: true
|
36
|
+
|
37
|
+
|
38
|
+
|
39
|
+
# This is a custom job, defined at satorix/CI/deploy/rubygems.rb
|
40
|
+
deploy_to_rubygems:
|
41
|
+
stage: deploy
|
42
|
+
only:
|
43
|
+
- master
|
44
|
+
except:
|
45
|
+
- schedules
|
46
|
+
<<: *satorix
|
data/.rubocop.yml
ADDED
@@ -0,0 +1,48 @@
|
|
1
|
+
AllCops:
|
2
|
+
Exclude:
|
3
|
+
- 'bin/**/*'
|
4
|
+
- 'tmp/**/*'
|
5
|
+
- 'vendor/**/*'
|
6
|
+
NewCops: enable
|
7
|
+
|
8
|
+
# We develop in a higher version than is absolutely required.
|
9
|
+
Gemspec/RequiredRubyVersion:
|
10
|
+
Enabled: false
|
11
|
+
|
12
|
+
Layout/SpaceInsideStringInterpolation:
|
13
|
+
EnforcedStyle: space
|
14
|
+
|
15
|
+
# TODO - fix/enable layout lines cops ------------------------------------------------------
|
16
|
+
|
17
|
+
Layout/EmptyLines:
|
18
|
+
Enabled: false
|
19
|
+
|
20
|
+
Layout/EmptyLinesAroundClassBody:
|
21
|
+
Enabled: false
|
22
|
+
|
23
|
+
Layout/EmptyLinesAroundModuleBody:
|
24
|
+
Enabled: false
|
25
|
+
|
26
|
+
# ------------------------------------------------------------------------------------------
|
27
|
+
|
28
|
+
Layout/EmptyLineBetweenDefs:
|
29
|
+
NumberOfEmptyLines: 2
|
30
|
+
|
31
|
+
Layout/IndentationConsistency:
|
32
|
+
EnforcedStyle: indented_internal_methods
|
33
|
+
|
34
|
+
# Ignore spec for large contexts
|
35
|
+
Metrics/BlockLength:
|
36
|
+
Exclude:
|
37
|
+
- 'spec/**/*'
|
38
|
+
|
39
|
+
Naming/FileName:
|
40
|
+
Exclude:
|
41
|
+
- 'lib/omniauth-oauth2-generic.rb'
|
42
|
+
|
43
|
+
Style/Documentation:
|
44
|
+
Enabled: false
|
45
|
+
|
46
|
+
# The recommended alternative does not work for this application.
|
47
|
+
Style/ModuleFunction:
|
48
|
+
Enabled: false
|
data/.ruby-version
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
ruby-2.6.6
|
data/Gemfile
CHANGED
data/Gemfile.lock
ADDED
@@ -0,0 +1,43 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
omniauth-oauth2-generic (0.2.5)
|
5
|
+
omniauth-oauth2 (~> 1.0)
|
6
|
+
rake
|
7
|
+
|
8
|
+
GEM
|
9
|
+
remote: https://rubygems.org/
|
10
|
+
specs:
|
11
|
+
faraday (1.0.1)
|
12
|
+
multipart-post (>= 1.2, < 3)
|
13
|
+
hashie (4.1.0)
|
14
|
+
jwt (2.2.1)
|
15
|
+
multi_json (1.14.1)
|
16
|
+
multi_xml (0.6.0)
|
17
|
+
multipart-post (2.1.1)
|
18
|
+
oauth2 (1.4.4)
|
19
|
+
faraday (>= 0.8, < 2.0)
|
20
|
+
jwt (>= 1.0, < 3.0)
|
21
|
+
multi_json (~> 1.3)
|
22
|
+
multi_xml (~> 0.5)
|
23
|
+
rack (>= 1.2, < 3)
|
24
|
+
omniauth (1.9.1)
|
25
|
+
hashie (>= 3.4.6)
|
26
|
+
rack (>= 1.6.2, < 3)
|
27
|
+
omniauth-oauth2 (1.6.0)
|
28
|
+
oauth2 (~> 1.1)
|
29
|
+
omniauth (~> 1.9)
|
30
|
+
rack (2.2.3)
|
31
|
+
rake (13.0.1)
|
32
|
+
|
33
|
+
PLATFORMS
|
34
|
+
ruby
|
35
|
+
|
36
|
+
DEPENDENCIES
|
37
|
+
omniauth-oauth2-generic!
|
38
|
+
|
39
|
+
RUBY VERSION
|
40
|
+
ruby 2.6.6p146
|
41
|
+
|
42
|
+
BUNDLED WITH
|
43
|
+
1.17.3
|
data/Rakefile
CHANGED
data/bin/console
CHANGED
@@ -1,7 +1,8 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
|
+
# frozen_string_literal: true
|
2
3
|
|
3
|
-
require
|
4
|
-
require
|
4
|
+
require 'bundler/setup'
|
5
|
+
require 'omniauth/satorix'
|
5
6
|
|
6
7
|
# You can add fixtures and/or initialization code here to make experimenting
|
7
8
|
# with your gem easier. You can also use a different console, if you like.
|
@@ -10,5 +11,5 @@ require "omniauth/satorix"
|
|
10
11
|
# require "pry"
|
11
12
|
# Pry.start
|
12
13
|
|
13
|
-
require
|
14
|
+
require 'irb'
|
14
15
|
IRB.start
|
@@ -1,33 +1,65 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
require 'omniauth-oauth2'
|
2
4
|
|
3
5
|
module OmniAuth
|
4
6
|
module Strategies
|
5
7
|
class OAuth2Generic < OmniAuth::Strategies::OAuth2
|
8
|
+
|
6
9
|
option :name, 'oauth2_generic'
|
7
10
|
|
8
|
-
option :client_options,
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
11
|
+
option :client_options,
|
12
|
+
{
|
13
|
+
# Defaults are set for GitLab example implementation
|
14
|
+
|
15
|
+
# The URL for your OAuth 2 server
|
16
|
+
site: 'https://gitlab.com',
|
17
|
+
# The endpoint on your OAuth 2 server that provides info for the current user
|
18
|
+
user_info_url: '/api/v3/user',
|
19
|
+
# The authorization endpoint for your OAuth server
|
20
|
+
authorize_url: '/oauth/authorize',
|
21
|
+
# The token request endpoint for your OAuth server
|
22
|
+
token_url: '/oauth/token'
|
23
|
+
}
|
24
|
+
|
25
|
+
option :user_response_structure,
|
26
|
+
{
|
27
|
+
# info about the structure of the response from the oauth server's user_info_url (specified above)
|
28
|
+
|
29
|
+
# The default path to the user attributes (i.e. ['data', 'attributes'])
|
30
|
+
root_path: [],
|
31
|
+
|
32
|
+
# The name or path to the user ID (i.e. ['data', 'id]').
|
33
|
+
# Scalars are considered relative to `root_path`, Arrays are absolute paths.
|
34
|
+
id_path: 'id',
|
35
|
+
|
36
|
+
# Alternate paths or names for any attributes that don't match the default
|
37
|
+
attributes: {
|
38
|
+
# Scalars are treated as relative (i.e. 'username' would point to
|
39
|
+
# response['data']['attributes']['username'], given a root_path of ['data', 'attributes'])
|
40
|
+
name: 'name',
|
41
|
+
|
42
|
+
# Arrays are treated as absolute paths (i.e. ['included', 'contacts', 0, 'email'] would point to
|
43
|
+
# response['included']['contacts'][0]['email'], regardless of root_path)
|
44
|
+
email: 'email',
|
45
|
+
|
46
|
+
nickname: 'nickname',
|
47
|
+
|
48
|
+
first_name: 'first_name',
|
49
|
+
|
50
|
+
last_name: 'last_name',
|
51
|
+
|
52
|
+
location: 'location',
|
53
|
+
|
54
|
+
description: 'description',
|
55
|
+
|
56
|
+
image: 'image',
|
57
|
+
|
58
|
+
phone: 'phone',
|
59
|
+
|
60
|
+
urls: 'urls'
|
61
|
+
}
|
62
|
+
}
|
31
63
|
|
32
64
|
option :redirect_url
|
33
65
|
|
@@ -36,10 +68,9 @@ module OmniAuth
|
|
36
68
|
end
|
37
69
|
|
38
70
|
info do
|
39
|
-
user_paths[:attributes].
|
71
|
+
user_paths[:attributes].each_with_object({}) do |(field, path), user_hash|
|
40
72
|
value = fetch_user_info(path)
|
41
73
|
user_hash[field] = value if value
|
42
|
-
user_hash
|
43
74
|
end
|
44
75
|
end
|
45
76
|
|
@@ -47,32 +78,43 @@ module OmniAuth
|
|
47
78
|
{ raw_info: raw_info }
|
48
79
|
end
|
49
80
|
|
81
|
+
|
50
82
|
def raw_info
|
51
83
|
@raw_info ||= access_token.get(options.client_options[:user_info_url]).parsed
|
52
84
|
end
|
53
85
|
|
86
|
+
|
54
87
|
def authorize_params
|
55
88
|
params = super
|
56
|
-
|
89
|
+
params.transform_values { |v| v.respond_to?(:call) ? v.call(request) : v }
|
57
90
|
end
|
58
91
|
|
92
|
+
|
59
93
|
private
|
60
94
|
|
61
|
-
def user_paths
|
62
|
-
options.user_response_structure
|
63
|
-
end
|
64
95
|
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
full_path.inject(raw_info) { |info, key| info[key] rescue nil }
|
69
|
-
end
|
96
|
+
def user_paths
|
97
|
+
options.user_response_structure
|
98
|
+
end
|
70
99
|
|
71
|
-
|
72
|
-
|
73
|
-
|
100
|
+
|
101
|
+
def fetch_user_info(path)
|
102
|
+
return nil unless path
|
103
|
+
|
104
|
+
full_path = path.is_a?(Array) ? path : Array(user_paths[:root_path]) + [path]
|
105
|
+
full_path.inject(raw_info) do |info, key|
|
106
|
+
info[key]
|
107
|
+
rescue StandardError
|
108
|
+
nil
|
109
|
+
end
|
110
|
+
end
|
111
|
+
|
112
|
+
|
113
|
+
def callback_url
|
114
|
+
options.redirect_url || (full_host + script_name + callback_path)
|
115
|
+
end
|
74
116
|
end
|
75
117
|
end
|
76
118
|
end
|
77
119
|
|
78
|
-
OmniAuth.config.add_camelization 'oauth2_generic', 'OAuth2Generic'
|
120
|
+
OmniAuth.config.add_camelization 'oauth2_generic', 'OAuth2Generic'
|
@@ -1,31 +1,28 @@
|
|
1
|
-
#
|
2
|
-
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
lib = File.expand_path('lib', __dir__)
|
3
4
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
5
|
require 'omniauth-oauth2-generic/version'
|
5
6
|
|
6
|
-
Gem::Specification.new do |
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
7
|
+
Gem::Specification.new do |gem|
|
8
|
+
gem.name = 'omniauth-oauth2-generic'
|
9
|
+
gem.version = Omniauth::OAuth2Generic::VERSION
|
10
|
+
gem.authors = ['Satorix']
|
11
|
+
gem.email = ['satorix@iexposure.com']
|
12
|
+
|
13
|
+
gem.summary = 'Generic, Configurable OmniAuth Strategy for OAuth2 providers'
|
14
|
+
gem.description = gem.summary
|
15
|
+
gem.homepage = 'https://gitlab.com/satorix/omniauth-oauth2-generic'
|
16
|
+
gem.license = 'MIT'
|
11
17
|
|
12
|
-
|
13
|
-
spec.description = spec.summary
|
14
|
-
spec.homepage = "https://gitlab.com/satorix/omniauth-oauth2-generic"
|
15
|
-
spec.license = "MIT"
|
18
|
+
gem.required_ruby_version = '>= 1.9'
|
16
19
|
|
17
|
-
|
20
|
+
gem.files = `git ls-files -z`.split("\x0").reject do |f|
|
18
21
|
f.match(%r{^(test|spec|features)/})
|
19
22
|
end
|
20
|
-
|
21
|
-
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
22
|
-
spec.require_paths = ["lib"]
|
23
|
+
gem.require_paths = ['lib']
|
23
24
|
|
24
|
-
|
25
|
+
gem.add_dependency 'omniauth-oauth2', '~> 1.0'
|
26
|
+
gem.add_dependency 'rake'
|
25
27
|
|
26
|
-
spec.add_development_dependency "bundler", "~> 1.13"
|
27
|
-
spec.add_development_dependency "rake", "~> 10.0"
|
28
|
-
spec.add_development_dependency "rspec", "~> 3.1"
|
29
|
-
spec.add_development_dependency "rack-test"
|
30
|
-
spec.add_development_dependency "webmock"
|
31
28
|
end
|
@@ -0,0 +1,83 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Satorix
|
4
|
+
module CI
|
5
|
+
module Deploy
|
6
|
+
module Rubygems
|
7
|
+
|
8
|
+
|
9
|
+
require 'fileutils'
|
10
|
+
|
11
|
+
|
12
|
+
include Satorix::Shared::Console
|
13
|
+
|
14
|
+
|
15
|
+
extend self
|
16
|
+
|
17
|
+
|
18
|
+
def go
|
19
|
+
log_bench('Generating rubygems.org configuration_file...') { generate_rubygems_configuration_file }
|
20
|
+
log_bench('Preparing gem build directory...') { prepare_gem_build_directory }
|
21
|
+
log_bench('Building gem...') { build_gem }
|
22
|
+
built_gems.each { |gem| log_bench("Publishing #{ File.basename gem }...") { publish_gem gem } }
|
23
|
+
end
|
24
|
+
|
25
|
+
|
26
|
+
private
|
27
|
+
|
28
|
+
|
29
|
+
def build_gem
|
30
|
+
Dir.chdir(Satorix.app_dir) do
|
31
|
+
run_command 'bundle exec rake build'
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
|
36
|
+
def built_gems
|
37
|
+
Dir.glob(File.join(gem_build_directory, '*.gem')).select { |e| File.file? e }
|
38
|
+
end
|
39
|
+
|
40
|
+
|
41
|
+
def gem_build_directory
|
42
|
+
File.join Satorix.app_dir, 'pkg'
|
43
|
+
end
|
44
|
+
|
45
|
+
|
46
|
+
def generate_rubygems_configuration_file
|
47
|
+
path = File.join(Dir.home, '.gem')
|
48
|
+
FileUtils.mkdir_p(path) unless File.exist?(path)
|
49
|
+
|
50
|
+
file = File.join(path, 'credentials')
|
51
|
+
File.open(file, 'w') { |f| f.write rubygems_configuration_file_contents }
|
52
|
+
FileUtils.chmod 0o600, file
|
53
|
+
end
|
54
|
+
|
55
|
+
|
56
|
+
def prepare_gem_build_directory
|
57
|
+
run_command "rm -rf #{ gem_build_directory }"
|
58
|
+
FileUtils.mkdir_p gem_build_directory
|
59
|
+
end
|
60
|
+
|
61
|
+
|
62
|
+
def publish_gem(gem)
|
63
|
+
run_command "gem push #{ gem } --config-file #{ File.join(Dir.home, '.gem', 'credentials') }"
|
64
|
+
rescue RuntimeError
|
65
|
+
# To prevent the display of an ugly stacktrace.
|
66
|
+
abort "\nGem was not published!"
|
67
|
+
end
|
68
|
+
|
69
|
+
|
70
|
+
def rubygems_api_key
|
71
|
+
ENV['SATORIX_CI_RUBYGEMS_API_KEY']
|
72
|
+
end
|
73
|
+
|
74
|
+
|
75
|
+
def rubygems_configuration_file_contents
|
76
|
+
"---\n:rubygems_api_key: #{ rubygems_api_key }"
|
77
|
+
end
|
78
|
+
|
79
|
+
|
80
|
+
end
|
81
|
+
end
|
82
|
+
end
|
83
|
+
end
|
@@ -0,0 +1,36 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Satorix
|
4
|
+
module CI
|
5
|
+
module Test
|
6
|
+
module CustomBundlerAudit
|
7
|
+
|
8
|
+
include Satorix::Shared::Console
|
9
|
+
|
10
|
+
extend self
|
11
|
+
|
12
|
+
|
13
|
+
def go
|
14
|
+
log_bench('Displaying current Ruby version...') { run_command 'ruby -v' }
|
15
|
+
log_bench('Installing bundler-audit...') { install_gem }
|
16
|
+
log_bench('Auditing Gemfile.lock...') { run_scan }
|
17
|
+
end
|
18
|
+
|
19
|
+
|
20
|
+
private
|
21
|
+
|
22
|
+
|
23
|
+
def install_gem
|
24
|
+
run_command "gem install bundler-audit --no-document --bindir #{ Satorix.bin_dir }"
|
25
|
+
end
|
26
|
+
|
27
|
+
|
28
|
+
def run_scan
|
29
|
+
run_command 'bundle-audit check --update --ignore CVE-2015-9284'
|
30
|
+
end
|
31
|
+
|
32
|
+
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
36
|
+
end
|
data/satorix/custom.rb
ADDED
@@ -0,0 +1,27 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Satorix
|
4
|
+
module Custom
|
5
|
+
|
6
|
+
# Ensure the files required by the available_jobs method are available.
|
7
|
+
require_relative 'CI/deploy/rubygems.rb'
|
8
|
+
require_relative 'CI/test/custom_bundler_audit'
|
9
|
+
|
10
|
+
|
11
|
+
extend self
|
12
|
+
|
13
|
+
|
14
|
+
def available_jobs
|
15
|
+
{
|
16
|
+
deploy: {
|
17
|
+
deploy_to_rubygems: Satorix::CI::Deploy::Rubygems
|
18
|
+
},
|
19
|
+
test: {
|
20
|
+
custom_bundler_audit: Satorix::CI::Test::CustomBundlerAudit
|
21
|
+
}
|
22
|
+
}
|
23
|
+
end
|
24
|
+
|
25
|
+
|
26
|
+
end
|
27
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: omniauth-oauth2-generic
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
7
|
+
- Satorix
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-08-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: omniauth-oauth2
|
@@ -24,70 +24,14 @@ dependencies:
|
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '1.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: '1.13'
|
34
|
-
type: :development
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - "~>"
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '1.13'
|
41
27
|
- !ruby/object:Gem::Dependency
|
42
28
|
name: rake
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - "~>"
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: '10.0'
|
48
|
-
type: :development
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - "~>"
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: '10.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: '3.1'
|
62
|
-
type: :development
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - "~>"
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: '3.1'
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
name: rack-test
|
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: webmock
|
85
29
|
requirement: !ruby/object:Gem::Requirement
|
86
30
|
requirements:
|
87
31
|
- - ">="
|
88
32
|
- !ruby/object:Gem::Version
|
89
33
|
version: '0'
|
90
|
-
type: :
|
34
|
+
type: :runtime
|
91
35
|
prerelease: false
|
92
36
|
version_requirements: !ruby/object:Gem::Requirement
|
93
37
|
requirements:
|
@@ -96,17 +40,19 @@ dependencies:
|
|
96
40
|
version: '0'
|
97
41
|
description: Generic, Configurable OmniAuth Strategy for OAuth2 providers
|
98
42
|
email:
|
99
|
-
-
|
100
|
-
executables:
|
101
|
-
- console
|
102
|
-
- setup
|
43
|
+
- satorix@iexposure.com
|
44
|
+
executables: []
|
103
45
|
extensions: []
|
104
46
|
extra_rdoc_files: []
|
105
47
|
files:
|
106
48
|
- ".gitignore"
|
49
|
+
- ".gitlab-ci.yml"
|
107
50
|
- ".rspec"
|
51
|
+
- ".rubocop.yml"
|
52
|
+
- ".ruby-version"
|
108
53
|
- CHANGELOG.md
|
109
54
|
- Gemfile
|
55
|
+
- Gemfile.lock
|
110
56
|
- LICENSE.md
|
111
57
|
- README.md
|
112
58
|
- Rakefile
|
@@ -116,6 +62,9 @@ files:
|
|
116
62
|
- lib/omniauth-oauth2-generic/version.rb
|
117
63
|
- lib/omniauth/strategies/oauth2_generic.rb
|
118
64
|
- omniauth-oauth2-generic.gemspec
|
65
|
+
- satorix/CI/deploy/rubygems.rb
|
66
|
+
- satorix/CI/test/custom_bundler_audit.rb
|
67
|
+
- satorix/custom.rb
|
119
68
|
homepage: https://gitlab.com/satorix/omniauth-oauth2-generic
|
120
69
|
licenses:
|
121
70
|
- MIT
|
@@ -128,15 +77,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
128
77
|
requirements:
|
129
78
|
- - ">="
|
130
79
|
- !ruby/object:Gem::Version
|
131
|
-
version: '
|
80
|
+
version: '1.9'
|
132
81
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
133
82
|
requirements:
|
134
83
|
- - ">="
|
135
84
|
- !ruby/object:Gem::Version
|
136
85
|
version: '0'
|
137
86
|
requirements: []
|
138
|
-
|
139
|
-
rubygems_version: 2.6.13
|
87
|
+
rubygems_version: 3.0.3
|
140
88
|
signing_key:
|
141
89
|
specification_version: 4
|
142
90
|
summary: Generic, Configurable OmniAuth Strategy for OAuth2 providers
|