omniauth-mailru 0.3.0 → 0.3.1

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.3.0"
3
+ VERSION = "0.3.1"
4
4
  end
5
5
  end
@@ -23,7 +23,7 @@ module OmniAuth
23
23
  {
24
24
  :nickname => raw_info['nick'],
25
25
  :email => raw_info['email'],
26
- :name => raw_info['name'],
26
+ :name => [raw_info['first_name'], raw_info['last_name']].join(' '),
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,
@@ -62,7 +62,7 @@ module OmniAuth
62
62
  raw = hash.map{|key, value| [key, value].join('=')}.sort.join
63
63
  raw = [uid, raw, options.client_secret].join
64
64
  Digest::MD5.hexdigest(raw)
65
- end
65
+ end
66
66
 
67
67
  end
68
68
 
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.3.0
4
+ version: 0.3.1
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-20 00:00:00.000000000Z
12
+ date: 2011-11-21 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: omniauth
16
- requirement: &70113443380540 !ruby/object:Gem::Requirement
16
+ requirement: &70337704705620 !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: *70113443380540
24
+ version_requirements: *70337704705620
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: omniauth-oauth2
27
- requirement: &70113443379700 !ruby/object:Gem::Requirement
27
+ requirement: &70337704705120 !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: *70113443379700
35
+ version_requirements: *70337704705120
36
36
  description: OmniAuth strategy for Mail.ru
37
37
  email:
38
38
  - gumayunov@gmail.com
@@ -68,7 +68,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
68
68
  version: '0'
69
69
  segments:
70
70
  - 0
71
- hash: 1873713144691923515
71
+ hash: -591254748874365001
72
72
  required_rubygems_version: !ruby/object:Gem::Requirement
73
73
  none: false
74
74
  requirements:
@@ -77,7 +77,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
77
77
  version: '0'
78
78
  segments:
79
79
  - 0
80
- hash: 1873713144691923515
80
+ hash: -591254748874365001
81
81
  requirements: []
82
82
  rubyforge_project: omniauth-mailru
83
83
  rubygems_version: 1.8.10