omniauth-vkontakte 1.4.0 → 1.4.1

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: 1bbb5ebfe457fb2b2fa3c01baabc9fb69d6042fc
4
- data.tar.gz: 21bc7b86af4c1e5a6747b1cef1ca3de5f01849db
3
+ metadata.gz: d08c63e3838f47dc19a40aad62d502ad9543a7d7
4
+ data.tar.gz: 57863077c1ef09944a1fbcb0a27f3c5efc3ab002
5
5
  SHA512:
6
- metadata.gz: 5dea88602f662ea0ca3f13807e1047970fd5778ba49149a9474a7c9259f9ce2932c56f34c93c43bee1b09508c0ca10cb31b3118b233af01e90db64bb5313ad05
7
- data.tar.gz: b5424f4bfb1e0aa035e5918cd75af5f991b62d0ad9f7978d8ccb1d672055b996c441c901d1e616a008d35deb938d4520f61c60632114e0c0b785f6381285b655
6
+ metadata.gz: 7af23fb04c89f9ffcdd8c32731612cc14d4a3f864473a8dc22d601be3a1b93f17725900ce073ff788ba7fd3f7e5541e659136c97c154a155edaee3f47365cc26
7
+ data.tar.gz: 45e3cc0c42fa72dfdd1c2cd93ec123a8b8528c3917dffaf7652c54ab27ece9b55cf7a746debb76443003b753cd3442d2179256a1d56ca1ad40e1d94f87996827
@@ -1,14 +1,10 @@
1
- language: ruby
2
1
  before_install:
3
2
  - gem update bundler
4
3
  - bundle --version
5
4
  - gem update --system
6
5
  - gem --version
7
6
  rvm:
8
- - 2.4.0
9
- - 2.3.1
10
- - 2.2.6
11
- - 2.1
12
- - 2.0
13
- - 1.9.3
14
- - jruby-19mode
7
+ - 2.4.2
8
+ - 2.3.5
9
+ - 2.2.8
10
+ - jruby-head
@@ -10,10 +10,10 @@ SCOPE = 'friends,audio'
10
10
  use Rack::Session::Cookie
11
11
 
12
12
  use OmniAuth::Builder do
13
- provider :vkontakte, ENV['VKONTAKTE_KEY'], ENV['VKONTAKTE_SECRET']
13
+ provider :vkontakte, ENV['VKONTAKTE_KEY'], ENV['VKONTAKTE_SECRET'],
14
14
  {
15
15
  scope: SCOPE,
16
- display: 'web',
16
+ display: 'popup',
17
17
  lang: 'en',
18
18
  image_size: 'original'
19
19
  }
@@ -1,5 +1,5 @@
1
1
  module OmniAuth
2
2
  module Vkontakte
3
- VERSION = "1.4.0"
3
+ VERSION = "1.4.1"
4
4
  end
5
5
  end
@@ -72,15 +72,16 @@ module OmniAuth
72
72
  end
73
73
 
74
74
 
75
- # You can pass +display+ or +scope+ params to the auth request, if
76
- # you need to set them dynamically.
75
+ # You can pass +display+, +revoke+ or +scope+ params to the auth request,
76
+ # if you need to set them dynamically.
77
77
  #
78
78
  # http://vk.com/dev/oauth_dialog
79
79
  #
80
+ # +revoke+ revokes access and re-authorizes user.
80
81
  def authorize_params
81
82
  super.tap do |params|
82
83
  # just a copypaste from ominauth-facebook
83
- %w[display state scope].each do |v|
84
+ %w[display state scope revoke].each do |v|
84
85
  if request.params[v]
85
86
  params[v.to_sym] = request.params[v]
86
87
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-vkontakte
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Anton Maminov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-04-15 00:00:00.000000000 Z
11
+ date: 2017-09-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: omniauth-oauth2
@@ -67,7 +67,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
67
67
  version: '0'
68
68
  requirements: []
69
69
  rubyforge_project:
70
- rubygems_version: 2.5.2
70
+ rubygems_version: 2.6.13
71
71
  signing_key:
72
72
  specification_version: 4
73
73
  summary: Unofficial VKontakte strategy for OmniAuth 1.0