omniauth-fenix 1.0.4 → 1.0.5

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: c532544581f23c60d1fe240251f54605bad65cde
4
- data.tar.gz: e41eb8e55f8037ec674d7ed393e819023ae100d4
3
+ metadata.gz: 237912578b8de9360c688f9412a253cd601ec4b5
4
+ data.tar.gz: 6a2d5b179f55b52167fc5ec15cef007894fa1247
5
5
  SHA512:
6
- metadata.gz: f03c9a0fb56f3e6cad2b99af0a0fcf90b257f8a3c5a11016a23b1594658be354814739a214422cce3905241015c8eefb2b3991cecbe08482996fdc23b465e2c7
7
- data.tar.gz: a638109bf7d4b1e8392e50075a250e28cad77197346b6f05b69e164195e237612417ee37315c953412f63fefbfbe89f6013fd7a59e487b698ebdddec3799507d
6
+ metadata.gz: bf8026e0fcffcc4ffb11c8491f7edf212c890db0e097b109bf21b35ed0dadebd6e0732bdc8cf3ae6869a308af2c3a6865a266cf26cc64da3310c051c43730924
7
+ data.tar.gz: 50e3566c357c9d01a34dc06f2bbaed0faa114e21d006be38228d886f9fc3e6560046f445441f6dd7aa5fc9eb4cb3ced002b1f7af33d7f59d31f9c3e753938f32
@@ -46,19 +46,14 @@ module OmniAuth
46
46
  end
47
47
 
48
48
  def parsed_callback_url
49
- puts "CALLBACK 1"
50
- p callback_url
51
- puts "CALLBACK 1"
52
- puts "CALLBACK 2"
53
- p callback_url.split("?").first
54
- puts "CALLBACK 2"
49
+ callback_url.split('?').first
55
50
  end
56
51
 
57
52
  private
58
53
 
59
54
  def request_url
60
55
  authorize_url = 'https://fenix.tecnico.ulisboa.pt/oauth/'
61
- "#{authorize_url}userdialog?client_id=#{client.id}&redirect_uri=#{callback_url}"
56
+ "#{authorize_url}userdialog?client_id=#{client.id}&redirect_uri=#{parsed_callback_url}"
62
57
  end
63
58
  end
64
59
  end
@@ -1,5 +1,5 @@
1
1
  module Omniauth
2
2
  module Fenix
3
- VERSION = "1.0.4"
3
+ VERSION = "1.0.5"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-fenix
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rui Mangas Pereira