omniauth-vkontakte 1.7.1 → 1.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ruby.yml +1 -1
- data/.rubocop.yml +1 -1
- data/LICENSE +1 -1
- data/README.md +3 -1
- data/examples/main.rb +1 -1
- data/lib/omniauth/vkontakte/version.rb +1 -1
- data/omniauth-vkontakte.gemspec +3 -3
- metadata +9 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 92403216b269c32da3e8e997065faf32ccbea1102a3b60a97923843fcd543b91
|
4
|
+
data.tar.gz: f70ef0e0371a7b2e2d844f1f91d0102aa21fee926c8bf9c68200cd3504e9c1e0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 95d1e20de1aab608419650fc2d8904929e1b28672ab9958c59ecfce816f9cacad87ce4a476620660fda0037ac7951894ee3885f205060e8125b282c72c401f8d
|
7
|
+
data.tar.gz: a6354e77ec49124e3bdbc32079a0c997bd8b3df6a6e70ea9cf62e10093e7b2db3b1c4878b8641d3429353dbf2644f62384deda4243bd75812e9964616b5924a3
|
data/.github/workflows/ruby.yml
CHANGED
@@ -7,7 +7,7 @@ jobs:
|
|
7
7
|
name: build (${{ matrix.ruby }} / ${{ matrix.os }})
|
8
8
|
strategy:
|
9
9
|
matrix:
|
10
|
-
ruby: [2.
|
10
|
+
ruby: [2.6, 2.7, 3.0, 3.1, head, jruby, jruby-head]
|
11
11
|
os: [ubuntu-latest, macos-latest]
|
12
12
|
runs-on: ${{ matrix.os }}
|
13
13
|
steps:
|
data/.rubocop.yml
CHANGED
data/LICENSE
CHANGED
data/README.md
CHANGED
@@ -9,6 +9,8 @@ This is the unofficial [OmniAuth](https://github.com/intridea/omniauth) strategy
|
|
9
9
|
To use it, you'll need to sign up for an OAuth2 Application ID and Secret
|
10
10
|
on the [Vkontakte Developers Page](http://vk.com/dev).
|
11
11
|
|
12
|
+
![SWUbanner](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/banner2.svg)
|
13
|
+
|
12
14
|
## Installing
|
13
15
|
|
14
16
|
Add to your `Gemfile`:
|
@@ -112,7 +114,7 @@ Tested with the following Ruby versions:
|
|
112
114
|
|
113
115
|
## License
|
114
116
|
|
115
|
-
Copyright: 2011-
|
117
|
+
Copyright: 2011-2022 Anton Maminov (anton.maminov@gmail.com)
|
116
118
|
|
117
119
|
This library is distributed under the MIT license. Please see the LICENSE file.
|
118
120
|
|
data/examples/main.rb
CHANGED
@@ -12,7 +12,7 @@ SCOPE = 'friends,audio'
|
|
12
12
|
use Rack::Session::Cookie
|
13
13
|
|
14
14
|
use OmniAuth::Builder do
|
15
|
-
provider :vkontakte, ENV
|
15
|
+
provider :vkontakte, ENV.fetch('VKONTAKTE_KEY', nil), ENV.fetch('VKONTAKTE_SECRET', nil),
|
16
16
|
scope: SCOPE,
|
17
17
|
display: 'popup',
|
18
18
|
lang: 'en',
|
data/omniauth-vkontakte.gemspec
CHANGED
@@ -11,10 +11,10 @@ Gem::Specification.new do |gem|
|
|
11
11
|
|
12
12
|
gem.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }
|
13
13
|
gem.files = `git ls-files`.split("\n")
|
14
|
-
gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
15
14
|
gem.name = 'omniauth-vkontakte'
|
16
15
|
gem.require_paths = ['lib']
|
17
16
|
gem.version = OmniAuth::Vkontakte::VERSION
|
18
|
-
gem.required_ruby_version = '>= 2.
|
19
|
-
gem.add_runtime_dependency 'omniauth-oauth2', '>= 1.5', '<= 1.
|
17
|
+
gem.required_ruby_version = '>= 2.6.0'
|
18
|
+
gem.add_runtime_dependency 'omniauth-oauth2', '>= 1.5', '<= 1.8.0'
|
19
|
+
gem.metadata['rubygems_mfa_required'] = 'true'
|
20
20
|
end
|
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
|
+
version: 1.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Anton Maminov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-06-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: omniauth-oauth2
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '1.5'
|
20
20
|
- - "<="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 1.
|
22
|
+
version: 1.8.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '1.5'
|
30
30
|
- - "<="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 1.
|
32
|
+
version: 1.8.0
|
33
33
|
description:
|
34
34
|
email:
|
35
35
|
- anton.maminov@gmail.com
|
@@ -59,7 +59,8 @@ files:
|
|
59
59
|
homepage: https://github.com/mamantoha/omniauth-vkontakte
|
60
60
|
licenses:
|
61
61
|
- MIT
|
62
|
-
metadata:
|
62
|
+
metadata:
|
63
|
+
rubygems_mfa_required: 'true'
|
63
64
|
post_install_message:
|
64
65
|
rdoc_options: []
|
65
66
|
require_paths:
|
@@ -68,17 +69,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
68
69
|
requirements:
|
69
70
|
- - ">="
|
70
71
|
- !ruby/object:Gem::Version
|
71
|
-
version: 2.
|
72
|
+
version: 2.6.0
|
72
73
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
73
74
|
requirements:
|
74
75
|
- - ">="
|
75
76
|
- !ruby/object:Gem::Version
|
76
77
|
version: '0'
|
77
78
|
requirements: []
|
78
|
-
rubygems_version: 3.
|
79
|
+
rubygems_version: 3.3.7
|
79
80
|
signing_key:
|
80
81
|
specification_version: 4
|
81
82
|
summary: Vkontakte OAuth2 Strategy for OmniAuth
|
82
|
-
test_files:
|
83
|
-
- spec/omniauth/strategies/vkontakte_spec.rb
|
84
|
-
- spec/spec_helper.rb
|
83
|
+
test_files: []
|