omniauth-frontrush 1.0.9 → 1.1.0

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
  SHA1:
3
- metadata.gz: 33fb3d7fec7ab946caeab704c5de1a83d232d9af
4
- data.tar.gz: 314c6aec1bad83ff518a862fa5fa51a5319bef28
3
+ metadata.gz: aa687bcb0bb8a508392a5ad7a3316b68c57bc8dc
4
+ data.tar.gz: c9ca78ff7a36f29809b0c0188dc2ca6a728b2c3f
5
5
  SHA512:
6
- metadata.gz: c2c2ae88f8b4e5bf25ccc0c3316d2344aaf77568c871df4c6bdcc1b166d56c99dfc3053b40529a2ed6e3ad3fd6b441c8b36778aebd3c094c8c1cfd7bd6ae8142
7
- data.tar.gz: 2b05578ba4b086c552891a7b1b53ae316315c762ec0a54426bd97474f11e01bb17c5d2f2d02ffbe543d516e7f80896739b44ae46d3ed94c81419116ebf4d2f8b
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
- response = Net::HTTP.start(uri.host, uri.port) do|http|
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.9
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: