omniauth-mailru 0.2.0 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
1
  module Omniauth
2
2
  module Mailru
3
- VERSION = "0.2.0"
3
+ VERSION = "0.3.0"
4
4
  end
5
5
  end
@@ -27,7 +27,10 @@ module OmniAuth
27
27
  :first_name => raw_info['first_name'],
28
28
  :last_name => raw_info['last_name'],
29
29
  :image => (raw_info['has_pic'].to_s != "0") && raw_info['pic_big'] || nil,
30
- :location => (raw_info['location'] || {})['name']
30
+ :location => (raw_info['location'] || {})['name'],
31
+ :urls => {
32
+ 'Mailru' => raw_info['link']
33
+ }
31
34
  }
32
35
  end
33
36
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-mailru
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-11-17 00:00:00.000000000Z
12
+ date: 2011-11-20 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: omniauth
16
- requirement: &70194358632220 !ruby/object:Gem::Requirement
16
+ requirement: &70113443380540 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '1.0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70194358632220
24
+ version_requirements: *70113443380540
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: omniauth-oauth2
27
- requirement: &70194358631380 !ruby/object:Gem::Requirement
27
+ requirement: &70113443379700 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
@@ -32,7 +32,7 @@ dependencies:
32
32
  version: '1.0'
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *70194358631380
35
+ version_requirements: *70113443379700
36
36
  description: OmniAuth strategy for Mail.ru
37
37
  email:
38
38
  - gumayunov@gmail.com
@@ -66,12 +66,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
66
66
  - - ! '>='
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
+ segments:
70
+ - 0
71
+ hash: 1873713144691923515
69
72
  required_rubygems_version: !ruby/object:Gem::Requirement
70
73
  none: false
71
74
  requirements:
72
75
  - - ! '>='
73
76
  - !ruby/object:Gem::Version
74
77
  version: '0'
78
+ segments:
79
+ - 0
80
+ hash: 1873713144691923515
75
81
  requirements: []
76
82
  rubyforge_project: omniauth-mailru
77
83
  rubygems_version: 1.8.10