omniauth 2.0.1 → 2.0.2

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: dbdf062b85d46f1ba0bbcad1a84f2477133a8f4b2e5df1d353b6677dabe196b4
4
- data.tar.gz: 533d37149cd0f1a38b7db388061e3cbc348164e68deb1547050e0489a8f63d0a
3
+ metadata.gz: 0fdf824504c682674830ea2d69b88977ca4be10f49f79130b3f75d324c7806d6
4
+ data.tar.gz: 2dc858d06ff250e7e4bef4d581bf64fb70d3a2baccbebcb53f81ff24e1023797
5
5
  SHA512:
6
- metadata.gz: cc4dd9342d10c1891d0663e674b39e1ad38b9179d02517c8a1dd7c82412222b2d4460c9cbba2ddf734e4952dc7fb958030baf02a5b6fc4291eb6a0f6b3e9e8a0
7
- data.tar.gz: 9638ef03dcce6a64b2fda160ce3d687a59a08ae8aa19ef533cd32659ce2f2acba3b785f71f31357f65ac8af3415a748596c334b8f6b9b22e6223d166f409fd4b
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 version 2.0.1.
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
@@ -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]
@@ -1,3 +1,3 @@
1
1
  module OmniAuth
2
- VERSION = '2.0.1'.freeze
2
+ VERSION = '2.0.2'.freeze
3
3
  end
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.1
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-01-16 00:00:00.000000000 Z
13
+ date: 2021-02-02 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: hashie