omniauth-appnet 0.0.1 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -14,8 +14,19 @@ module OmniAuth
14
14
 
15
15
  uid { raw_info['id'] }
16
16
 
17
+ info do
18
+ {
19
+ :nickname => raw_info['username'],
20
+ :name => raw_info['name'],
21
+ :image => raw_info['avatar_image']['url'],
22
+ :description => raw_info['description']['text'],
23
+ :type => raw_info['type'],
24
+ :counts => raw_info['counts']
25
+ }
26
+ end
27
+
17
28
  extra do
18
- {:raw_info => raw_info}
29
+ { :raw_info => raw_info }
19
30
  end
20
31
 
21
32
  def raw_info
@@ -1,5 +1,5 @@
1
1
  module Omniauth
2
2
  module Appnet
3
- VERSION = "0.0.1"
3
+ VERSION = "0.0.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-appnet
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: