omniauth-galvanize 0.1.0 → 0.3.0
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 018d3ae9713ef03859f625a0e4cb29b9b059751e
|
4
|
+
data.tar.gz: e7793a1108d38a04d99bb5eb9efd30bb7ce2df76
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 75f2948593065190a82b1e305bee4cbe62dc309ce8a1387b567b1bdc72193a124da268514771b838e1c24261eae74430aed4ec92f8955d9fde6e1b70b390a750
|
7
|
+
data.tar.gz: 66592d6a067761a7b988752d30b579af76ca6b0344bc18b97155134f2ba0de1d801b66a7b99f09c0692d3b14366d93aeb20f006264156f56d11ee0b3827fce1f
|
@@ -11,6 +11,14 @@ module OmniAuth
|
|
11
11
|
:token_url => '/accounts/token'
|
12
12
|
}
|
13
13
|
|
14
|
+
SETUP_PROC = lambda do |env|
|
15
|
+
if env['omniauth.strategy'].options[:sign_up]
|
16
|
+
env['omniauth.strategy'].options[:client_options][:authorize_url] = 'accounts/signup'
|
17
|
+
end
|
18
|
+
end
|
19
|
+
|
20
|
+
OmniAuth.config.before_request_phase = SETUP_PROC
|
21
|
+
|
14
22
|
uid{ raw_info['results'][0]['id'] }
|
15
23
|
|
16
24
|
info do
|
@@ -37,4 +45,4 @@ module OmniAuth
|
|
37
45
|
end
|
38
46
|
end
|
39
47
|
end
|
40
|
-
end
|
48
|
+
end
|
@@ -11,6 +11,14 @@ module OmniAuth
|
|
11
11
|
:token_url => '/accounts/token'
|
12
12
|
}
|
13
13
|
|
14
|
+
SETUP_PROC = lambda do |env|
|
15
|
+
if env['omniauth.strategy'].options[:sign_up]
|
16
|
+
env['omniauth.strategy'].options[:client_options][:authorize_url] = 'accounts/signup'
|
17
|
+
end
|
18
|
+
end
|
19
|
+
|
20
|
+
OmniAuth.config.before_request_phase = SETUP_PROC
|
21
|
+
|
14
22
|
uid{ raw_info['results'][0]['id'] }
|
15
23
|
|
16
24
|
info do
|
@@ -37,4 +45,4 @@ module OmniAuth
|
|
37
45
|
end
|
38
46
|
end
|
39
47
|
end
|
40
|
-
end
|
48
|
+
end
|
@@ -11,6 +11,14 @@ module OmniAuth
|
|
11
11
|
:token_url => '/accounts/token'
|
12
12
|
}
|
13
13
|
|
14
|
+
SETUP_PROC = lambda do |env|
|
15
|
+
if env['omniauth.strategy'].options[:sign_up]
|
16
|
+
env['omniauth.strategy'].options[:client_options][:authorize_url] = 'accounts/signup'
|
17
|
+
end
|
18
|
+
end
|
19
|
+
|
20
|
+
OmniAuth.config.before_request_phase = SETUP_PROC
|
21
|
+
|
14
22
|
uid{ raw_info['results'][0]['id'] }
|
15
23
|
|
16
24
|
info do
|
@@ -38,4 +46,4 @@ module OmniAuth
|
|
38
46
|
end
|
39
47
|
end
|
40
48
|
end
|
41
|
-
end
|
49
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: omniauth-galvanize
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Cunningham
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-10-
|
11
|
+
date: 2015-10-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: omniauth
|