omniauth-hatena 0.0.3 → 0.0.4

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 Hatena
3
- VERSION = "0.0.3"
3
+ VERSION = "0.0.4"
4
4
  end
5
5
  end
@@ -16,13 +16,13 @@ module OmniAuth
16
16
  :authorize_url => 'https://www.hatena.ne.jp/oauth/authorize'
17
17
  }
18
18
 
19
- uid { raw_info[:url_name] }
19
+ uid { raw_info['url_name'] }
20
20
 
21
21
  info do
22
22
  {
23
- :name => raw_info[:url_name],
24
- :nickname => raw_info[:display_name],
25
- :image => raw_info[:profile_image_url],
23
+ :name => raw_info['url_name'],
24
+ :nickname => raw_info['display_name'],
25
+ :image => raw_info['profile_image_url'],
26
26
  :urls => { 'Hatena' => 'http://www.hatena.ne.jp/' + raw_info['url_name'] }
27
27
  }
28
28
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-hatena
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
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: 2012-04-30 00:00:00.000000000 Z
12
+ date: 2012-05-01 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: multi_json
16
- requirement: &70224544812980 !ruby/object:Gem::Requirement
16
+ requirement: &70097721280560 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '1.3'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70224544812980
24
+ version_requirements: *70097721280560
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: omniauth-oauth
27
- requirement: &70224544812480 !ruby/object:Gem::Requirement
27
+ requirement: &70097721279300 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '1.0'
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *70224544812480
35
+ version_requirements: *70097721279300
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: rspec
38
- requirement: &70224544811980 !ruby/object:Gem::Requirement
38
+ requirement: &70097721277560 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ~>
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: '2.9'
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *70224544811980
46
+ version_requirements: *70097721277560
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: rake
49
- requirement: &70224544811460 !ruby/object:Gem::Requirement
49
+ requirement: &70097721272660 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ~>
@@ -54,7 +54,7 @@ dependencies:
54
54
  version: 0.9.2.2
55
55
  type: :development
56
56
  prerelease: false
57
- version_requirements: *70224544811460
57
+ version_requirements: *70097721272660
58
58
  description: OmniAuth strategy for Hatena
59
59
  email:
60
60
  - yuki@gnnk.net