omniauth 2.1.2 → 2.1.3

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0de71776aec3f0b016291d25d87fed25bbfa49f5fcd0abcf0f7463be97111e92
4
- data.tar.gz: dd52494efab1533e54f3a85ceab332db16e02ff6d633a00c99f52d7f089303ef
3
+ metadata.gz: 72f75a04a8d177ece789f87bafb01954e87e25006087e1c4b469d9a7245d3f65
4
+ data.tar.gz: 04f1b32853317188896eecf634ce2d2592e0de9441f5ccc2bb24a55a84c0af01
5
5
  SHA512:
6
- metadata.gz: 16de198d83402c9613961994c0fe1f1c9fc709de6a546168830248c237e2fe61f0847e129f94a4bf51570cbb8beffa4e20b6542e23a342a17aa41bd8c2738200
7
- data.tar.gz: f703bef08321f981909d950dba902989b5efb5d4c820b9f6b03c5695bbe56620e2656bfd75d527101ed3d7cdc78dd4c886f2e4991f12c01ea170e1ad900b3245
6
+ metadata.gz: 5e99d765970df98de46c2872a3bf65ccd8012fba74910fa9b608909725a64e167dbd34b53b4b5d673f07955e107893965a3fd7012ef4b2219bdb3ed5dfd5a9ae
7
+ data.tar.gz: 59455629cd76bfa5220a625b6ba4d470be36df8d11a973967f06219015516ca77fdf4c9afa79ba3033a159f5d95d971379f1882afc0973873fabcf779672ac17
@@ -20,7 +20,10 @@ jobs:
20
20
  fail-fast: false
21
21
  matrix:
22
22
  os: [ubuntu, macos]
23
- ruby: [2.5, 2.6, 2.7, '3.0', 3.1, 3.2, head, debug]
23
+ ruby: [2.5, 2.6, 2.7, '3.0', 3.1, 3.2, 3.3, head, debug]
24
+ exclude:
25
+ - os: macos
26
+ ruby: 2.5
24
27
  steps:
25
28
  - uses: actions/checkout@v3
26
29
  - name: Set up Ruby
data/README.md CHANGED
@@ -15,7 +15,7 @@
15
15
  [coveralls]: https://coveralls.io/r/omniauth/omniauth
16
16
 
17
17
  This is the documentation for the in-development branch of OmniAuth.
18
- You can find the documentation for the latest stable release [here](https://github.com/omniauth/omniauth/tree/v2.1.2)
18
+ You can find the documentation for the latest stable release [here](https://github.com/omniauth/omniauth/tree/v2.1.3)
19
19
 
20
20
  ## An Introduction
21
21
  OmniAuth is a library that standardizes multi-provider authentication for
@@ -335,7 +335,9 @@ module OmniAuth
335
335
 
336
336
  def mock_callback_call
337
337
  setup_phase
338
- @env['omniauth.origin'] = session.delete('omniauth.origin')
338
+
339
+ origin = session.delete('omniauth.origin')
340
+ @env['omniauth.origin'] ||= origin
339
341
  @env['omniauth.origin'] = nil if env['omniauth.origin'] == ''
340
342
  @env['omniauth.params'] = session.delete('omniauth.params') || {}
341
343
 
@@ -481,7 +483,7 @@ module OmniAuth
481
483
  OmniAuth.config.full_host.call(env)
482
484
  else
483
485
  # in Rack 1.3.x, request.url explodes if scheme is nil
484
- if request.scheme && request.url.match(URI::ABS_URI)
486
+ if request.scheme && URI.parse(request.url).absolute?
485
487
  uri = URI.parse(request.url.gsub(/\?.*$/, ''))
486
488
  uri.path = ''
487
489
  # sometimes the url is actually showing http inside rails because the
@@ -1,3 +1,3 @@
1
1
  module OmniAuth
2
- VERSION = '2.1.2'.freeze
2
+ VERSION = '2.1.3'.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.1.2
4
+ version: 2.1.3
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: 2023-12-19 00:00:00.000000000 Z
13
+ date: 2025-02-27 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: hashie
@@ -141,7 +141,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
141
141
  - !ruby/object:Gem::Version
142
142
  version: 1.3.5
143
143
  requirements: []
144
- rubygems_version: 3.3.26
144
+ rubygems_version: 3.5.11
145
145
  signing_key:
146
146
  specification_version: 4
147
147
  summary: A generalized Rack framework for multiple-provider authentication.