omniauth-vkontakte 1.7.1 → 1.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f5e77d3608f8ffe151363232409686cd04951f3ad82892d5452e82e649976e96
4
- data.tar.gz: ac475f089c5aeaa54a010f80342cb540182a9aa08303a4aa99b12e6665c1d07a
3
+ metadata.gz: 92403216b269c32da3e8e997065faf32ccbea1102a3b60a97923843fcd543b91
4
+ data.tar.gz: f70ef0e0371a7b2e2d844f1f91d0102aa21fee926c8bf9c68200cd3504e9c1e0
5
5
  SHA512:
6
- metadata.gz: e5fddd2cc46e35fb4b26e711ed95b629bdb68aef390f9c6c4eb83d541321496afd8fe8951613ab666a4ac827a58855f64354293edee6936c465b4e0e68f3f4ba
7
- data.tar.gz: 9f1a3be96a75531a5c2d854bd5b88d99142783a23d6e06eab06fa0ab9ddf3ff3d4288ce7d1af64da9bee05159339593d05c6ee7c2710e4e2a06e12fe151f820c
6
+ metadata.gz: 95d1e20de1aab608419650fc2d8904929e1b28672ab9958c59ecfce816f9cacad87ce4a476620660fda0037ac7951894ee3885f205060e8125b282c72c401f8d
7
+ data.tar.gz: a6354e77ec49124e3bdbc32079a0c997bd8b3df6a6e70ea9cf62e10093e7b2db3b1c4878b8641d3429353dbf2644f62384deda4243bd75812e9964616b5924a3
@@ -7,7 +7,7 @@ jobs:
7
7
  name: build (${{ matrix.ruby }} / ${{ matrix.os }})
8
8
  strategy:
9
9
  matrix:
10
- ruby: [2.5, 2.6, 2.7, 3.0, head, jruby, jruby-head]
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
@@ -1,6 +1,6 @@
1
1
  AllCops:
2
2
  NewCops: enable
3
- TargetRubyVersion: 2.5
3
+ TargetRubyVersion: 2.6
4
4
  Layout/LineLength:
5
5
  Max: 120
6
6
  Metrics/MethodLength:
data/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2011-2021 Anton Maminov
3
+ Copyright (c) 2011-2022 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
@@ -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-2021 Anton Maminov (anton.maminov@gmail.com)
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['VKONTAKTE_KEY'], ENV['VKONTAKTE_SECRET'],
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',
@@ -2,6 +2,6 @@
2
2
 
3
3
  module OmniAuth
4
4
  module Vkontakte
5
- VERSION = '1.7.1'
5
+ VERSION = '1.8.0'
6
6
  end
7
7
  end
@@ -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.5.0'
19
- gem.add_runtime_dependency 'omniauth-oauth2', '>= 1.5', '<= 1.7.3'
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.7.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: 2021-12-13 00:00:00.000000000 Z
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.7.3
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.7.3
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.5.0
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.2.32
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: []