omniauth-dice 0.1.6 → 0.1.7
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
- checksums.yaml.gz.sig +0 -0
- data/lib/omniauth/dice/version.rb +1 -1
- data/lib/omniauth/strategies/dice.rb +2 -2
- data/spec/omniauth/strategies/dice_integrations_spec.rb +8 -0
- data.tar.gz.sig +0 -0
- metadata +3 -3
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d3e3c1ff7fd4f0c7142db67485b2b0703ad6b2cf
|
|
4
|
+
data.tar.gz: 26df981c24baad50882bc51060fad08f249bc1f2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c34aa758d14625e472abaacd4172219f8dac681fc1f872a0f415b11a6fa6fe2cd75f70ef26c724785598e1b3a7fa12bac4d29a5f12160c546393d14020fa741f
|
|
7
|
+
data.tar.gz: 876d1e5bd078eb0dde3ecff94969a85365223d5e1fccddf9978ce8780d1c7724d8e9d24c65676ef80350712c0c10e91970f264979892b81689f7e36ea1855aad
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
|
@@ -105,12 +105,12 @@ module OmniAuth
|
|
|
105
105
|
|
|
106
106
|
def auth_hash
|
|
107
107
|
log :debug, '.auth_hash'
|
|
108
|
-
{
|
|
108
|
+
Hashie::Mash.new( {
|
|
109
109
|
'provider' => name,
|
|
110
110
|
'uid' => uid,
|
|
111
111
|
'info' => info,
|
|
112
112
|
'extra' => extra
|
|
113
|
-
}
|
|
113
|
+
} )
|
|
114
114
|
end
|
|
115
115
|
|
|
116
116
|
# Set the user's uid field for the auth_hash
|
|
@@ -178,6 +178,14 @@ describe OmniAuth::Strategies::Dice, type: :strategy do
|
|
|
178
178
|
raw_info = last_request.env['rack.session']['omniauth.auth']['extra']['raw_info']
|
|
179
179
|
expect(raw_info).to eq(valid_user_xml)
|
|
180
180
|
end
|
|
181
|
+
|
|
182
|
+
it 'should allow accessing auth_hash values via methods' do
|
|
183
|
+
header 'Ssl-Client-Cert', user_cert
|
|
184
|
+
get '/auth/dice'
|
|
185
|
+
follow_redirect!
|
|
186
|
+
expect(last_request.env['rack.session']['omniauth.auth']).to be_kind_of(Hash)
|
|
187
|
+
expect(last_request.env['rack.session']['omniauth.auth'].provider).to eq('dice')
|
|
188
|
+
end
|
|
181
189
|
end
|
|
182
190
|
|
|
183
191
|
context 'fail' do
|
data.tar.gz.sig
CHANGED
|
Binary file
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: omniauth-dice
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.7
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Steven Haddox
|
|
@@ -30,7 +30,7 @@ cert_chain:
|
|
|
30
30
|
42qdwEXvvkODZAD6KAIXPdmbMfBgPbcd+B/4eUA0PyKo+4dgL1NuqX4MPWToevIZ
|
|
31
31
|
O8EKLF2X7NmC6FY1bOsSj/J8r1SOkx0rxgF+geRvY1P+hfNjDfxTsjU=
|
|
32
32
|
-----END CERTIFICATE-----
|
|
33
|
-
date: 2015-02-
|
|
33
|
+
date: 2015-02-11 00:00:00.000000000 Z
|
|
34
34
|
dependencies:
|
|
35
35
|
- !ruby/object:Gem::Dependency
|
|
36
36
|
name: awesome_print
|
|
@@ -407,7 +407,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
407
407
|
version: '0'
|
|
408
408
|
requirements: []
|
|
409
409
|
rubyforge_project:
|
|
410
|
-
rubygems_version: 2.
|
|
410
|
+
rubygems_version: 2.2.2
|
|
411
411
|
signing_key:
|
|
412
412
|
specification_version: 4
|
|
413
413
|
summary: DN Interoperable Conversion Expert Strategy
|
metadata.gz.sig
CHANGED
|
Binary file
|