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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 13aa87f9404267d06342ee9a10b702870eb028dc6f6723752ac89ffb9f4bff85
4
- data.tar.gz: 3f305a40036e95cc43011325fcd0411c0687131109ccd4789d6d2a6146d3c97d
3
+ metadata.gz: c31336de0c0d1630c1b24a9970d46503353a3d31a81be62dc9b0e5d3b910d9e8
4
+ data.tar.gz: 4d0e103aef7cd9593cf8e37e69c54c35a64a94a0b3f6c999d39d11d5a11cfcfa
5
5
  SHA512:
6
- metadata.gz: 7fea2f768f4503eedb8d0f6675df790a5130f745434ef7de0093ee0a107a746d72e6e0f774e44be791e0f2f8590cc47ca66b35bfcfd6450750ffb85fe676dc40
7
- data.tar.gz: d48097f8caf9163047a7bd6d0d93fdb8dbeebb58f3242d92079b73088ca95561d0314af9ca8d25d2162005bee6112e59e38d41c086694e10be5490bcec13da45
6
+ metadata.gz: 375f8caec707839dabce173adb21c63c7d9fee36852bf9e6412f1b463d1c0e520bc10810f9f0384799992abe8ffce007399001b22328a98cf8e1fb3ee211aa9f
7
+ data.tar.gz: 0daa0d710c5a061bdf7019aa6224e0cf718f9473e8f1f2397bfa068efd9208dd296ab726242b4722f2d1d11168c3a0a85096a50fea098807c284e745c983ced2
@@ -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
- test:
11
-
12
- runs-on: ubuntu-latest
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@v2
14
+ - uses: actions/checkout@master
16
15
  - name: Set up Ruby
17
16
  uses: ruby/setup-ruby@v1
18
17
  with:
19
- ruby-version: 2.6
18
+ ruby-version: ${{ matrix.ruby }}
20
19
  - name: Install dependencies
21
20
  run: bundle install
22
- - name: Run tests
21
+ - name: Run test
23
22
  run: rspec
@@ -1,7 +1,7 @@
1
1
  AllCops:
2
2
  NewCops: enable
3
- TargetRubyVersion: 2.6
4
- Metrics/LineLength:
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
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2011-2020 Anton Maminov
3
+ Copyright (c) 2011-2021 Anton Maminov
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
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.3.0+)
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-2020 Anton Maminov (anton.maminov@gmail.com)
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
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module OmniAuth
4
4
  module Vkontakte
5
- VERSION = '1.6.1'
5
+ VERSION = '1.7.0'
6
6
  end
7
7
  end
@@ -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.required_ruby_version = '>= 2.6.0'
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
@@ -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.6.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: 2020-08-18 00:00:00.000000000 Z
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.0
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.0
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.6.0
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.0.3
77
+ rubygems_version: 3.2.3
80
78
  signing_key:
81
79
  specification_version: 4
82
80
  summary: Vkontakte OAuth2 Strategy for OmniAuth
@@ -1,13 +0,0 @@
1
- language: ruby
2
- before_install:
3
- - gem update bundler
4
- - bundle --version
5
- - gem update --system
6
- - gem --version
7
- rvm:
8
- - 2.7.1
9
- - 2.6.6
10
- - jruby-head
11
- script:
12
- - bundle exec rspec
13
- - bundle exec rubocop
data/Rakefile DELETED
@@ -1,11 +0,0 @@
1
- #!/usr/bin/env rake
2
- # frozen_string_literal: true
3
-
4
- require 'bundler/gem_tasks'
5
- require 'rspec/core/rake_task'
6
-
7
- desc 'Run specs'
8
- RSpec::Core::RakeTask.new
9
-
10
- desc 'Default: run specs.'
11
- task default: :spec