omniauth-fenix 0.2.1 → 0.2.2

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: de3404ce9254d7526d58a369951f1ab077fb6b9d
4
- data.tar.gz: b263d5fcdab00582a7bd5d6c435d588421b04070
3
+ metadata.gz: e9b744df946d388d6f300d2845a335ee4274f36a
4
+ data.tar.gz: 3c081312225da1299e28ee0f237e39c5d9f0d0a8
5
5
  SHA512:
6
- metadata.gz: 9a9d572d0d53a8461d946dd5f3df47f431d3b0c10c6eb35ab70db82edb493d8e9f87a0039b158fbe806020f67045c4e00741f4d3b1123c73b624e0b81ede1ca8
7
- data.tar.gz: 5c54d64e0b1aa5d3ed3beb4d35a9c4e846daf7ef4121d589134d093ae1c3571f67fcb036f56090c23259bc69b7c3ce5c974649de6312126af06b4ebb3a2f00aa
6
+ metadata.gz: d2ae30d48fa615f8c8abdda775d1b91164add17216c9454793b262dc619035ec34a88fdd89c11224fa7e385e2ea0f666d82a45c8d01074e4fef0c5c3202f7865
7
+ data.tar.gz: 3189dcfeaa86edafa9d01f6ecdc25220ccc4599adf25957473fc54f5e0af1fbdb1f316c364e5aed952074217e5c72b0e1d578fac8a33a0715fa770cbf903f41f
@@ -1,5 +1,5 @@
1
1
  module Omniauth
2
2
  module Fenix
3
- VERSION = "0.2.1"
3
+ VERSION = "0.2.2"
4
4
  end
5
5
  end
@@ -11,6 +11,8 @@ module OmniAuth
11
11
  :authorize_url => 'https://fenix.tecnico.ulisboa.pt/oauth/'
12
12
  }
13
13
 
14
+ AUTHORIZE_URL = 'https://fenix.tecnico.ulisboa.pt/oauth/'
15
+
14
16
  def request_phase
15
17
  redirect request_url
16
18
  end
@@ -37,7 +39,7 @@ module OmniAuth
37
39
  private
38
40
 
39
41
  def request_url
40
- "#{client_options.authorize_url}userdialog?client_id=#{client.id}&redirect_uri=#{callback_url}"
42
+ "#{AUTHORIZE_URL}userdialog?client_id=#{client.id}&redirect_uri=#{callback_url}"
41
43
  end
42
44
  end
43
45
  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: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rui Mangas Pereira