omniauth 2.0.1 → 2.0.2
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 +4 -4
- data/README.md +1 -1
- data/lib/omniauth/strategy.rb +3 -1
- data/lib/omniauth/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0fdf824504c682674830ea2d69b88977ca4be10f49f79130b3f75d324c7806d6
|
|
4
|
+
data.tar.gz: 2dc858d06ff250e7e4bef4d581bf64fb70d3a2baccbebcb53f81ff24e1023797
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 655b84ed20ad9b5c6a402e84c2333eab3e2a681d9aa4ba67f754448d02031a260fb7868b2dfa25016ed941a123aa4b991d0affbffa5170ee440d389c650b4316
|
|
7
|
+
data.tar.gz: 64a646106221782aff31af2bcab225b79314d8d90c0072a24488633e01d049721a1231959d424135f59d052add7bc47780e7f2affac44acd46e1eb9b0a1f5847
|
data/README.md
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
[codeclimate]: https://codeclimate.com/github/omniauth/omniauth
|
|
11
11
|
[coveralls]: https://coveralls.io/r/omniauth/omniauth
|
|
12
12
|
|
|
13
|
-
This is the documentation for
|
|
13
|
+
This is the documentation for OmniAuth v2.0.2.
|
|
14
14
|
|
|
15
15
|
## An Introduction
|
|
16
16
|
OmniAuth is a library that standardizes multi-provider authentication for
|
data/lib/omniauth/strategy.rb
CHANGED
|
@@ -299,7 +299,6 @@ module OmniAuth
|
|
|
299
299
|
# in test mode.
|
|
300
300
|
def mock_call!(*)
|
|
301
301
|
begin
|
|
302
|
-
OmniAuth.config.request_validation_phase.call(env) if OmniAuth.config.request_validation_phase
|
|
303
302
|
return mock_request_call if on_request_path? && OmniAuth.config.allowed_request_methods.include?(request.request_method.downcase.to_sym)
|
|
304
303
|
return mock_callback_call if on_callback_path?
|
|
305
304
|
rescue StandardError => e
|
|
@@ -313,7 +312,10 @@ module OmniAuth
|
|
|
313
312
|
setup_phase
|
|
314
313
|
|
|
315
314
|
session['omniauth.params'] = request.GET
|
|
315
|
+
|
|
316
|
+
OmniAuth.config.request_validation_phase.call(env) if OmniAuth.config.request_validation_phase
|
|
316
317
|
OmniAuth.config.before_request_phase.call(env) if OmniAuth.config.before_request_phase
|
|
318
|
+
|
|
317
319
|
if options.origin_param
|
|
318
320
|
if request.params[options.origin_param]
|
|
319
321
|
session['omniauth.origin'] = request.params[options.origin_param]
|
data/lib/omniauth/version.rb
CHANGED
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: 2.0.
|
|
4
|
+
version: 2.0.2
|
|
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: 2021-
|
|
13
|
+
date: 2021-02-02 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: hashie
|