vkontakte 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/vkontakte/app/user.rb +1 -1
- data/lib/vkontakte/version.rb +1 -1
- data/spec/api/profile_spec.rb +1 -1
- data/spec/apps/user_spec.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 480abcd5ed636c9f70204a0345cc3f6599aee22e
|
4
|
+
data.tar.gz: afd5f79ba95d2626ea2f69f5259a6ceb91c9b573
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7ad2cbd07aaae74c125f8b6b226121e056d4dddb57c2f3a192cc9f59e434a74df8ecd32c1fd480e6a4981620c3fb354133ec5ed02b8ea4847fe27aab7a6bc2f2
|
7
|
+
data.tar.gz: 9ff2f537757fcbbb030d870febff518dadb230641d4f75a390441bb84031a3808d40cc8a2d6ad8d72b15a88c96745e38637031bb9dc52d9d67abbaa86d629007
|
data/lib/vkontakte/app/user.rb
CHANGED
data/lib/vkontakte/version.rb
CHANGED
data/spec/api/profile_spec.rb
CHANGED
@@ -15,7 +15,7 @@ describe Vkontakte::Api::Profile do
|
|
15
15
|
@friends_response = '{"response": {"count": 8, "items": [233297, 424407, 593420, 705017, 830116, 838081, 1075165, 1312768]}}'
|
16
16
|
|
17
17
|
FakeWeb.register_uri(:get,
|
18
|
-
"https://api.vk.com/method/users.get?v=5.24&
|
18
|
+
"https://api.vk.com/method/users.get?v=5.24&user_ids=2592709&access_token=#{@token}",
|
19
19
|
:body => response)
|
20
20
|
|
21
21
|
FakeWeb.register_uri(:get,
|
data/spec/apps/user_spec.rb
CHANGED
@@ -13,7 +13,7 @@ describe Vkontakte::App::User do
|
|
13
13
|
|
14
14
|
it "should load user profile" do
|
15
15
|
FakeWeb.register_uri(:get,
|
16
|
-
"https://api.vk.com/method/users.get?v=5.24&access_token=ACCESS_TOKEN&
|
16
|
+
"https://api.vk.com/method/users.get?v=5.24&access_token=ACCESS_TOKEN&user_ids=uid",
|
17
17
|
:body => '{"response":[{"uid":2592709, "last_name":"Галета", "first_name":"Павел"}]}')
|
18
18
|
|
19
19
|
@user.fetch.should_not be_blank
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vkontakte
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Igor Galeta
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-
|
12
|
+
date: 2014-10-30 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|