micro_vkontakte 0.0.11 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +1 -0
- data/Rakefile +1 -1
- data/lib/omniauth/strategies/vkontakte.rb +5 -3
- data/micro_vkontakte.gemspec +1 -1
- metadata +3 -3
data/CHANGELOG
CHANGED
data/Rakefile
CHANGED
@@ -2,7 +2,7 @@ require 'rubygems'
|
|
2
2
|
require 'rake'
|
3
3
|
require 'echoe'
|
4
4
|
|
5
|
-
Echoe.new('micro_vkontakte', '0.0
|
5
|
+
Echoe.new('micro_vkontakte', '0.1.0') do |p|
|
6
6
|
p.description = "Vkontakte api tools."
|
7
7
|
p.url = "http://github.com/gvalmon/micro_vkontakte"
|
8
8
|
p.author = "Iskander Haziev"
|
@@ -40,9 +40,11 @@ module OmniAuth
|
|
40
40
|
|
41
41
|
def auth_hash
|
42
42
|
OmniAuth::Utils.deep_merge(super(), {
|
43
|
-
'uid' => request[:uid],
|
44
|
-
'
|
45
|
-
|
43
|
+
'uid' => request[:uid],
|
44
|
+
'credentials' => {
|
45
|
+
'token' => request[:sid],
|
46
|
+
'secret' => request[:secret],
|
47
|
+
},
|
46
48
|
'user_info' => {
|
47
49
|
'nickname' => request[:nickname],
|
48
50
|
'name' => "#{request[:first_name]} #{request[:last_name]}",
|
data/micro_vkontakte.gemspec
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: micro_vkontakte
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 27
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
|
+
- 1
|
8
9
|
- 0
|
9
|
-
|
10
|
-
version: 0.0.11
|
10
|
+
version: 0.1.0
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Iskander Haziev
|