omniauth-vkontakte 1.4.1 → 1.5.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
- SHA1:
3
- metadata.gz: d08c63e3838f47dc19a40aad62d502ad9543a7d7
4
- data.tar.gz: 57863077c1ef09944a1fbcb0a27f3c5efc3ab002
2
+ SHA256:
3
+ metadata.gz: 608b502a6f609351f4bb54f4e7381351f6db9b304431a9c7e714acf770401dac
4
+ data.tar.gz: b35e05c8261ea79dfe5b7a12ef6f0ed225cc46d9160419337ea5a6ee00df7f7d
5
5
  SHA512:
6
- metadata.gz: 7af23fb04c89f9ffcdd8c32731612cc14d4a3f864473a8dc22d601be3a1b93f17725900ce073ff788ba7fd3f7e5541e659136c97c154a155edaee3f47365cc26
7
- data.tar.gz: 45e3cc0c42fa72dfdd1c2cd93ec123a8b8528c3917dffaf7652c54ab27ece9b55cf7a746debb76443003b753cd3442d2179256a1d56ca1ad40e1d94f87996827
6
+ metadata.gz: ea8fff4512df0c7f30a4ecb4fb5d9794e85b5f9b2f646699e7061b06981ffb01927fee4d30f9d90b64f70337b3d5cdf98d150b1acbd65c5b90f6d2284fe40d9a
7
+ data.tar.gz: bfb1bfde6e8c824f36fb41757d7b302305e3e6424ae7354110d741b7f079d0b9deab9acdfafcc9f534652801394d847fa2c69c742f01ab6c26cdfde2d8a826d2
@@ -0,0 +1,8 @@
1
+ Metrics/LineLength:
2
+ Max: 120
3
+ Metrics/MethodLength:
4
+ Enabled: false
5
+ Metrics/BlockLength:
6
+ Enabled: false
7
+
8
+
@@ -4,7 +4,8 @@ before_install:
4
4
  - gem update --system
5
5
  - gem --version
6
6
  rvm:
7
- - 2.4.2
8
- - 2.3.5
9
- - 2.2.8
7
+ - 2.6.0
8
+ - 2.5.3
9
+ - 2.4.5
10
+ - 2.3.8
10
11
  - jruby-head
data/Gemfile CHANGED
@@ -2,12 +2,16 @@ source 'https://rubygems.org'
2
2
 
3
3
  gemspec
4
4
 
5
- gem 'rake'
6
5
  gem 'rack', RUBY_VERSION < '2.2.2' ? '~> 1.6' : '>= 2.0'
6
+ gem 'rake'
7
+
8
+ group :development do
9
+ gem 'rubocop', require: false
10
+ end
7
11
 
8
12
  group :test do
9
- gem 'rspec', '~> 3.2'
10
13
  gem 'rack-test'
14
+ gem 'rspec'
11
15
  gem 'simplecov'
12
16
  gem 'webmock'
13
17
  end
data/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2011-2019 Anton Maminov
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
data/README.md CHANGED
@@ -1,8 +1,9 @@
1
1
  # OmniAuth VKontakte
2
2
 
3
- [![Build Status][travis_badge]][travis]
3
+ [![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)
4
5
  [![Gem Version][rubygems_badge]][rubygems]
5
- [![Code Climate][codeclimate_badge]][codeclimate]
6
+ [![Maintainability](https://api.codeclimate.com/v1/badges/1ea61cb860f9f6aafb4f/maintainability)](https://codeclimate.com/github/mamantoha/omniauth-vkontakte/maintainability)
6
7
 
7
8
  This is the unofficial [OmniAuth](https://github.com/intridea/omniauth) strategy for authenticating to VKontakte via OAuth.
8
9
  To use it, you'll need to sign up for an OAuth2 Application ID and Secret
@@ -32,7 +33,6 @@ end
32
33
 
33
34
  [See the example Sinatra app](https://github.com/mamantoha/omniauth-vkontakte/blob/master/examples/main.rb).
34
35
 
35
-
36
36
  ## Configuring
37
37
 
38
38
  You can configure several options, which you pass in to the `provider` method via a `Hash`:
@@ -101,13 +101,12 @@ Here's an example *Auth Hash* available in `request.env['omniauth.auth']`:
101
101
 
102
102
  The precise information available may depend on the permissions which you request.
103
103
 
104
-
105
104
  ## Supported Rubies
106
105
 
107
106
  Tested with the following Ruby versions:
108
107
 
109
- - Ruby MRI (1.9.3+)
110
- - JRuby (1.9 mode)
108
+ - Ruby MRI (2.3.0+)
109
+ - JRuby
111
110
 
112
111
  ## Contributing to omniauth-vkontakte
113
112
 
@@ -115,20 +114,9 @@ Tested with the following Ruby versions:
115
114
 
116
115
  ## License
117
116
 
118
- Copyright (c) 2011-2017 Anton Maminov
119
-
120
- Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
121
-
122
- The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
117
+ Copyright: 2011-2019 Anton Maminov (anton.maminov@gmail.com)
123
118
 
124
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
125
-
126
- [travis_badge]: http://img.shields.io/travis/mamantoha/omniauth-vkontakte.svg?style=flat
127
- [travis]: https://travis-ci.org/mamantoha/omniauth-vkontakte
119
+ This library is distributed under the MIT license. Please see the LICENSE file.
128
120
 
129
121
  [rubygems_badge]: http://img.shields.io/gem/v/omniauth-vkontakte.svg?style=flat
130
122
  [rubygems]: http://rubygems.org/gems/omniauth-vkontakte
131
-
132
- [codeclimate_badge]: http://img.shields.io/codeclimate/github/mamantoha/omniauth-vkontakte.svg?style=flat
133
- [codeclimate]: https://codeclimate.com/github/mamantoha/omniauth-vkontakte
134
-
data/Rakefile CHANGED
@@ -1,9 +1,9 @@
1
1
  #!/usr/bin/env rake
2
- require "bundler/gem_tasks"
2
+ require 'bundler/gem_tasks'
3
3
  require 'rspec/core/rake_task'
4
4
 
5
- desc "Run specs"
5
+ desc 'Run specs'
6
6
  RSpec::Core::RakeTask.new
7
7
 
8
8
  desc 'Default: run specs.'
9
- task :default => :spec
9
+ task default: :spec
@@ -1,5 +1,5 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
- gem 'sinatra'
3
+ gem 'omniauth-vkontakte', path: '../'
4
4
  gem 'puma'
5
- gem 'omniauth-vkontakte', :path => '../'
5
+ gem 'sinatra'
@@ -5,18 +5,16 @@ require 'omniauth-vkontakte'
5
5
 
6
6
  configure { set :server, :puma }
7
7
 
8
- SCOPE = 'friends,audio'
8
+ SCOPE = 'friends,audio'.freeze
9
9
 
10
10
  use Rack::Session::Cookie
11
11
 
12
12
  use OmniAuth::Builder do
13
13
  provider :vkontakte, ENV['VKONTAKTE_KEY'], ENV['VKONTAKTE_SECRET'],
14
- {
15
- scope: SCOPE,
16
- display: 'popup',
17
- lang: 'en',
18
- image_size: 'original'
19
- }
14
+ scope: SCOPE,
15
+ display: 'popup',
16
+ lang: 'en',
17
+ image_size: 'original'
20
18
  end
21
19
 
22
20
  get '/' do
@@ -1,9 +1,11 @@
1
- require "omniauth-vkontakte/version"
2
- require "omniauth"
1
+ require 'omniauth/vkontakte/version'
2
+ require 'omniauth'
3
3
 
4
+ # :nodoc:
4
5
  module OmniAuth
6
+ # :nodoc:
5
7
  module Strategies
6
- autoload :Vkontakte, 'omniauth/strategies/vkontakte'
8
+ autoload :Vkontakte, 'omniauth/strategies/vkontakte'
7
9
  end
8
10
  end
9
11
 
@@ -13,19 +13,18 @@ module OmniAuth
13
13
  class Vkontakte < OmniAuth::Strategies::OAuth2
14
14
  class NoRawData < StandardError; end
15
15
 
16
- API_VERSION = '5.8'
16
+ API_VERSION = '5.8'.freeze
17
17
 
18
- DEFAULT_SCOPE = ''
18
+ DEFAULT_SCOPE = ''.freeze
19
19
 
20
20
  option :name, 'vkontakte'
21
21
 
22
- option :client_options, {
23
- :site => 'https://api.vk.com/',
24
- :token_url => 'https://oauth.vk.com/access_token',
25
- :authorize_url => 'https://oauth.vk.com/authorize',
26
- }
22
+ option :client_options,
23
+ site: 'https://api.vk.com/',
24
+ token_url: 'https://oauth.vk.com/access_token',
25
+ authorize_url: 'https://oauth.vk.com/authorize'
27
26
 
28
- option :authorize_options, [:scope, :display]
27
+ option :authorize_options, %i[scope display]
29
28
 
30
29
  option :redirect_url, nil
31
30
 
@@ -34,16 +33,16 @@ module OmniAuth
34
33
  # https://github.com/intridea/omniauth/wiki/Auth-Hash-Schema
35
34
  info do
36
35
  {
37
- :name => "#{raw_info['first_name']} #{raw_info['last_name']}".strip,
38
- :nickname => raw_info['nickname'],
39
- :email => access_token.params["email"],
40
- :first_name => raw_info['first_name'],
41
- :last_name => raw_info['last_name'],
42
- :image => image_url,
43
- :location => location,
44
- :urls => {
36
+ name: "#{raw_info['first_name']} #{raw_info['last_name']}".strip,
37
+ nickname: raw_info['nickname'],
38
+ email: access_token.params['email'],
39
+ first_name: raw_info['first_name'],
40
+ last_name: raw_info['last_name'],
41
+ image: image_url,
42
+ location: location,
43
+ urls: {
45
44
  'Vkontakte' => "http://vk.com/#{raw_info['screen_name']}"
46
- },
45
+ }
47
46
  }
48
47
  end
49
48
 
@@ -58,20 +57,20 @@ module OmniAuth
58
57
  access_token.options[:param_name] = :access_token
59
58
  @raw_info ||= begin
60
59
  params = {
61
- :fields => info_options,
62
- :lang => lang_option,
63
- :https => https_option,
64
- :v => API_VERSION,
60
+ fields: info_options,
61
+ lang: lang_option,
62
+ https: https_option,
63
+ v: API_VERSION
65
64
  }
66
65
 
67
- result = access_token.get('/method/users.get', :params => params).parsed["response"]
66
+ result = access_token.get('/method/users.get', params: params).parsed['response']
67
+
68
+ raise NoRawData, result unless result.is_a?(Array) && result.first
68
69
 
69
- raise NoRawData, result unless (result.is_a?(Array) and result.first)
70
70
  result.first
71
71
  end
72
72
  end
73
73
 
74
-
75
74
  # You can pass +display+, +revoke+ or +scope+ params to the auth request,
76
75
  # if you need to set them dynamically.
77
76
  #
@@ -82,12 +81,12 @@ module OmniAuth
82
81
  super.tap do |params|
83
82
  # just a copypaste from ominauth-facebook
84
83
  %w[display state scope revoke].each do |v|
85
- if request.params[v]
86
- params[v.to_sym] = request.params[v]
84
+ next unless request.params[v]
85
+
86
+ params[v.to_sym] = request.params[v]
87
87
 
88
- # to support omniauth-oauth2's auto csrf protection
89
- session['omniauth.state'] = params[:state] if v == 'state'
90
- end
88
+ # to support omniauth-oauth2's auto csrf protection
89
+ session['omniauth.state'] = params[:state] if v == 'state'
91
90
  end
92
91
 
93
92
  params[:scope] ||= DEFAULT_SCOPE
@@ -102,9 +101,12 @@ module OmniAuth
102
101
 
103
102
  def info_options
104
103
  # http://vk.com/dev/fields
105
- fields = %w[nickname screen_name sex city country online bdate photo_50 photo_100 photo_200 photo_200_orig photo_400_orig]
104
+ fields = %w[
105
+ nickname screen_name sex city country online bdate
106
+ photo_50 photo_100 photo_200 photo_200_orig photo_400_orig
107
+ ]
106
108
  fields.concat(options[:info_fields].split(',')) if options[:info_fields]
107
- return fields.join(',')
109
+ fields.join(',')
108
110
  end
109
111
 
110
112
  def lang_option
@@ -1,5 +1,5 @@
1
1
  module OmniAuth
2
2
  module Vkontakte
3
- VERSION = "1.4.1"
3
+ VERSION = '1.5.0'.freeze
4
4
  end
5
5
  end
@@ -1,18 +1,18 @@
1
- require File.expand_path('../lib/omniauth-vkontakte/version', __FILE__)
1
+ require File.expand_path('lib/omniauth/vkontakte/version', __dir__)
2
2
 
3
3
  Gem::Specification.new do |gem|
4
- gem.authors = ["Anton Maminov"]
5
- gem.email = ["anton.linux@gmail.com"]
6
- gem.description = %q{Unofficial VKontakte strategy for OmniAuth 1.0}
7
- gem.summary = %q{Unofficial VKontakte strategy for OmniAuth 1.0}
8
- gem.homepage = "https://github.com/mamantoha/omniauth-vkontakte"
4
+ gem.authors = ['Anton Maminov']
5
+ gem.email = ['anton.linux@gmail.com']
6
+ gem.summary = 'Vkontakte OAuth2 Strategy for OmniAuth'
7
+ gem.homepage = 'https://github.com/mamantoha/omniauth-vkontakte'
8
+ gem.licenses = ['MIT']
9
9
 
10
- gem.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
10
+ gem.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }
11
11
  gem.files = `git ls-files`.split("\n")
12
12
  gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
13
- gem.name = "omniauth-vkontakte"
14
- gem.require_paths = ["lib"]
13
+ gem.name = 'omniauth-vkontakte'
14
+ gem.require_paths = ['lib']
15
15
  gem.version = OmniAuth::Vkontakte::VERSION
16
16
 
17
- gem.add_runtime_dependency 'omniauth-oauth2', '~> 1.2'
17
+ gem.add_runtime_dependency 'omniauth-oauth2', '~> 1.5'
18
18
  end
@@ -1,14 +1,16 @@
1
- # encoding: utf-8
2
-
3
1
  require 'spec_helper'
4
2
 
5
3
  describe OmniAuth::Strategies::Vkontakte do
6
- let(:request) { double('Request', :params => {}, :cookies => {}, :env => {}) }
4
+ let(:request) { double('Request', params: {}, cookies: {}, env: {}) }
7
5
 
8
6
  before do
9
7
  OmniAuth.config.test_mode = true
10
8
  end
11
9
 
10
+ it 'should have version' do
11
+ expect(OmniAuth::Vkontakte::VERSION).to_not be_nil
12
+ end
13
+
12
14
  subject do
13
15
  args = ['api_key', 'api_secret', @options || {}].compact
14
16
  obj = OmniAuth::Strategies::Vkontakte.new(*args).tap do |strategy|
@@ -19,7 +21,7 @@ describe OmniAuth::Strategies::Vkontakte do
19
21
  @access_token = double('OAuth2::AccessToken')
20
22
  allow(obj).to receive(:access_token).and_return(@access_token)
21
23
  allow(@access_token).to receive(:get).and_return(double('OAuth2::Response'))
22
- allow(@access_token).to receive(:params).and_return({ 'email' => raw_info_hash['email'] })
24
+ allow(@access_token).to receive(:params).and_return('email' => raw_info_hash['email'])
23
25
  obj
24
26
  end
25
27
 
@@ -78,40 +80,40 @@ describe OmniAuth::Strategies::Vkontakte do
78
80
  describe 'image_size option' do
79
81
  context 'when user has an image' do
80
82
  it 'should return image with size specified' do
81
- @options = { :image_size => 'original' }
83
+ @options = { image_size: 'original' }
82
84
  allow(subject).to receive(:raw_info).and_return(
83
- raw_info_hash.merge({ 'photo_200_orig' => img_url })
85
+ raw_info_hash.merge('photo_200_orig' => img_url)
84
86
  )
85
87
  expect(subject.info[:image]).to eq(img_url)
86
88
  end
87
89
 
88
90
  it 'should return image with size specified' do
89
- @options = { :image_size => 'original_x2' }
91
+ @options = { image_size: 'original_x2' }
90
92
  allow(subject).to receive(:raw_info).and_return(
91
- raw_info_hash.merge({ 'photo_400_orig' => img_url })
93
+ raw_info_hash.merge('photo_400_orig' => img_url)
92
94
  )
93
95
  expect(subject.info[:image]).to eq(img_url)
94
96
  end
95
97
 
96
98
  it 'should return bigger image when bigger size specified' do
97
- @options = { :image_size => 'bigger' }
99
+ @options = { image_size: 'bigger' }
98
100
  allow(subject).to receive(:raw_info).and_return(
99
- raw_info_hash.merge({ 'photo_100' => img_url })
101
+ raw_info_hash.merge('photo_100' => img_url)
100
102
  )
101
103
  expect(subject.info[:image]).to eq(img_url)
102
104
  end
103
105
 
104
106
  it 'should return mini image when mini size specified' do
105
- @options = { :image_size => 'mini' }
107
+ @options = { image_size: 'mini' }
106
108
  allow(subject).to receive(:raw_info).and_return(
107
- raw_info_hash.merge({ 'photo_50' => img_url })
109
+ raw_info_hash.merge('photo_50' => img_url)
108
110
  )
109
111
  expect(subject.info[:image]).to eq(img_url)
110
112
  end
111
113
 
112
114
  it 'should return normal image by default' do
113
115
  allow(subject).to receive(:raw_info).and_return(
114
- raw_info_hash.merge({ 'photo_50' => img_url })
116
+ raw_info_hash.merge('photo_50' => img_url)
115
117
  )
116
118
  expect(subject.info[:image]).to eq(img_url)
117
119
  end
@@ -121,8 +123,8 @@ describe OmniAuth::Strategies::Vkontakte do
121
123
  describe 'skip_info option' do
122
124
  context 'when skip info option is enabled' do
123
125
  it 'should not include raw_info in extras hash' do
124
- @options = { :skip_info => true }
125
- allow(subject).to receive(:raw_info).and_return({:foo => 'bar'})
126
+ @options = { skip_info: true }
127
+ allow(subject).to receive(:raw_info).and_return(foo: 'bar')
126
128
  expect(subject.extra[:raw_info]).to eq(nil)
127
129
  end
128
130
  end
@@ -131,12 +133,12 @@ describe OmniAuth::Strategies::Vkontakte do
131
133
  describe 'request_phase' do
132
134
  context 'with no request params set and redirect_url specified' do
133
135
  before do
134
- @options = { :redirect_url => 'http://www.example.com/auth/vkontakte/callback' }
136
+ @options = { redirect_url: 'http://www.example.com/auth/vkontakte/callback' }
135
137
  allow(subject).to receive(:env).and_return({})
136
138
  allow(subject).to receive(:request).and_return(
137
- double('Request', {:params => {}, :scheme => 'https',
138
- :url => 'https://oauth.vk.com/authorize',
139
- :cookies => {}, :env => {}})
139
+ double('Request', params: {}, scheme: 'https',
140
+ url: 'https://oauth.vk.com/authorize',
141
+ cookies: {}, env: {})
140
142
  )
141
143
  allow(subject).to receive(:request_phase).and_return(:whatever)
142
144
  end
@@ -1,5 +1,5 @@
1
- $:.unshift File.expand_path('..', __FILE__)
2
- $:.unshift File.expand_path('../../lib', __FILE__)
1
+ $LOAD_PATH.unshift File.expand_path(__dir__)
2
+ $LOAD_PATH.unshift File.expand_path('../lib', __dir__)
3
3
  require 'simplecov'
4
4
  SimpleCov.start
5
5
  require 'rspec'
@@ -11,7 +11,7 @@ require 'omniauth-vkontakte'
11
11
  RSpec.configure do |config|
12
12
  config.include WebMock::API
13
13
  config.include Rack::Test::Methods
14
- config.extend OmniAuth::Test::StrategyMacros, :type => :strategy
14
+ config.extend OmniAuth::Test::StrategyMacros, type: :strategy
15
15
  config.expect_with :rspec do |c|
16
16
  c.syntax = :expect
17
17
  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.1
4
+ version: 1.5.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: 2017-09-18 00:00:00.000000000 Z
11
+ date: 2019-01-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: omniauth-oauth2
@@ -16,15 +16,15 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.2'
19
+ version: '1.5'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '1.2'
27
- description: Unofficial VKontakte strategy for OmniAuth 1.0
26
+ version: '1.5'
27
+ description:
28
28
  email:
29
29
  - anton.linux@gmail.com
30
30
  executables: []
@@ -33,8 +33,10 @@ extra_rdoc_files: []
33
33
  files:
34
34
  - ".gitignore"
35
35
  - ".rspec"
36
+ - ".rubocop.yml"
36
37
  - ".travis.yml"
37
38
  - Gemfile
39
+ - LICENSE
38
40
  - README.md
39
41
  - Rakefile
40
42
  - examples/.env.example
@@ -43,13 +45,14 @@ files:
43
45
  - examples/config.ru
44
46
  - examples/main.rb
45
47
  - lib/omniauth-vkontakte.rb
46
- - lib/omniauth-vkontakte/version.rb
47
48
  - lib/omniauth/strategies/vkontakte.rb
49
+ - lib/omniauth/vkontakte/version.rb
48
50
  - omniauth-vkontakte.gemspec
49
51
  - spec/omniauth/strategies/vkontakte_spec.rb
50
52
  - spec/spec_helper.rb
51
53
  homepage: https://github.com/mamantoha/omniauth-vkontakte
52
- licenses: []
54
+ licenses:
55
+ - MIT
53
56
  metadata: {}
54
57
  post_install_message:
55
58
  rdoc_options: []
@@ -66,11 +69,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
66
69
  - !ruby/object:Gem::Version
67
70
  version: '0'
68
71
  requirements: []
69
- rubyforge_project:
70
- rubygems_version: 2.6.13
72
+ rubygems_version: 3.0.1
71
73
  signing_key:
72
74
  specification_version: 4
73
- summary: Unofficial VKontakte strategy for OmniAuth 1.0
74
- test_files:
75
- - spec/omniauth/strategies/vkontakte_spec.rb
76
- - spec/spec_helper.rb
75
+ summary: Vkontakte OAuth2 Strategy for OmniAuth
76
+ test_files: []