micro_vkontakte 0.1.7 → 0.1.8

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1,3 +1,4 @@
1
+ v0.1.8 added vk permissions
1
2
  v0.1.7 added vk login page
2
3
  v0.1.5 updated vk api version
3
4
  v0.1.4 updated error info
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.1.7') do |p|
5
+ Echoe.new('micro_vkontakte', '0.1.8') 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"
@@ -23,6 +23,7 @@ module MicroVkontakte
23
23
  params[:format] = 'json'
24
24
  params[:v] = '3.0'
25
25
  params[:timestamp] = Time.now.to_i
26
+ params[:random] = rand(10000)
26
27
  params[:sig] = sig(params.stringify_keys)
27
28
  response = JSON.parse(Net::HTTP.post_form(URI.parse(VK_API_URL), params).body)
28
29
  if response['error']
@@ -60,4 +61,4 @@ module MicroVkontakte
60
61
  add_method(method)
61
62
  end
62
63
  end
63
- end
64
+ end
@@ -37,7 +37,7 @@ HEADER
37
37
  };
38
38
  vkLogin = {
39
39
  doLogin: function() {
40
- VK.Auth.login(vkLogin.loginResult);
40
+ VK.Auth.login(vkLogin.loginResult, 10239);
41
41
  },
42
42
  redirectWithPost: function(url, data) {
43
43
  data = data || {};
@@ -2,11 +2,11 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{micro_vkontakte}
5
- s.version = "0.1.7"
5
+ s.version = "0.1.8"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Iskander Haziev"]
9
- s.date = %q{2011-03-18}
9
+ s.date = %q{2011-03-23}
10
10
  s.description = %q{Vkontakte api tools.}
11
11
  s.email = %q{gvalmon@gmail.com}
12
12
  s.extra_rdoc_files = ["CHANGELOG", "LICENSE", "README", "lib/micro_vkontakte.rb", "lib/micro_vkontakte/base.rb", "lib/micro_vkontakte/session.rb", "lib/omniauth/strategies/vkontakte.rb", "lib/omniauth/strategies/vkontakte/view_helper.rb", "lib/omniauth/vkontakte.rb"]
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: micro_vkontakte
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.1.7
5
+ version: 0.1.8
6
6
  platform: ruby
7
7
  authors:
8
8
  - Iskander Haziev
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-03-18 00:00:00 +03:00
13
+ date: 2011-03-23 00:00:00 +03:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency