omniauth-square-oauth2 0.0.1 → 0.0.2
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 +4 -4
- data/.github/workflows/ruby.yml +33 -0
- data/.gitignore +56 -0
- data/Gemfile +3 -1
- data/Gemfile.lock +22 -1
- data/Rakefile +4 -3
- data/lib/omniauth-square-oauth2.rb +4 -0
- data/lib/omniauth-square/version.rb +3 -1
- data/lib/omniauth/strategies/square.rb +19 -16
- data/omniauth-square-oauth2.gemspec +16 -14
- data/spec/omniauth/strategies/square_spec.rb +13 -11
- data/spec/spec_helper.rb +3 -1
- data/spec/support/shared_examples.rb +6 -4
- metadata +29 -46
- data/coverage/.last_run.json +0 -5
- data/coverage/.resultset.json +0 -77
- data/coverage/.resultset.json.lock +0 -0
- data/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_asc.png +0 -0
- data/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_asc_disabled.png +0 -0
- data/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_both.png +0 -0
- data/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_desc.png +0 -0
- data/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_desc_disabled.png +0 -0
- data/coverage/assets/0.12.3/application.css +0 -1
- data/coverage/assets/0.12.3/application.js +0 -7
- data/coverage/assets/0.12.3/colorbox/border.png +0 -0
- data/coverage/assets/0.12.3/colorbox/controls.png +0 -0
- data/coverage/assets/0.12.3/colorbox/loading.gif +0 -0
- data/coverage/assets/0.12.3/colorbox/loading_background.png +0 -0
- data/coverage/assets/0.12.3/favicon_green.png +0 -0
- data/coverage/assets/0.12.3/favicon_red.png +0 -0
- data/coverage/assets/0.12.3/favicon_yellow.png +0 -0
- data/coverage/assets/0.12.3/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/coverage/assets/0.12.3/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/coverage/assets/0.12.3/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/coverage/assets/0.12.3/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/coverage/assets/0.12.3/images/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/coverage/assets/0.12.3/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/coverage/assets/0.12.3/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/coverage/assets/0.12.3/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/coverage/assets/0.12.3/images/ui-icons_222222_256x240.png +0 -0
- data/coverage/assets/0.12.3/images/ui-icons_2e83ff_256x240.png +0 -0
- data/coverage/assets/0.12.3/images/ui-icons_454545_256x240.png +0 -0
- data/coverage/assets/0.12.3/images/ui-icons_888888_256x240.png +0 -0
- data/coverage/assets/0.12.3/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/coverage/assets/0.12.3/loading.gif +0 -0
- data/coverage/assets/0.12.3/magnify.png +0 -0
- data/coverage/index.html +0 -859
- data/lib/omniauth-square.rb +0 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3547cd31d5d00b67487cf0ffbbd481494f3b6fa8574f075d0456738c437b1c2c
|
4
|
+
data.tar.gz: 1ee437d58498c8e704c7706fc4140623cafb1a9381cfb22cb0dc642de8c366e1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a663c24f39f31c52457f357e314f769a9693d5a6557f6fac9cc0f1258ccbf49ee53b46fe5b4f005aeb3548dfb0d3a496373a8fbade8cffa45d87f23181e40157
|
7
|
+
data.tar.gz: f79fbf06666ea57691829a7a79dd38e9f286e37a3c557bffedc7ca7d139164e62f52912fc2b9e97408856021740916ab9278b23afa926b6a2024b1f4a1857ab5
|
@@ -0,0 +1,33 @@
|
|
1
|
+
# This workflow uses actions that are not certified by GitHub.
|
2
|
+
# They are provided by a third-party and are governed by
|
3
|
+
# separate terms of service, privacy policy, and support
|
4
|
+
# documentation.
|
5
|
+
# This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake
|
6
|
+
# For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby
|
7
|
+
|
8
|
+
name: Ruby
|
9
|
+
|
10
|
+
on:
|
11
|
+
push:
|
12
|
+
branches: [ master ]
|
13
|
+
pull_request:
|
14
|
+
branches: [ master ]
|
15
|
+
|
16
|
+
jobs:
|
17
|
+
test:
|
18
|
+
|
19
|
+
runs-on: ubuntu-latest
|
20
|
+
|
21
|
+
steps:
|
22
|
+
- uses: actions/checkout@v2
|
23
|
+
- name: Set up Ruby
|
24
|
+
# To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
|
25
|
+
# change this to (see https://github.com/ruby/setup-ruby#versioning):
|
26
|
+
# uses: ruby/setup-ruby@v1
|
27
|
+
uses: ruby/setup-ruby@ec106b438a1ff6ff109590de34ddc62c540232e0
|
28
|
+
with:
|
29
|
+
ruby-version: 2.6
|
30
|
+
- name: Install dependencies
|
31
|
+
run: bundle install
|
32
|
+
- name: Run tests
|
33
|
+
run: bundle exec rake
|
data/.gitignore
ADDED
@@ -0,0 +1,56 @@
|
|
1
|
+
*.gem
|
2
|
+
*.rbc
|
3
|
+
/.config
|
4
|
+
/coverage/
|
5
|
+
/InstalledFiles
|
6
|
+
/pkg/
|
7
|
+
/spec/reports/
|
8
|
+
/spec/examples.txt
|
9
|
+
/test/tmp/
|
10
|
+
/test/version_tmp/
|
11
|
+
/tmp/
|
12
|
+
|
13
|
+
# Used by dotenv library to load environment variables.
|
14
|
+
# .env
|
15
|
+
|
16
|
+
# Ignore Byebug command history file.
|
17
|
+
.byebug_history
|
18
|
+
|
19
|
+
## Specific to RubyMotion:
|
20
|
+
.dat*
|
21
|
+
.repl_history
|
22
|
+
build/
|
23
|
+
*.bridgesupport
|
24
|
+
build-iPhoneOS/
|
25
|
+
build-iPhoneSimulator/
|
26
|
+
|
27
|
+
## Specific to RubyMotion (use of CocoaPods):
|
28
|
+
#
|
29
|
+
# We recommend against adding the Pods directory to your .gitignore. However
|
30
|
+
# you should judge for yourself, the pros and cons are mentioned at:
|
31
|
+
# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
|
32
|
+
#
|
33
|
+
# vendor/Pods/
|
34
|
+
|
35
|
+
## Documentation cache and generated files:
|
36
|
+
/.yardoc/
|
37
|
+
/_yardoc/
|
38
|
+
/doc/
|
39
|
+
/rdoc/
|
40
|
+
|
41
|
+
## Environment normalization:
|
42
|
+
/.bundle/
|
43
|
+
/vendor/bundle
|
44
|
+
/lib/bundler/man/
|
45
|
+
|
46
|
+
# for a library or gem, you might want to ignore these files since the code is
|
47
|
+
# intended to run in multiple environments; otherwise, check them in:
|
48
|
+
# Gemfile.lock
|
49
|
+
# .ruby-version
|
50
|
+
# .ruby-gemset
|
51
|
+
|
52
|
+
# unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
|
53
|
+
.rvmrc
|
54
|
+
|
55
|
+
# Used by RuboCop. Remote config files pulled in from inherit_from directive.
|
56
|
+
# .rubocop-https?--*
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
omniauth-square-oauth2 (
|
4
|
+
omniauth-square-oauth2 (0.0.1)
|
5
5
|
omniauth-oauth2 (>= 1.1.1, < 1.3.0)
|
6
6
|
|
7
7
|
GEM
|
@@ -9,6 +9,7 @@ GEM
|
|
9
9
|
specs:
|
10
10
|
addressable (2.7.0)
|
11
11
|
public_suffix (>= 2.0.2, < 5.0)
|
12
|
+
ast (2.4.1)
|
12
13
|
crack (0.4.4)
|
13
14
|
diff-lcs (1.4.4)
|
14
15
|
docile (1.3.2)
|
@@ -34,11 +35,17 @@ GEM
|
|
34
35
|
multi_json (~> 1.3)
|
35
36
|
oauth2 (~> 1.0)
|
36
37
|
omniauth (~> 1.2)
|
38
|
+
parallel (1.19.2)
|
39
|
+
parser (2.7.2.0)
|
40
|
+
ast (~> 2.4.1)
|
37
41
|
public_suffix (4.0.6)
|
38
42
|
rack (2.2.3)
|
39
43
|
rack-test (1.1.0)
|
40
44
|
rack (>= 1.0, < 3)
|
45
|
+
rainbow (3.0.0)
|
41
46
|
rake (10.5.0)
|
47
|
+
regexp_parser (1.8.1)
|
48
|
+
rexml (3.2.4)
|
42
49
|
rspec (2.99.0)
|
43
50
|
rspec-core (~> 2.99.0)
|
44
51
|
rspec-expectations (~> 2.99.0)
|
@@ -47,10 +54,23 @@ GEM
|
|
47
54
|
rspec-expectations (2.99.2)
|
48
55
|
diff-lcs (>= 1.1.3, < 2.0)
|
49
56
|
rspec-mocks (2.99.4)
|
57
|
+
rubocop (0.93.0)
|
58
|
+
parallel (~> 1.10)
|
59
|
+
parser (>= 2.7.1.5)
|
60
|
+
rainbow (>= 2.2.2, < 4.0)
|
61
|
+
regexp_parser (>= 1.8)
|
62
|
+
rexml
|
63
|
+
rubocop-ast (>= 0.6.0)
|
64
|
+
ruby-progressbar (~> 1.7)
|
65
|
+
unicode-display_width (>= 1.4.0, < 2.0)
|
66
|
+
rubocop-ast (0.7.1)
|
67
|
+
parser (>= 2.7.1.5)
|
68
|
+
ruby-progressbar (1.10.1)
|
50
69
|
simplecov (0.19.0)
|
51
70
|
docile (~> 1.1)
|
52
71
|
simplecov-html (~> 0.11)
|
53
72
|
simplecov-html (0.12.3)
|
73
|
+
unicode-display_width (1.7.0)
|
54
74
|
webmock (3.9.1)
|
55
75
|
addressable (>= 2.3.6)
|
56
76
|
crack (>= 0.3.2)
|
@@ -64,6 +84,7 @@ DEPENDENCIES
|
|
64
84
|
rack-test
|
65
85
|
rake (~> 10.0)
|
66
86
|
rspec (~> 2.7)
|
87
|
+
rubocop (~> 0.93.0)
|
67
88
|
simplecov
|
68
89
|
webmock
|
69
90
|
|
data/Rakefile
CHANGED
@@ -1,41 +1,44 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
require 'omniauth/strategies/oauth2'
|
2
4
|
|
3
5
|
module OmniAuth
|
4
6
|
module Strategies
|
5
7
|
class Square < OmniAuth::Strategies::OAuth2
|
8
|
+
option :name, 'square'
|
6
9
|
option :client_options, {
|
7
|
-
:
|
8
|
-
:
|
9
|
-
:
|
10
|
-
:
|
10
|
+
site: 'https://squareup.com/',
|
11
|
+
connect_site: 'https://connect.squareup.com',
|
12
|
+
authorize_url: '/oauth2/authorize',
|
13
|
+
token_url: '/oauth2/token'
|
11
14
|
}
|
12
15
|
|
13
|
-
uid { raw_info[
|
16
|
+
uid { raw_info['merchant'][0]['id'] }
|
14
17
|
|
15
18
|
info do
|
16
19
|
prune!(
|
17
|
-
:
|
18
|
-
:
|
20
|
+
name: raw_info['merchant'][0]['business_name'],
|
21
|
+
country: raw_info['merchant'][0]['country']
|
19
22
|
)
|
20
23
|
end
|
21
24
|
|
22
25
|
extra do
|
23
|
-
{ :
|
26
|
+
{ raw_info: raw_info }
|
24
27
|
end
|
25
28
|
|
26
29
|
def build_access_token
|
27
30
|
connect_client = client.dup
|
28
31
|
connect_client.site = options.client_options.connect_site
|
29
32
|
auth_params = {
|
30
|
-
:
|
31
|
-
:
|
32
|
-
:
|
33
|
-
:
|
34
|
-
}.merge(token_params.to_hash(:
|
33
|
+
redirect_uri: callback_url,
|
34
|
+
client_id: options.client_id,
|
35
|
+
client_secret: options.client_secret,
|
36
|
+
grant_type: 'authorization_code'
|
37
|
+
}.merge(token_params.to_hash(symbolize_keys: true))
|
35
38
|
connect_client.auth_code.get_token(
|
36
|
-
request.params[
|
39
|
+
request.params['code'],
|
37
40
|
auth_params.merge(
|
38
|
-
token_params.to_hash(:
|
41
|
+
token_params.to_hash(symbolize_keys: true)
|
39
42
|
),
|
40
43
|
deep_symbolize(options.auth_token_params)
|
41
44
|
)
|
@@ -57,4 +60,4 @@ module OmniAuth
|
|
57
60
|
end
|
58
61
|
end
|
59
62
|
|
60
|
-
OmniAuth.config.add_camelization 'square', 'Square'
|
63
|
+
OmniAuth.config.add_camelization 'square', 'Square'
|
@@ -1,26 +1,28 @@
|
|
1
|
-
#
|
2
|
-
|
3
|
-
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
$LOAD_PATH.push File.expand_path('lib', __dir__)
|
4
|
+
require 'omniauth-square/version'
|
4
5
|
|
5
6
|
Gem::Specification.new do |s|
|
6
|
-
s.name =
|
7
|
+
s.name = 'omniauth-square-oauth2'
|
7
8
|
s.version = Omniauth::Square::VERSION
|
8
|
-
s.authors = [
|
9
|
-
s.email = [
|
10
|
-
s.homepage =
|
11
|
-
s.summary =
|
12
|
-
s.description =
|
13
|
-
s.license
|
9
|
+
s.authors = ['Nick Robinson']
|
10
|
+
s.email = ['nrobinson13+github@gmail.com']
|
11
|
+
s.homepage = 'https://github.com/nickrobinson/omniauth-square-oauth2'
|
12
|
+
s.summary = 'Square OAuth strategy for OmniAuth'
|
13
|
+
s.description = 'Square OAuth strategy for OmniAuth'
|
14
|
+
s.license = 'MIT'
|
14
15
|
|
15
16
|
s.files = `git ls-files`.split("\n")
|
16
17
|
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
17
|
-
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
18
|
-
s.require_paths = [
|
18
|
+
s.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }
|
19
|
+
s.require_paths = ['lib']
|
19
20
|
|
20
21
|
s.add_runtime_dependency 'omniauth-oauth2', '>= 1.1.1', '< 1.3.0'
|
21
|
-
s.add_development_dependency 'rspec', '~> 2.7'
|
22
22
|
s.add_development_dependency 'rack-test'
|
23
|
-
s.add_development_dependency
|
23
|
+
s.add_development_dependency 'rake', '~> 10.0'
|
24
|
+
s.add_development_dependency 'rspec', '~> 2.7'
|
25
|
+
s.add_development_dependency 'rubocop', '~> 0.93.0'
|
24
26
|
s.add_development_dependency 'simplecov'
|
25
27
|
s.add_development_dependency 'webmock'
|
26
28
|
end
|
@@ -1,8 +1,10 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
require 'spec_helper'
|
2
4
|
|
3
5
|
describe OmniAuth::Strategies::Square do
|
4
6
|
before :each do
|
5
|
-
@request = double('Request', :
|
7
|
+
@request = double('Request', scheme: '', url: '')
|
6
8
|
@request.stub(:params) { {} }
|
7
9
|
end
|
8
10
|
|
@@ -29,14 +31,14 @@ describe OmniAuth::Strategies::Square do
|
|
29
31
|
describe '#info' do
|
30
32
|
before :each do
|
31
33
|
@raw_info = {
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
34
|
+
'merchant' => [{
|
35
|
+
'id' => 'JGHJ0343',
|
36
|
+
'business_name' => 'Foobar Sports',
|
37
|
+
'country' => 'US',
|
38
|
+
'language_code' => 'en-US',
|
39
|
+
'currency' => 'USD',
|
40
|
+
'status' => 'ACTIVE',
|
41
|
+
'main_location_id' => 'DDM555V5KQPNS'
|
40
42
|
}]
|
41
43
|
}
|
42
44
|
|
@@ -49,7 +51,7 @@ describe OmniAuth::Strategies::Square do
|
|
49
51
|
end
|
50
52
|
|
51
53
|
it 'returns raw info' do
|
52
|
-
subject.extra[:raw_info]['merchant'][0]['business_name'].should eq(
|
54
|
+
subject.extra[:raw_info]['merchant'][0]['business_name'].should eq('Foobar Sports')
|
53
55
|
end
|
54
56
|
end
|
55
57
|
end
|
@@ -104,4 +106,4 @@ describe OmniAuth::Strategies::Square do
|
|
104
106
|
subject.credentials.should_not have_key('refresh_token')
|
105
107
|
end
|
106
108
|
end
|
107
|
-
end
|
109
|
+
end
|
data/spec/spec_helper.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
require 'simplecov'
|
2
4
|
SimpleCov.start
|
3
5
|
require 'rspec'
|
@@ -9,5 +11,5 @@ require 'omniauth-square'
|
|
9
11
|
RSpec.configure do |config|
|
10
12
|
config.include WebMock::API
|
11
13
|
config.include Rack::Test::Methods
|
12
|
-
config.extend OmniAuth::Test::StrategyMacros, :
|
14
|
+
config.extend OmniAuth::Test::StrategyMacros, type: :strategy
|
13
15
|
end
|
@@ -1,23 +1,25 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# NOTE it would be useful if this lived in omniauth-oauth2 eventually
|
2
4
|
shared_examples 'an oauth2 strategy' do
|
3
5
|
describe '#client' do
|
4
6
|
it 'should be initialized with symbolized client_options' do
|
5
|
-
@options = { :
|
7
|
+
@options = { client_options: { 'authorize_url' => 'https://example.com' } }
|
6
8
|
subject.client.options[:authorize_url].should == 'https://example.com'
|
7
9
|
end
|
8
10
|
end
|
9
11
|
|
10
12
|
describe '#token_params' do
|
11
13
|
it 'should include any authorize params passed in the :authorize_params option' do
|
12
|
-
@options = { :
|
14
|
+
@options = { token_params: { foo: 'bar', baz: 'zip' } }
|
13
15
|
subject.token_params['foo'].should eq('bar')
|
14
16
|
subject.token_params['baz'].should eq('zip')
|
15
17
|
end
|
16
18
|
|
17
19
|
it 'should include top-level options that are marked as :authorize_options' do
|
18
|
-
@options = { :
|
20
|
+
@options = { token_options: %i[scope foo], scope: 'bar', foo: 'baz' }
|
19
21
|
subject.token_params['scope'].should eq('bar')
|
20
22
|
subject.token_params['foo'].should eq('baz')
|
21
23
|
end
|
22
24
|
end
|
23
|
-
end
|
25
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: omniauth-square-oauth2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nick Robinson
|
@@ -31,47 +31,61 @@ dependencies:
|
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 1.3.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
|
-
name:
|
34
|
+
name: rack-test
|
35
|
+
requirement: !ruby/object:Gem::Requirement
|
36
|
+
requirements:
|
37
|
+
- - ">="
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: '0'
|
40
|
+
type: :development
|
41
|
+
prerelease: false
|
42
|
+
version_requirements: !ruby/object:Gem::Requirement
|
43
|
+
requirements:
|
44
|
+
- - ">="
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: '0'
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: rake
|
35
49
|
requirement: !ruby/object:Gem::Requirement
|
36
50
|
requirements:
|
37
51
|
- - "~>"
|
38
52
|
- !ruby/object:Gem::Version
|
39
|
-
version: '
|
53
|
+
version: '10.0'
|
40
54
|
type: :development
|
41
55
|
prerelease: false
|
42
56
|
version_requirements: !ruby/object:Gem::Requirement
|
43
57
|
requirements:
|
44
58
|
- - "~>"
|
45
59
|
- !ruby/object:Gem::Version
|
46
|
-
version: '
|
60
|
+
version: '10.0'
|
47
61
|
- !ruby/object:Gem::Dependency
|
48
|
-
name:
|
62
|
+
name: rspec
|
49
63
|
requirement: !ruby/object:Gem::Requirement
|
50
64
|
requirements:
|
51
|
-
- - "
|
65
|
+
- - "~>"
|
52
66
|
- !ruby/object:Gem::Version
|
53
|
-
version: '
|
67
|
+
version: '2.7'
|
54
68
|
type: :development
|
55
69
|
prerelease: false
|
56
70
|
version_requirements: !ruby/object:Gem::Requirement
|
57
71
|
requirements:
|
58
|
-
- - "
|
72
|
+
- - "~>"
|
59
73
|
- !ruby/object:Gem::Version
|
60
|
-
version: '
|
74
|
+
version: '2.7'
|
61
75
|
- !ruby/object:Gem::Dependency
|
62
|
-
name:
|
76
|
+
name: rubocop
|
63
77
|
requirement: !ruby/object:Gem::Requirement
|
64
78
|
requirements:
|
65
79
|
- - "~>"
|
66
80
|
- !ruby/object:Gem::Version
|
67
|
-
version:
|
81
|
+
version: 0.93.0
|
68
82
|
type: :development
|
69
83
|
prerelease: false
|
70
84
|
version_requirements: !ruby/object:Gem::Requirement
|
71
85
|
requirements:
|
72
86
|
- - "~>"
|
73
87
|
- !ruby/object:Gem::Version
|
74
|
-
version:
|
88
|
+
version: 0.93.0
|
75
89
|
- !ruby/object:Gem::Dependency
|
76
90
|
name: simplecov
|
77
91
|
requirement: !ruby/object:Gem::Requirement
|
@@ -107,45 +121,14 @@ executables: []
|
|
107
121
|
extensions: []
|
108
122
|
extra_rdoc_files: []
|
109
123
|
files:
|
124
|
+
- ".github/workflows/ruby.yml"
|
125
|
+
- ".gitignore"
|
110
126
|
- Gemfile
|
111
127
|
- Gemfile.lock
|
112
128
|
- LICENSE
|
113
129
|
- README.md
|
114
130
|
- Rakefile
|
115
|
-
-
|
116
|
-
- coverage/.resultset.json
|
117
|
-
- coverage/.resultset.json.lock
|
118
|
-
- coverage/assets/0.12.3/DataTables-1.10.20/images/sort_asc.png
|
119
|
-
- coverage/assets/0.12.3/DataTables-1.10.20/images/sort_asc_disabled.png
|
120
|
-
- coverage/assets/0.12.3/DataTables-1.10.20/images/sort_both.png
|
121
|
-
- coverage/assets/0.12.3/DataTables-1.10.20/images/sort_desc.png
|
122
|
-
- coverage/assets/0.12.3/DataTables-1.10.20/images/sort_desc_disabled.png
|
123
|
-
- coverage/assets/0.12.3/application.css
|
124
|
-
- coverage/assets/0.12.3/application.js
|
125
|
-
- coverage/assets/0.12.3/colorbox/border.png
|
126
|
-
- coverage/assets/0.12.3/colorbox/controls.png
|
127
|
-
- coverage/assets/0.12.3/colorbox/loading.gif
|
128
|
-
- coverage/assets/0.12.3/colorbox/loading_background.png
|
129
|
-
- coverage/assets/0.12.3/favicon_green.png
|
130
|
-
- coverage/assets/0.12.3/favicon_red.png
|
131
|
-
- coverage/assets/0.12.3/favicon_yellow.png
|
132
|
-
- coverage/assets/0.12.3/images/ui-bg_flat_0_aaaaaa_40x100.png
|
133
|
-
- coverage/assets/0.12.3/images/ui-bg_flat_75_ffffff_40x100.png
|
134
|
-
- coverage/assets/0.12.3/images/ui-bg_glass_55_fbf9ee_1x400.png
|
135
|
-
- coverage/assets/0.12.3/images/ui-bg_glass_65_ffffff_1x400.png
|
136
|
-
- coverage/assets/0.12.3/images/ui-bg_glass_75_dadada_1x400.png
|
137
|
-
- coverage/assets/0.12.3/images/ui-bg_glass_75_e6e6e6_1x400.png
|
138
|
-
- coverage/assets/0.12.3/images/ui-bg_glass_95_fef1ec_1x400.png
|
139
|
-
- coverage/assets/0.12.3/images/ui-bg_highlight-soft_75_cccccc_1x100.png
|
140
|
-
- coverage/assets/0.12.3/images/ui-icons_222222_256x240.png
|
141
|
-
- coverage/assets/0.12.3/images/ui-icons_2e83ff_256x240.png
|
142
|
-
- coverage/assets/0.12.3/images/ui-icons_454545_256x240.png
|
143
|
-
- coverage/assets/0.12.3/images/ui-icons_888888_256x240.png
|
144
|
-
- coverage/assets/0.12.3/images/ui-icons_cd0a0a_256x240.png
|
145
|
-
- coverage/assets/0.12.3/loading.gif
|
146
|
-
- coverage/assets/0.12.3/magnify.png
|
147
|
-
- coverage/index.html
|
148
|
-
- lib/omniauth-square.rb
|
131
|
+
- lib/omniauth-square-oauth2.rb
|
149
132
|
- lib/omniauth-square/version.rb
|
150
133
|
- lib/omniauth/strategies/square.rb
|
151
134
|
- omniauth-square-oauth2.gemspec
|