omniauth-frontrush 1.0.9 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/omniauth/strategies/frontrush.rb +3 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aa687bcb0bb8a508392a5ad7a3316b68c57bc8dc
|
4
|
+
data.tar.gz: c9ca78ff7a36f29809b0c0188dc2ca6a728b2c3f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4ff140497d5b29c823ed6cdef63d709a1610dc6552c99b3cf9fbeb44492de9060ee49fc4a589007a8a0c896eff6d5649136e5e99a843bcedfd24053211d43950
|
7
|
+
data.tar.gz: b5e20fc858c3d45564e1dae948d77f86feb311dbf49b993396056f79bf58b9e65d21488ae3cd7deea8b6c9133bdefa41f9057ae166dcc9d8416a9dfddf14a578
|
@@ -18,6 +18,7 @@ module OmniAuth
|
|
18
18
|
end
|
19
19
|
|
20
20
|
def callback_phase
|
21
|
+
puts "call back yo!!"
|
21
22
|
optionshash = { consumer_key: options[:consumer_key], consumer_secret: options[:consumer_secret], token: nil, token_secret: nil }
|
22
23
|
response = get_access_token(request, options, optionshash)
|
23
24
|
super if get_json_from_response(response)
|
@@ -29,7 +30,8 @@ module OmniAuth
|
|
29
30
|
url = set_request_url(request, options)
|
30
31
|
uri = URI.parse(url)
|
31
32
|
request = Net::HTTP::Get.new(URI.parse(url))
|
32
|
-
|
33
|
+
ssl = (uri.scheme == "https")
|
34
|
+
response = Net::HTTP.start(uri.host, uri.port,:use_ssl => ssl) do|http|
|
33
35
|
http.request(request)
|
34
36
|
end
|
35
37
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: omniauth-frontrush
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dhanesh Neela Mana
|
@@ -145,3 +145,4 @@ specification_version: 4
|
|
145
145
|
summary: omniauth-frontrush!
|
146
146
|
test_files:
|
147
147
|
- test/test_omniauth-fr.rb
|
148
|
+
has_rdoc:
|