omniauth-vkontakte 1.6.1 → 1.7.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 +11 -12
- data/.rubocop.yml +4 -2
- data/Gemfile +0 -4
- data/LICENSE +1 -1
- data/README.md +4 -4
- data/lib/omniauth/vkontakte/version.rb +1 -1
- data/omniauth-vkontakte.gemspec +2 -3
- data/spec/omniauth/strategies/vkontakte_spec.rb +0 -0
- data/spec/spec_helper.rb +0 -2
- metadata +6 -8
- data/.travis.yml +0 -13
- data/Rakefile +0 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c31336de0c0d1630c1b24a9970d46503353a3d31a81be62dc9b0e5d3b910d9e8
|
4
|
+
data.tar.gz: 4d0e103aef7cd9593cf8e37e69c54c35a64a94a0b3f6c999d39d11d5a11cfcfa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 375f8caec707839dabce173adb21c63c7d9fee36852bf9e6412f1b463d1c0e520bc10810f9f0384799992abe8ffce007399001b22328a98cf8e1fb3ee211aa9f
|
7
|
+
data.tar.gz: 0daa0d710c5a061bdf7019aa6224e0cf718f9473e8f1f2397bfa068efd9208dd296ab726242b4722f2d1d11168c3a0a85096a50fea098807c284e745c983ced2
|
data/.github/workflows/ruby.yml
CHANGED
@@ -1,23 +1,22 @@
|
|
1
1
|
name: Ruby
|
2
2
|
|
3
|
-
on:
|
4
|
-
push:
|
5
|
-
branches: [ master ]
|
6
|
-
pull_request:
|
7
|
-
branches: [ master ]
|
3
|
+
on: [push, pull_request]
|
8
4
|
|
9
5
|
jobs:
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
6
|
+
build:
|
7
|
+
name: build (${{ matrix.ruby }} / ${{ matrix.os }})
|
8
|
+
strategy:
|
9
|
+
matrix:
|
10
|
+
ruby: [2.5, 2.6, 2.7, 3.0, head, jruby, jruby-head]
|
11
|
+
os: [ubuntu-latest, macos-latest]
|
12
|
+
runs-on: ${{ matrix.os }}
|
14
13
|
steps:
|
15
|
-
- uses: actions/checkout@
|
14
|
+
- uses: actions/checkout@master
|
16
15
|
- name: Set up Ruby
|
17
16
|
uses: ruby/setup-ruby@v1
|
18
17
|
with:
|
19
|
-
ruby-version:
|
18
|
+
ruby-version: ${{ matrix.ruby }}
|
20
19
|
- name: Install dependencies
|
21
20
|
run: bundle install
|
22
|
-
- name: Run
|
21
|
+
- name: Run test
|
23
22
|
run: rspec
|
data/.rubocop.yml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
AllCops:
|
2
2
|
NewCops: enable
|
3
|
-
TargetRubyVersion: 2.
|
4
|
-
|
3
|
+
TargetRubyVersion: 2.5
|
4
|
+
Layout/LineLength:
|
5
5
|
Max: 120
|
6
6
|
Metrics/MethodLength:
|
7
7
|
Enabled: false
|
@@ -9,6 +9,8 @@ Metrics/BlockLength:
|
|
9
9
|
Enabled: false
|
10
10
|
Metrics/ClassLength:
|
11
11
|
Max: 101
|
12
|
+
Lint/DuplicateBranch:
|
13
|
+
Enabled: false
|
12
14
|
Naming/FileName:
|
13
15
|
Exclude:
|
14
16
|
- 'lib/omniauth-vkontakte.rb'
|
data/Gemfile
CHANGED
@@ -4,15 +4,11 @@ source 'https://rubygems.org'
|
|
4
4
|
|
5
5
|
gemspec
|
6
6
|
|
7
|
-
gem 'rack', RUBY_VERSION < '2.2.2' ? '~> 1.6' : '>= 2.0'
|
8
|
-
gem 'rake'
|
9
|
-
|
10
7
|
group :development do
|
11
8
|
gem 'rubocop', require: false
|
12
9
|
end
|
13
10
|
|
14
11
|
group :test do
|
15
|
-
gem 'rack-test'
|
16
12
|
gem 'rspec'
|
17
13
|
gem 'simplecov'
|
18
14
|
gem 'webmock'
|
data/LICENSE
CHANGED
data/README.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# OmniAuth VKontakte
|
2
2
|
|
3
|
+
![Ruby](https://github.com/mamantoha/omniauth-vkontakte/workflows/Ruby/badge.svg)
|
3
4
|
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/149c0614deef469faa49e1e8ae384bd3)](https://app.codacy.com/app/mamantoha/omniauth-vkontakte?utm_source=github.com&utm_medium=referral&utm_content=mamantoha/omniauth-vkontakte&utm_campaign=Badge_Grade_Dashboard)
|
4
|
-
[![Build Status](https://travis-ci.org/mamantoha/omniauth-vkontakte.svg?branch=master)](https://travis-ci.org/mamantoha/omniauth-vkontakte)
|
5
5
|
[![Gem Version][rubygems_badge]][rubygems]
|
6
6
|
[![Maintainability](https://api.codeclimate.com/v1/badges/1ea61cb860f9f6aafb4f/maintainability)](https://codeclimate.com/github/mamantoha/omniauth-vkontakte/maintainability)
|
7
7
|
|
@@ -103,8 +103,8 @@ The precise information available may depend on the permissions which you reques
|
|
103
103
|
|
104
104
|
Tested with the following Ruby versions:
|
105
105
|
|
106
|
-
- Ruby MRI (2.
|
107
|
-
- JRuby
|
106
|
+
- Ruby MRI (2.5.0+)
|
107
|
+
- JRuby (9.2.0+)
|
108
108
|
|
109
109
|
## Contributing to omniauth-vkontakte
|
110
110
|
|
@@ -112,7 +112,7 @@ Tested with the following Ruby versions:
|
|
112
112
|
|
113
113
|
## License
|
114
114
|
|
115
|
-
Copyright: 2011-
|
115
|
+
Copyright: 2011-2021 Anton Maminov (anton.maminov@gmail.com)
|
116
116
|
|
117
117
|
This library is distributed under the MIT license. Please see the LICENSE file.
|
118
118
|
|
data/omniauth-vkontakte.gemspec
CHANGED
@@ -15,7 +15,6 @@ Gem::Specification.new do |gem|
|
|
15
15
|
gem.name = 'omniauth-vkontakte'
|
16
16
|
gem.require_paths = ['lib']
|
17
17
|
gem.version = OmniAuth::Vkontakte::VERSION
|
18
|
-
|
19
|
-
gem.
|
20
|
-
gem.add_runtime_dependency 'omniauth-oauth2', ['>= 1.5', '<= 1.7.0']
|
18
|
+
gem.required_ruby_version = '>= 2.5.0'
|
19
|
+
gem.add_runtime_dependency 'omniauth-oauth2', ['>= 1.5', '<= 1.7.1']
|
21
20
|
end
|
File without changes
|
data/spec/spec_helper.rb
CHANGED
@@ -5,14 +5,12 @@ $LOAD_PATH.unshift File.expand_path('../lib', __dir__)
|
|
5
5
|
require 'simplecov'
|
6
6
|
SimpleCov.start
|
7
7
|
require 'rspec'
|
8
|
-
require 'rack/test'
|
9
8
|
require 'webmock/rspec'
|
10
9
|
require 'omniauth'
|
11
10
|
require 'omniauth-vkontakte'
|
12
11
|
|
13
12
|
RSpec.configure do |config|
|
14
13
|
config.include WebMock::API
|
15
|
-
config.include Rack::Test::Methods
|
16
14
|
config.extend OmniAuth::Test::StrategyMacros, type: :strategy
|
17
15
|
config.expect_with :rspec do |c|
|
18
16
|
c.syntax = :expect
|
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.7.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: 2021-01-12 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.7.
|
22
|
+
version: 1.7.1
|
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.7.
|
32
|
+
version: 1.7.1
|
33
33
|
description:
|
34
34
|
email:
|
35
35
|
- anton.maminov@gmail.com
|
@@ -41,11 +41,9 @@ files:
|
|
41
41
|
- ".gitignore"
|
42
42
|
- ".rspec"
|
43
43
|
- ".rubocop.yml"
|
44
|
-
- ".travis.yml"
|
45
44
|
- Gemfile
|
46
45
|
- LICENSE
|
47
46
|
- README.md
|
48
|
-
- Rakefile
|
49
47
|
- examples/.env.example
|
50
48
|
- examples/Gemfile
|
51
49
|
- examples/README.md
|
@@ -69,14 +67,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
69
67
|
requirements:
|
70
68
|
- - ">="
|
71
69
|
- !ruby/object:Gem::Version
|
72
|
-
version: 2.
|
70
|
+
version: 2.5.0
|
73
71
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
74
72
|
requirements:
|
75
73
|
- - ">="
|
76
74
|
- !ruby/object:Gem::Version
|
77
75
|
version: '0'
|
78
76
|
requirements: []
|
79
|
-
rubygems_version: 3.
|
77
|
+
rubygems_version: 3.2.3
|
80
78
|
signing_key:
|
81
79
|
specification_version: 4
|
82
80
|
summary: Vkontakte OAuth2 Strategy for OmniAuth
|
data/.travis.yml
DELETED