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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6541927f3c7b254eb4240f27abe08cfb3ca02f41
4
- data.tar.gz: 74be208a87ed36a4ea762cbb80f0e9baab61a033
3
+ metadata.gz: 480abcd5ed636c9f70204a0345cc3f6599aee22e
4
+ data.tar.gz: afd5f79ba95d2626ea2f69f5259a6ceb91c9b573
5
5
  SHA512:
6
- metadata.gz: 880d3a02bfbc315efc3b016f451e81d7dbdd095491a1d532ed0dfc1dd7bc4ffbe402bc57bd480775dc572a184da18067301ab02d72ccc804b644c8e23a336cb1
7
- data.tar.gz: 19abb39b87ff9ec07cb4f5de24526de72d05b8ee2896c2dd70e5e6ec98079446fea0c451803cce188f34a4dc686fa6efac5db44f77a0222e7a9b1728f38c8bc6
6
+ metadata.gz: 7ad2cbd07aaae74c125f8b6b226121e056d4dddb57c2f3a192cc9f59e434a74df8ecd32c1fd480e6a4981620c3fb354133ec5ed02b8ea4847fe27aab7a6bc2f2
7
+ data.tar.gz: 9ff2f537757fcbbb030d870febff518dadb230641d4f75a390441bb84031a3808d40cc8a2d6ad8d72b15a88c96745e38637031bb9dc52d9d67abbaa86d629007
@@ -27,7 +27,7 @@ module Vkontakte
27
27
  end
28
28
 
29
29
  def fetch(options = {})
30
- options = { :uids => @identifier }.merge(options)
30
+ options = { :user_ids => @identifier }.merge(options)
31
31
  profile.get( options )
32
32
  end
33
33
 
@@ -1,3 +1,3 @@
1
1
  module Vkontakte
2
- VERSION = "0.0.8".freeze
2
+ VERSION = "0.0.9".freeze
3
3
  end
@@ -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&uids=2592709&access_token=#{@token}",
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,
@@ -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&uids=uid",
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.8
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-08-20 00:00:00.000000000 Z
12
+ date: 2014-10-30 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport