omniauth 1.3.1 → 2.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.github/FUNDING.yml +2 -0
- data/.github/ISSUE_TEMPLATE.md +20 -0
- data/.github/workflows/main.yml +89 -0
- data/.gitignore +1 -0
- data/.rubocop.yml +21 -9
- data/Gemfile +16 -11
- data/LICENSE.md +1 -1
- data/README.md +88 -27
- data/Rakefile +38 -2
- data/SECURITY.md +17 -0
- data/lib/omniauth/auth_hash.rb +6 -7
- data/lib/omniauth/authenticity_token_protection.rb +32 -0
- data/lib/omniauth/builder.rb +3 -21
- data/lib/omniauth/failure_endpoint.rb +13 -2
- data/lib/omniauth/form.css +1 -1
- data/lib/omniauth/form.rb +2 -1
- data/lib/omniauth/key_store.rb +22 -0
- data/lib/omniauth/strategies/developer.rb +1 -1
- data/lib/omniauth/strategy.rb +125 -61
- data/lib/omniauth/test/strategy_test_case.rb +2 -2
- data/lib/omniauth/version.rb +1 -1
- data/lib/omniauth.rb +20 -8
- data/omniauth.gemspec +10 -6
- metadata +45 -22
- data/.travis.yml +0 -33
- data/Gemfile.rack-1.3.x +0 -20
- data/Gemfile.rack-master +0 -16
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: omniauth
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Bleigh
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2021-04-07 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: hashie
|
@@ -18,27 +18,21 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - ">="
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version:
|
22
|
-
- - "<"
|
23
|
-
- !ruby/object:Gem::Version
|
24
|
-
version: '4'
|
21
|
+
version: 3.4.6
|
25
22
|
type: :runtime
|
26
23
|
prerelease: false
|
27
24
|
version_requirements: !ruby/object:Gem::Requirement
|
28
25
|
requirements:
|
29
26
|
- - ">="
|
30
27
|
- !ruby/object:Gem::Version
|
31
|
-
version:
|
32
|
-
- - "<"
|
33
|
-
- !ruby/object:Gem::Version
|
34
|
-
version: '4'
|
28
|
+
version: 3.4.6
|
35
29
|
- !ruby/object:Gem::Dependency
|
36
30
|
name: rack
|
37
31
|
requirement: !ruby/object:Gem::Requirement
|
38
32
|
requirements:
|
39
33
|
- - ">="
|
40
34
|
- !ruby/object:Gem::Version
|
41
|
-
version:
|
35
|
+
version: 1.6.2
|
42
36
|
- - "<"
|
43
37
|
- !ruby/object:Gem::Version
|
44
38
|
version: '3'
|
@@ -48,7 +42,7 @@ dependencies:
|
|
48
42
|
requirements:
|
49
43
|
- - ">="
|
50
44
|
- !ruby/object:Gem::Version
|
51
|
-
version:
|
45
|
+
version: 1.6.2
|
52
46
|
- - "<"
|
53
47
|
- !ruby/object:Gem::Version
|
54
48
|
version: '3'
|
@@ -58,14 +52,42 @@ dependencies:
|
|
58
52
|
requirements:
|
59
53
|
- - "~>"
|
60
54
|
- !ruby/object:Gem::Version
|
61
|
-
version: '
|
55
|
+
version: '2.0'
|
56
|
+
type: :development
|
57
|
+
prerelease: false
|
58
|
+
version_requirements: !ruby/object:Gem::Requirement
|
59
|
+
requirements:
|
60
|
+
- - "~>"
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: '2.0'
|
63
|
+
- !ruby/object:Gem::Dependency
|
64
|
+
name: rack-protection
|
65
|
+
requirement: !ruby/object:Gem::Requirement
|
66
|
+
requirements:
|
67
|
+
- - ">="
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '0'
|
70
|
+
type: :runtime
|
71
|
+
prerelease: false
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
requirements:
|
74
|
+
- - ">="
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: '0'
|
77
|
+
- !ruby/object:Gem::Dependency
|
78
|
+
name: rake
|
79
|
+
requirement: !ruby/object:Gem::Requirement
|
80
|
+
requirements:
|
81
|
+
- - "~>"
|
82
|
+
- !ruby/object:Gem::Version
|
83
|
+
version: '12.0'
|
62
84
|
type: :development
|
63
85
|
prerelease: false
|
64
86
|
version_requirements: !ruby/object:Gem::Requirement
|
65
87
|
requirements:
|
66
88
|
- - "~>"
|
67
89
|
- !ruby/object:Gem::Version
|
68
|
-
version: '
|
90
|
+
version: '12.0'
|
69
91
|
description: A generalized Rack framework for multiple-provider authentication.
|
70
92
|
email:
|
71
93
|
- michael@intridea.com
|
@@ -75,23 +97,26 @@ executables: []
|
|
75
97
|
extensions: []
|
76
98
|
extra_rdoc_files: []
|
77
99
|
files:
|
100
|
+
- ".github/FUNDING.yml"
|
101
|
+
- ".github/ISSUE_TEMPLATE.md"
|
102
|
+
- ".github/workflows/main.yml"
|
78
103
|
- ".gitignore"
|
79
104
|
- ".rspec"
|
80
105
|
- ".rubocop.yml"
|
81
|
-
- ".travis.yml"
|
82
106
|
- ".yardopts"
|
83
107
|
- Gemfile
|
84
|
-
- Gemfile.rack-1.3.x
|
85
|
-
- Gemfile.rack-master
|
86
108
|
- LICENSE.md
|
87
109
|
- README.md
|
88
110
|
- Rakefile
|
111
|
+
- SECURITY.md
|
89
112
|
- lib/omniauth.rb
|
90
113
|
- lib/omniauth/auth_hash.rb
|
114
|
+
- lib/omniauth/authenticity_token_protection.rb
|
91
115
|
- lib/omniauth/builder.rb
|
92
116
|
- lib/omniauth/failure_endpoint.rb
|
93
117
|
- lib/omniauth/form.css
|
94
118
|
- lib/omniauth/form.rb
|
119
|
+
- lib/omniauth/key_store.rb
|
95
120
|
- lib/omniauth/strategies/developer.rb
|
96
121
|
- lib/omniauth/strategy.rb
|
97
122
|
- lib/omniauth/test.rb
|
@@ -100,7 +125,7 @@ files:
|
|
100
125
|
- lib/omniauth/test/strategy_test_case.rb
|
101
126
|
- lib/omniauth/version.rb
|
102
127
|
- omniauth.gemspec
|
103
|
-
homepage:
|
128
|
+
homepage: https://github.com/omniauth/omniauth
|
104
129
|
licenses:
|
105
130
|
- MIT
|
106
131
|
metadata: {}
|
@@ -112,17 +137,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
112
137
|
requirements:
|
113
138
|
- - ">="
|
114
139
|
- !ruby/object:Gem::Version
|
115
|
-
version: '
|
140
|
+
version: '2.2'
|
116
141
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
117
142
|
requirements:
|
118
143
|
- - ">="
|
119
144
|
- !ruby/object:Gem::Version
|
120
145
|
version: 1.3.5
|
121
146
|
requirements: []
|
122
|
-
|
123
|
-
rubygems_version: 2.5.1
|
147
|
+
rubygems_version: 3.0.0
|
124
148
|
signing_key:
|
125
149
|
specification_version: 4
|
126
150
|
summary: A generalized Rack framework for multiple-provider authentication.
|
127
151
|
test_files: []
|
128
|
-
has_rdoc:
|
data/.travis.yml
DELETED
@@ -1,33 +0,0 @@
|
|
1
|
-
bundler_args: --without development
|
2
|
-
before_install: gem install bundler
|
3
|
-
cache: bundler
|
4
|
-
env:
|
5
|
-
global:
|
6
|
-
- JRUBY_OPTS="$JRUBY_OPTS --debug"
|
7
|
-
gemfile:
|
8
|
-
- Gemfile
|
9
|
-
- Gemfile.rack-1.3.x
|
10
|
-
language: ruby
|
11
|
-
rvm:
|
12
|
-
- jruby-18mode
|
13
|
-
- jruby-19mode
|
14
|
-
- jruby-9000
|
15
|
-
- 1.8.7
|
16
|
-
- 1.9.3
|
17
|
-
- 2.0.0
|
18
|
-
- 2.1
|
19
|
-
- 2.2
|
20
|
-
- jruby-head
|
21
|
-
- rbx-2
|
22
|
-
- ruby-head
|
23
|
-
matrix:
|
24
|
-
include:
|
25
|
-
- rvm: 2.2.2
|
26
|
-
gemfile: Gemfile.rack-master
|
27
|
-
allow_failures:
|
28
|
-
- rvm: jruby-head
|
29
|
-
- rvm: rbx-2
|
30
|
-
- rvm: ruby-head
|
31
|
-
- gemfile: Gemfile.rack-master
|
32
|
-
fast_finish: true
|
33
|
-
sudo: false
|
data/Gemfile.rack-1.3.x
DELETED
@@ -1,20 +0,0 @@
|
|
1
|
-
source 'https://rubygems.org'
|
2
|
-
|
3
|
-
gem 'jruby-openssl', :platforms => :jruby
|
4
|
-
gem 'rack', '~> 1.3.0'
|
5
|
-
gem 'rake'
|
6
|
-
gem 'yard'
|
7
|
-
|
8
|
-
group :test do
|
9
|
-
gem 'coveralls'
|
10
|
-
gem 'hashie', '~> 2.0.5', :platforms => [:jruby_18, :ruby_18]
|
11
|
-
gem 'json', '>= 1.8.1', :platforms => [:jruby_18, :jruby_18, :ruby_18, :ruby_19]
|
12
|
-
gem 'mime-types', '~> 1.25', :platforms => [:jruby_18, :ruby_18]
|
13
|
-
gem 'rack-test'
|
14
|
-
gem 'rest-client', '~> 1.6.0', :platforms => [:jruby_18, :ruby_18]
|
15
|
-
gem 'rspec', '~> 3.0'
|
16
|
-
gem 'rubocop', '>= 0.25', :platforms => [:ruby_19, :ruby_20, :ruby_21]
|
17
|
-
gem 'simplecov', '>= 0.9'
|
18
|
-
end
|
19
|
-
|
20
|
-
gemspec
|
data/Gemfile.rack-master
DELETED
@@ -1,16 +0,0 @@
|
|
1
|
-
source 'https://rubygems.org'
|
2
|
-
|
3
|
-
gem 'jruby-openssl', :platforms => :jruby
|
4
|
-
gem 'rack', :git => 'https://github.com/rack/rack.git'
|
5
|
-
gem 'rake'
|
6
|
-
gem 'yard'
|
7
|
-
|
8
|
-
group :test do
|
9
|
-
gem 'coveralls'
|
10
|
-
gem 'rack-test'
|
11
|
-
gem 'rspec', '~> 3.0'
|
12
|
-
gem 'rubocop', '>= 0.25'
|
13
|
-
gem 'simplecov', '>= 0.9'
|
14
|
-
end
|
15
|
-
|
16
|
-
gemspec
|