omniauth-fenix 0.1.5 → 0.1.6

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: 4134c06ce849b51d538e1269fb0b13669c112b72
4
- data.tar.gz: e862f4ffd221c813598ffbae4095e35a0552ca41
3
+ metadata.gz: fe94626269963e4448520a8de6450d1b7a8b772b
4
+ data.tar.gz: 506df4d9f8d21538c3c4a4dfc6a39c8808c6cb70
5
5
  SHA512:
6
- metadata.gz: ed0e20a58ff28cdb3be033c707f57eb491f609ea0598746c3882508129b0fa5b4d4c381e311c4df2f7e5249a7165d3635bb109caf8cb704a133f6cb2dc89e7a5
7
- data.tar.gz: 59d4889c548b9ea728ee1b1f24cdb7706e2c9507758dc07cd15edc6396530cea13eee971728f76a81fd01c66e4ac2917232b5a9fe1f92bffaf9792334049abc0
6
+ metadata.gz: 5dec4ddd5c6a8b7fce057abc4c375e5769b5b1ff295b4e7bc808f642582016d3b4dd969456ee2037b78eb8c518f11cac84692b0e56c2985eee7599295015003f
7
+ data.tar.gz: ce3fcd3cd7dcad84a4d340ae60981f576c6c600040bd26da96c3fc82dc607f86b610f979210b1073edbc0878fb50ce9e243df761f5a1fe56617710b3aa9dbb73
@@ -5,11 +5,7 @@ module OmniAuth
5
5
  class Fenix < OmniAuth::Strategies::OAuth2
6
6
  option :name, 'fenix'
7
7
 
8
- option :client_options, {
9
- :site => 'https://fenix.tecnico.ulisboa.pt'
10
- }
11
-
12
- args [:api_key, :api_secret]
8
+ args [:api_key]
13
9
 
14
10
  AUTHORIZE_URL = 'https://fenix.tecnico.ulisboa.pt/oauth/'
15
11
 
@@ -28,7 +24,7 @@ module OmniAuth
28
24
  end
29
25
 
30
26
  def raw_info
31
- @raw_info ||= access_token.get("#{options.site}/api/fenix/v1/person").parsed
27
+ @raw_info ||= access_token.get("https://fenix.tecnico.ulisboa.pt/api/fenix/v1/person").parsed
32
28
  end
33
29
 
34
30
  private
@@ -1,5 +1,5 @@
1
1
  module Omniauth
2
2
  module Fenix
3
- VERSION = "0.1.5"
3
+ VERSION = "0.1.6"
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: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rui Mangas Pereira