omniauth 2.0.3 → 2.0.4
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/.github/workflows/main.yml +1 -1
- data/README.md +1 -1
- data/lib/omniauth/strategy.rb +5 -3
- 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: bda926095916de4b9694aaea0102e28ba4589485ac7299e14818d16c80114e2d
|
4
|
+
data.tar.gz: 933f85d44aa3ce65274350f6b460c0c1f48bfe0e7c6231091e0fe05cc07b741c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b67754b61bea388ad20c8a2e305fdcdb0310cc6cd910eec4b3fbb6d2e5b86c24d99970e79f2b9913f4cc575ec25572408c87a4236728214edb10a7d0fe926fc0
|
7
|
+
data.tar.gz: a089f325f9b80fdba2f0f0561e0d050b36d47f49e763e33e381d427d8592009fa4da80db50e47f2d172bf96fb6d8d46455b68ec0e3fae632b752a1decbf0941f
|
data/.github/workflows/main.yml
CHANGED
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 the version [v2.0.4](https://github.com/omniauth/omniauth/tree/v2.0.4) of OmniAuth.
|
14
14
|
|
15
15
|
## An Introduction
|
16
16
|
OmniAuth is a library that standardizes multi-provider authentication for
|
data/lib/omniauth/strategy.rb
CHANGED
@@ -180,9 +180,10 @@ module OmniAuth
|
|
180
180
|
raise(error)
|
181
181
|
end
|
182
182
|
|
183
|
-
warn_if_using_get
|
184
|
-
|
185
183
|
@env = env
|
184
|
+
|
185
|
+
warn_if_using_get_on_request_path
|
186
|
+
|
186
187
|
@env['omniauth.strategy'] = self if on_auth_path?
|
187
188
|
|
188
189
|
return mock_call!(env) if OmniAuth.config.test_mode
|
@@ -201,7 +202,8 @@ module OmniAuth
|
|
201
202
|
@app.call(env)
|
202
203
|
end
|
203
204
|
|
204
|
-
def
|
205
|
+
def warn_if_using_get_on_request_path
|
206
|
+
return unless on_request_path?
|
205
207
|
return unless OmniAuth.config.allowed_request_methods.include?(:get)
|
206
208
|
return if OmniAuth.config.silence_get_warning
|
207
209
|
|
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.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: 2021-
|
13
|
+
date: 2021-04-07 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: hashie
|