omniauth-fenix 0.2.4 → 0.2.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: ccfb19ecbcc3f663d93ed01e5f07ded1ab3a61a4
4
- data.tar.gz: a1ca7809485c7576854d3d2ca1cdeaa6103de233
3
+ metadata.gz: 582aacc7dde37c6f5779f77f0972c475e2536bb5
4
+ data.tar.gz: fb2e5c4d9b51fef9ce91dc1a029d8cfc82fdb07b
5
5
  SHA512:
6
- metadata.gz: 999da528d5ed471547903e7f88056e51afbb9093fd3b1899e45cbdfc6012438abc56614e436bc1b99a5220331826fcbe3af206f57beb971ff87c15486c2e96df
7
- data.tar.gz: 8f6238bf4f3b93890f6700443c609ab313cb0469c73f25cb847c4eaab1e1ae1e2c488e1f06526ba4c795a725d25d4ee8a640f8ec31739f478896e2c3c181d2a5
6
+ metadata.gz: 427368d237f5d9b3cd3676dc61a246b5973e549260173286c21e4c08cb45b897de43e9738ec8093ab4bfe8402775de6d8c458835a06c67fc8389b262be6b03d2
7
+ data.tar.gz: 9028be840bf6a1cca8edb66e29b610a2196c12916d0edc98f9dc9c7cecf2e8c474287f5fa3561b70033bd3d5b88c202c0124e584cc1764e25e3d79a9f473fb90
@@ -1,5 +1,5 @@
1
1
  module Omniauth
2
2
  module Fenix
3
- VERSION = "0.2.4"
3
+ VERSION = "0.2.5"
4
4
  end
5
5
  end
@@ -18,6 +18,16 @@ module OmniAuth
18
18
  redirect request_url
19
19
  end
20
20
 
21
+ uid { raw_info['username'] }
22
+
23
+ info do
24
+ {
25
+ 'name' => raw_info['name'],
26
+ 'username' => raw_info['username'],
27
+ 'email' => raw_info['email']
28
+ }
29
+ end
30
+
21
31
  def raw_info
22
32
  access_token.options[:parse] = :json
23
33
  url = "/person"
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.4
4
+ version: 0.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rui Mangas Pereira