omniauth-osso 0.1.7 → 0.1.8.pre

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: b09981769f4343227de216a0180af65e37801f2a2f26426525ddef929be8117a
4
- data.tar.gz: f54ee7e9a7a03977c131b783c6e72d06f8842e314da0eb6ef0f4047ff31f64e6
3
+ metadata.gz: efe9a8d36940d227d545a3cf506bd1d381b861eae392eed1b3eec0d02e36d0e5
4
+ data.tar.gz: fd73cbce13680ef1da6e4cc2a2f0556557521d4ffe2e6b970d85172dabe84226
5
5
  SHA512:
6
- metadata.gz: 4cc4dd0a8b35fe79b3f8c90305d7a48f2a8173589a6c35f0635f3408ff6b58b04478de29f1fa22dd78feab0df4c1246eca86541833f8d53350d0c3b7d06ba7f7
7
- data.tar.gz: 57913a87111112e55783dd6989d7e1e987e017296e67ab9215d5cb5bf22ffd5be019031f7b536e5ef64f4118ba33927e44e8b4036d8132fc5327d98fa8da945f
6
+ metadata.gz: 0b0de0abbf87c876d7604d72838b68ea659158449bb9a02ffb588809dabd59d5c2f17c78063404f2c9472a6922a435012414caff00bf77473f8e1a96019c3127
7
+ data.tar.gz: deaa1f5a322dd3ec21b5cb7c839de4aa161fb0bd2ebedde8f75ecd1138f22234a394896f496916a74149063098dd4c86ce683e70f81c75787560e94e60b23aca
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- omniauth-osso (0.1.6)
4
+ omniauth-osso (0.1.7)
5
5
  omniauth-oauth2 (>= 1.6, < 1.8)
6
6
 
7
7
  GEM
@@ -2,6 +2,6 @@
2
2
 
3
3
  module OmniAuth
4
4
  module Osso
5
- VERSION = '0.1.7'
5
+ VERSION = '0.1.8.pre'
6
6
  end
7
7
  end
@@ -82,7 +82,7 @@ module OmniAuth
82
82
  protected
83
83
 
84
84
  def callback_url
85
- ENV['OSSO_REDIRECT_URI'] || super
85
+ full_host + callback_path
86
86
  end
87
87
 
88
88
  def user_param
@@ -57,8 +57,7 @@ describe OmniAuth::Strategies::Osso do
57
57
  subject { fresh_strategy }
58
58
 
59
59
  before do
60
- ENV['OSSO_REDIRECT_URI'] = url
61
- ENV['OSSO_BASE_URL'] = 'https://osso-base.com'
60
+ OmniAuth.config.full_host = 'https://osso-base.com'
62
61
  end
63
62
 
64
63
  it 'includes domain passed as a request param' do
@@ -96,7 +95,6 @@ describe OmniAuth::Strategies::Osso do
96
95
 
97
96
  before do
98
97
  OmniAuth.config.test_mode = true
99
- ENV['OSSO_REDIRECT_URI'] = url
100
98
  ENV['OSSO_BASE_URL'] = 'https://osso-base.com'
101
99
  allow(instance).to receive(:auth_hash) { auth_hash }
102
100
  instance.env = {}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-osso
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8.pre
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sam Bauch
@@ -92,9 +92,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
92
92
  version: '2.4'
93
93
  required_rubygems_version: !ruby/object:Gem::Requirement
94
94
  requirements:
95
- - - ">="
95
+ - - ">"
96
96
  - !ruby/object:Gem::Version
97
- version: '0'
97
+ version: 1.3.1
98
98
  requirements: []
99
99
  rubygems_version: 3.0.3
100
100
  signing_key: