omniauth-miro 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +20 -0
- data/.rspec +1 -0
- data/.rubocop.yml +131 -0
- data/.ruby-version +1 -0
- data/CHANGELOG.md +5 -0
- data/Gemfile +17 -0
- data/Gemfile.lock +134 -0
- data/LICENSE +22 -0
- data/README.md +57 -0
- data/Rakefile +11 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/lib/omni_auth/miro/version.rb +7 -0
- data/lib/omni_auth/strategies/miro.rb +42 -0
- data/lib/omniauth-miro.rb +4 -0
- data/omniauth-miro.gemspec +33 -0
- metadata +99 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: f5cc474775b124338f8f92ae946477d796f6e56a6d05d37a766061458685cd6e
|
4
|
+
data.tar.gz: 17a7311149f2706f295defca7024fdac8dd5ddb922288852b73842c1ec901804
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 2d89e74ef9d0bebf0fc1def6070f748658cc41a2c3bd23e5b31a227a469a2945348655a60cc17af5c9ba036fabde98f0afe32ff40bd68b9eb6dbc6e85abcf55d
|
7
|
+
data.tar.gz: 01a5779d24c2661b4687d69a12f0e9c51cfdf202e30d7673ea7dd4a6e4fd807b08c2c0576801379cef3e0caba1ab900f03614ce0707d3cca478f7eb7f2877b31
|
data/.gitignore
ADDED
data/.rspec
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
--require spec_helper
|
data/.rubocop.yml
ADDED
@@ -0,0 +1,131 @@
|
|
1
|
+
require:
|
2
|
+
- rubocop-performance
|
3
|
+
- rubocop-rspec
|
4
|
+
|
5
|
+
AllCops:
|
6
|
+
DisplayCopNames: true
|
7
|
+
TargetRubyVersion: 3.2
|
8
|
+
StyleGuideBaseURL: https://github.com/rewindio/ruby-style-configs/
|
9
|
+
NewCops: enable
|
10
|
+
Exclude:
|
11
|
+
- .git/**/*
|
12
|
+
- bin/**/*
|
13
|
+
- log/**/*
|
14
|
+
- tmp/**/*
|
15
|
+
- vendor/**/*
|
16
|
+
|
17
|
+
# Layout cop configuration
|
18
|
+
|
19
|
+
Layout/LineLength:
|
20
|
+
Max: 160
|
21
|
+
|
22
|
+
# Lint cop configuration
|
23
|
+
|
24
|
+
Lint/Debugger:
|
25
|
+
Enabled: true
|
26
|
+
Lint/SuppressedException:
|
27
|
+
AllowComments: true
|
28
|
+
|
29
|
+
# Metrics cop configuration
|
30
|
+
|
31
|
+
Metrics/AbcSize:
|
32
|
+
Enabled: false
|
33
|
+
Metrics/BlockLength:
|
34
|
+
Enabled: false
|
35
|
+
Metrics/ClassLength:
|
36
|
+
Enabled: false
|
37
|
+
Metrics/CyclomaticComplexity:
|
38
|
+
Enabled: false
|
39
|
+
Metrics/MethodLength:
|
40
|
+
Enabled: false
|
41
|
+
Metrics/ModuleLength:
|
42
|
+
Enabled: false
|
43
|
+
Metrics/ParameterLists:
|
44
|
+
Enabled: false
|
45
|
+
Metrics/PerceivedComplexity:
|
46
|
+
Enabled: false
|
47
|
+
|
48
|
+
# Naming cop configuration
|
49
|
+
Naming/MethodParameterName:
|
50
|
+
Enabled: true
|
51
|
+
Exclude:
|
52
|
+
- spec/support/helpers.rb
|
53
|
+
|
54
|
+
Naming/BlockForwarding:
|
55
|
+
EnforcedStyle: explicit
|
56
|
+
|
57
|
+
Naming/FileName:
|
58
|
+
Exclude:
|
59
|
+
- lib/omniauth-miro.rb
|
60
|
+
|
61
|
+
# Minitest cop configuration
|
62
|
+
|
63
|
+
# Performance cop configuration
|
64
|
+
|
65
|
+
# Rails cop configuration
|
66
|
+
|
67
|
+
# RSpec cop configuration
|
68
|
+
|
69
|
+
RSpec/ExampleLength:
|
70
|
+
Max: 15
|
71
|
+
CountAsOne: ['array', 'heredoc', 'hash']
|
72
|
+
RSpec/MultipleExpectations:
|
73
|
+
Max: 5
|
74
|
+
# This cop does more harm than good and makes certain data-heavy classes difficult to test.
|
75
|
+
# Even Rubocop themselves disables this one.
|
76
|
+
# https://github.com/rubocop/rubocop/blob/efb1e628adfec08d2fe7875779fc16b42bde9f77/.rubocop.yml#L145
|
77
|
+
# https://stackoverflow.com/a/67149191
|
78
|
+
RSpec/MultipleMemoizedHelpers:
|
79
|
+
Enabled: false
|
80
|
+
RSpec/NestedGroups:
|
81
|
+
Max: 5
|
82
|
+
RSpec/VerifiedDoubleReference:
|
83
|
+
Enabled: false
|
84
|
+
RSpec/FilePath:
|
85
|
+
Exclude:
|
86
|
+
- spec/omni_auth/miro/version_spec.rb
|
87
|
+
RSpec/SpecFilePathFormat:
|
88
|
+
Exclude:
|
89
|
+
- spec/omni_auth/miro/version_spec.rb
|
90
|
+
|
91
|
+
# Style cop configuration
|
92
|
+
Style/ArgumentsForwarding:
|
93
|
+
UseAnonymousForwarding: false
|
94
|
+
Style/AsciiComments:
|
95
|
+
Enabled: false
|
96
|
+
Style/ClassAndModuleChildren:
|
97
|
+
EnforcedStyle: compact
|
98
|
+
Exclude:
|
99
|
+
- config/**/*.rb
|
100
|
+
- lib/**/*.rb
|
101
|
+
Style/DateTime:
|
102
|
+
Enabled: false
|
103
|
+
Style/Documentation:
|
104
|
+
Enabled: false
|
105
|
+
Style/FrozenStringLiteralComment:
|
106
|
+
Details: >-
|
107
|
+
Add `# frozen_string_literal: true` to the top of the file. Frozen string
|
108
|
+
literals will become the default in a future Ruby version, and we want to
|
109
|
+
make sure we're ready.
|
110
|
+
EnforcedStyle: always
|
111
|
+
SupportedStyles:
|
112
|
+
- always
|
113
|
+
- never
|
114
|
+
Style/HashEachMethods:
|
115
|
+
Enabled: true
|
116
|
+
Style/HashSyntax:
|
117
|
+
EnforcedShorthandSyntax: either
|
118
|
+
Style/HashTransformKeys:
|
119
|
+
Enabled: true
|
120
|
+
Style/HashTransformValues:
|
121
|
+
Enabled: true
|
122
|
+
Style/NumericPredicate:
|
123
|
+
Enabled: false # This is an unsafe setting which has the potential to introduce bugs because nil == 0 is false, where nil.zero? throws an exception.
|
124
|
+
Style/RedundantSelf:
|
125
|
+
Enabled: true
|
126
|
+
Style/RescueStandardError:
|
127
|
+
Enabled: false
|
128
|
+
|
129
|
+
# Gem Spec cop configuration
|
130
|
+
Gemspec/RequireMFA:
|
131
|
+
Enabled: false
|
data/.ruby-version
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
3.2.2
|
data/CHANGELOG.md
ADDED
data/Gemfile
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
source 'https://rubygems.org'
|
4
|
+
|
5
|
+
gemspec
|
6
|
+
|
7
|
+
group :development, :test do
|
8
|
+
gem 'bundler', '~> 2.4'
|
9
|
+
gem 'pry'
|
10
|
+
gem 'rake', '~> 13.0'
|
11
|
+
gem 'rspec', '~> 3.9.0'
|
12
|
+
gem 'rubocop'
|
13
|
+
gem 'rubocop-performance'
|
14
|
+
gem 'rubocop-rspec'
|
15
|
+
gem 'simplecov', '~> 0.22'
|
16
|
+
gem 'simplecov-console', '~> 0.9'
|
17
|
+
end
|
data/Gemfile.lock
ADDED
@@ -0,0 +1,134 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
omniauth-miro (1.0.0)
|
5
|
+
omniauth (>= 1, < 3)
|
6
|
+
omniauth-oauth2 (~> 1.1)
|
7
|
+
|
8
|
+
GEM
|
9
|
+
remote: https://rubygems.org/
|
10
|
+
specs:
|
11
|
+
ansi (1.5.0)
|
12
|
+
ast (2.4.2)
|
13
|
+
base64 (0.1.1)
|
14
|
+
coderay (1.1.3)
|
15
|
+
diff-lcs (1.5.0)
|
16
|
+
docile (1.4.0)
|
17
|
+
faraday (2.9.0)
|
18
|
+
faraday-net_http (>= 2.0, < 3.2)
|
19
|
+
faraday-net_http (3.1.0)
|
20
|
+
net-http
|
21
|
+
hashie (5.0.0)
|
22
|
+
json (2.6.3)
|
23
|
+
jwt (2.8.1)
|
24
|
+
base64
|
25
|
+
language_server-protocol (3.17.0.3)
|
26
|
+
method_source (1.0.0)
|
27
|
+
multi_xml (0.6.0)
|
28
|
+
net-http (0.4.1)
|
29
|
+
uri
|
30
|
+
oauth2 (2.0.9)
|
31
|
+
faraday (>= 0.17.3, < 3.0)
|
32
|
+
jwt (>= 1.0, < 3.0)
|
33
|
+
multi_xml (~> 0.5)
|
34
|
+
rack (>= 1.2, < 4)
|
35
|
+
snaky_hash (~> 2.0)
|
36
|
+
version_gem (~> 1.1)
|
37
|
+
omniauth (2.1.2)
|
38
|
+
hashie (>= 3.4.6)
|
39
|
+
rack (>= 2.2.3)
|
40
|
+
rack-protection
|
41
|
+
omniauth-oauth2 (1.8.0)
|
42
|
+
oauth2 (>= 1.4, < 3)
|
43
|
+
omniauth (~> 2.0)
|
44
|
+
parallel (1.23.0)
|
45
|
+
parser (3.2.2.3)
|
46
|
+
ast (~> 2.4.1)
|
47
|
+
racc
|
48
|
+
pry (0.14.2)
|
49
|
+
coderay (~> 1.1)
|
50
|
+
method_source (~> 1.0)
|
51
|
+
racc (1.7.1)
|
52
|
+
rack (3.0.9.1)
|
53
|
+
rack-protection (4.0.0)
|
54
|
+
base64 (>= 0.1.0)
|
55
|
+
rack (>= 3.0.0, < 4)
|
56
|
+
rainbow (3.1.1)
|
57
|
+
rake (13.0.6)
|
58
|
+
regexp_parser (2.8.1)
|
59
|
+
rexml (3.2.6)
|
60
|
+
rspec (3.9.0)
|
61
|
+
rspec-core (~> 3.9.0)
|
62
|
+
rspec-expectations (~> 3.9.0)
|
63
|
+
rspec-mocks (~> 3.9.0)
|
64
|
+
rspec-core (3.9.3)
|
65
|
+
rspec-support (~> 3.9.3)
|
66
|
+
rspec-expectations (3.9.4)
|
67
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
68
|
+
rspec-support (~> 3.9.0)
|
69
|
+
rspec-mocks (3.9.1)
|
70
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
71
|
+
rspec-support (~> 3.9.0)
|
72
|
+
rspec-support (3.9.4)
|
73
|
+
rubocop (1.56.3)
|
74
|
+
base64 (~> 0.1.1)
|
75
|
+
json (~> 2.3)
|
76
|
+
language_server-protocol (>= 3.17.0)
|
77
|
+
parallel (~> 1.10)
|
78
|
+
parser (>= 3.2.2.3)
|
79
|
+
rainbow (>= 2.2.2, < 4.0)
|
80
|
+
regexp_parser (>= 1.8, < 3.0)
|
81
|
+
rexml (>= 3.2.5, < 4.0)
|
82
|
+
rubocop-ast (>= 1.28.1, < 2.0)
|
83
|
+
ruby-progressbar (~> 1.7)
|
84
|
+
unicode-display_width (>= 2.4.0, < 3.0)
|
85
|
+
rubocop-ast (1.29.0)
|
86
|
+
parser (>= 3.2.1.0)
|
87
|
+
rubocop-capybara (2.19.0)
|
88
|
+
rubocop (~> 1.41)
|
89
|
+
rubocop-factory_bot (2.24.0)
|
90
|
+
rubocop (~> 1.33)
|
91
|
+
rubocop-performance (1.19.1)
|
92
|
+
rubocop (>= 1.7.0, < 2.0)
|
93
|
+
rubocop-ast (>= 0.4.0)
|
94
|
+
rubocop-rspec (2.24.1)
|
95
|
+
rubocop (~> 1.33)
|
96
|
+
rubocop-capybara (~> 2.17)
|
97
|
+
rubocop-factory_bot (~> 2.22)
|
98
|
+
ruby-progressbar (1.13.0)
|
99
|
+
simplecov (0.22.0)
|
100
|
+
docile (~> 1.1)
|
101
|
+
simplecov-html (~> 0.11)
|
102
|
+
simplecov_json_formatter (~> 0.1)
|
103
|
+
simplecov-console (0.9.1)
|
104
|
+
ansi
|
105
|
+
simplecov
|
106
|
+
terminal-table
|
107
|
+
simplecov-html (0.12.3)
|
108
|
+
simplecov_json_formatter (0.1.4)
|
109
|
+
snaky_hash (2.0.1)
|
110
|
+
hashie
|
111
|
+
version_gem (~> 1.1, >= 1.1.1)
|
112
|
+
terminal-table (3.0.2)
|
113
|
+
unicode-display_width (>= 1.1.1, < 3)
|
114
|
+
unicode-display_width (2.4.2)
|
115
|
+
uri (0.13.0)
|
116
|
+
version_gem (1.1.3)
|
117
|
+
|
118
|
+
PLATFORMS
|
119
|
+
ruby
|
120
|
+
|
121
|
+
DEPENDENCIES
|
122
|
+
bundler (~> 2.4)
|
123
|
+
omniauth-miro!
|
124
|
+
pry
|
125
|
+
rake (~> 13.0)
|
126
|
+
rspec (~> 3.9.0)
|
127
|
+
rubocop
|
128
|
+
rubocop-performance
|
129
|
+
rubocop-rspec
|
130
|
+
simplecov (~> 0.22)
|
131
|
+
simplecov-console (~> 0.9)
|
132
|
+
|
133
|
+
BUNDLED WITH
|
134
|
+
2.4.19
|
data/LICENSE
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
Copyright (c) 2023 Rewind Software Inc.
|
2
|
+
|
3
|
+
MIT License
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
6
|
+
a copy of this software and associated documentation files (the
|
7
|
+
"Software"), to deal in the Software without restriction, including
|
8
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
9
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
+
permit persons to whom the Software is furnished to do so, subject to
|
11
|
+
the following conditions:
|
12
|
+
|
13
|
+
The above copyright notice and this permission notice shall be
|
14
|
+
included in all copies or substantial portions of the Software.
|
15
|
+
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
19
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,57 @@
|
|
1
|
+
# OmniAuth Miro Strategy
|
2
|
+
|
3
|
+
OmniAuth Miro is a Ruby gem that provides authentication for your Ruby applications via the Miro OAuth 2.0 authentication system.
|
4
|
+
|
5
|
+
## Installation
|
6
|
+
|
7
|
+
Add this line to your application's Gemfile:
|
8
|
+
|
9
|
+
```ruby
|
10
|
+
gem 'omniauth-miro'
|
11
|
+
```
|
12
|
+
|
13
|
+
And then execute:
|
14
|
+
|
15
|
+
```bash
|
16
|
+
bundle install
|
17
|
+
```
|
18
|
+
|
19
|
+
## Usage
|
20
|
+
|
21
|
+
1. Register your application with Miro to obtain the `MIRO_CLIENT_ID` and `MIRO_CLIENT_SECRET` credentials.
|
22
|
+
|
23
|
+
2. In your application configuration, add the following line to use the Miro OmniAuth strategy:
|
24
|
+
|
25
|
+
```ruby
|
26
|
+
provider :miro, ENV['MIRO_CLIENT_ID'], ENV['MIRO_CLIENT_SECRET'], scope: 'vso.auditlog etc...', callback_path: '/link/miro/oauth_callback'
|
27
|
+
```
|
28
|
+
|
29
|
+
Replace `ENV['MIRO_CLIENT_ID']` and `ENV['MIRO_CLIENT_SECRET']` with your Miro client credentials.
|
30
|
+
|
31
|
+
3. Implement the necessary routes and views to initiate the authentication process and handle the callback.
|
32
|
+
|
33
|
+
4. When users access the authentication route, they will be redirected to Miro for authentication. After successful authentication, Miro will redirect them back to your specified callback URL.
|
34
|
+
|
35
|
+
5. Access user information and tokens as needed in your application by utilizing the OmniAuth authentication data.
|
36
|
+
|
37
|
+
## Running Tests
|
38
|
+
|
39
|
+
You can run the test suite using the following command:
|
40
|
+
|
41
|
+
```bash
|
42
|
+
rake spec
|
43
|
+
```
|
44
|
+
|
45
|
+
## Development
|
46
|
+
|
47
|
+
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the spec. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
48
|
+
|
49
|
+
To install this gem onto your local machine, run `bundle exec rake install`.
|
50
|
+
|
51
|
+
## Contributing
|
52
|
+
|
53
|
+
Bug reports and pull requests are welcome on GitHub at [https://github.com/rewindio/omniauth-miro](https://github.com/rewindio/omniauth-miro). This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](https://www.contributor-covenant.org) code of conduct.
|
54
|
+
|
55
|
+
## License
|
56
|
+
|
57
|
+
This gem is available as open-source software under the [MIT License](https://opensource.org/licenses/MIT).
|
data/Rakefile
ADDED
data/bin/console
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require 'bundler/setup'
|
4
|
+
require 'omniauth-miro'
|
5
|
+
|
6
|
+
# You can add fixtures and/or initialization code here to make experimenting
|
7
|
+
# with your gem easier. You can also use a different console, if you like.
|
8
|
+
|
9
|
+
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
+
# require "pry"
|
11
|
+
# Pry.start
|
12
|
+
|
13
|
+
require 'irb'
|
14
|
+
IRB.start(__FILE__)
|
data/bin/setup
ADDED
@@ -0,0 +1,42 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'omniauth/strategies/oauth2'
|
4
|
+
|
5
|
+
module OmniAuth
|
6
|
+
module Strategies
|
7
|
+
class Miro < OmniAuth::Strategies::OAuth2
|
8
|
+
option :name, :miro
|
9
|
+
|
10
|
+
option :client_options, {
|
11
|
+
site: 'https://miro.com/',
|
12
|
+
authorize_url: 'https://miro.com/oauth/authorize',
|
13
|
+
token_url: 'https://api.miro.com/v1/oauth/token'
|
14
|
+
}
|
15
|
+
|
16
|
+
uid { raw_info['team']['id'] }
|
17
|
+
|
18
|
+
info do
|
19
|
+
{
|
20
|
+
name: raw_info['user']['name'],
|
21
|
+
user_id: raw_info['user']['id'],
|
22
|
+
organization_id: raw_info['organization']['id'],
|
23
|
+
team_id: raw_info['team']['id']
|
24
|
+
}
|
25
|
+
end
|
26
|
+
|
27
|
+
extra do
|
28
|
+
{
|
29
|
+
raw_info: raw_info
|
30
|
+
}
|
31
|
+
end
|
32
|
+
|
33
|
+
def raw_info
|
34
|
+
@raw_info ||= access_token.get('/v1/oauth-token').parsed
|
35
|
+
end
|
36
|
+
|
37
|
+
def callback_url
|
38
|
+
full_host + callback_path
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
@@ -0,0 +1,33 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require File.expand_path('lib/omni_auth/miro/version', __dir__)
|
4
|
+
|
5
|
+
Gem::Specification.new do |gem|
|
6
|
+
gem.name = 'omniauth-miro'
|
7
|
+
gem.version = OmniAuth::Miro::VERSION
|
8
|
+
gem.authors = ['Rewind Software Inc. | Calvin Chen']
|
9
|
+
gem.email = ['team@rewind.io']
|
10
|
+
|
11
|
+
gem.summary = 'A Miro OAuth strategy for OmniAuth 2.0'
|
12
|
+
gem.description = 'A Miro OAuth strategy for OmniAuth 2.0'
|
13
|
+
gem.homepage = 'https://github.com/rewindio/omniauth-miro'
|
14
|
+
gem.license = 'MIT'
|
15
|
+
gem.metadata = {
|
16
|
+
'rubygems_mfa_required' => 'false',
|
17
|
+
'bug_tracker_uri' => "#{gem.homepage}/issues",
|
18
|
+
'changelog_uri' => "#{gem.homepage}/blob/main/CHANGELOG.md",
|
19
|
+
'documentation_uri' => gem.homepage.to_s,
|
20
|
+
'homepage_uri' => gem.homepage.to_s,
|
21
|
+
'source_code_uri' => gem.homepage.to_s
|
22
|
+
}
|
23
|
+
|
24
|
+
gem.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(spec|.github|examples)/}) }
|
25
|
+
gem.bindir = 'exe'
|
26
|
+
gem.executables = gem.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
27
|
+
gem.require_paths = ['lib']
|
28
|
+
|
29
|
+
gem.required_ruby_version = '>= 3.2'
|
30
|
+
|
31
|
+
gem.add_runtime_dependency 'omniauth', '>= 1', '< 3'
|
32
|
+
gem.add_runtime_dependency 'omniauth-oauth2', '~> 1.1'
|
33
|
+
end
|
metadata
ADDED
@@ -0,0 +1,99 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: omniauth-miro
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Rewind Software Inc. | Calvin Chen
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2024-03-19 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: omniauth
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1'
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: '3'
|
23
|
+
type: :runtime
|
24
|
+
prerelease: false
|
25
|
+
version_requirements: !ruby/object:Gem::Requirement
|
26
|
+
requirements:
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '1'
|
30
|
+
- - "<"
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '3'
|
33
|
+
- !ruby/object:Gem::Dependency
|
34
|
+
name: omniauth-oauth2
|
35
|
+
requirement: !ruby/object:Gem::Requirement
|
36
|
+
requirements:
|
37
|
+
- - "~>"
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: '1.1'
|
40
|
+
type: :runtime
|
41
|
+
prerelease: false
|
42
|
+
version_requirements: !ruby/object:Gem::Requirement
|
43
|
+
requirements:
|
44
|
+
- - "~>"
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: '1.1'
|
47
|
+
description: A Miro OAuth strategy for OmniAuth 2.0
|
48
|
+
email:
|
49
|
+
- team@rewind.io
|
50
|
+
executables: []
|
51
|
+
extensions: []
|
52
|
+
extra_rdoc_files: []
|
53
|
+
files:
|
54
|
+
- ".gitignore"
|
55
|
+
- ".rspec"
|
56
|
+
- ".rubocop.yml"
|
57
|
+
- ".ruby-version"
|
58
|
+
- CHANGELOG.md
|
59
|
+
- Gemfile
|
60
|
+
- Gemfile.lock
|
61
|
+
- LICENSE
|
62
|
+
- README.md
|
63
|
+
- Rakefile
|
64
|
+
- bin/console
|
65
|
+
- bin/setup
|
66
|
+
- lib/omni_auth/miro/version.rb
|
67
|
+
- lib/omni_auth/strategies/miro.rb
|
68
|
+
- lib/omniauth-miro.rb
|
69
|
+
- omniauth-miro.gemspec
|
70
|
+
homepage: https://github.com/rewindio/omniauth-miro
|
71
|
+
licenses:
|
72
|
+
- MIT
|
73
|
+
metadata:
|
74
|
+
rubygems_mfa_required: 'false'
|
75
|
+
bug_tracker_uri: https://github.com/rewindio/omniauth-miro/issues
|
76
|
+
changelog_uri: https://github.com/rewindio/omniauth-miro/blob/main/CHANGELOG.md
|
77
|
+
documentation_uri: https://github.com/rewindio/omniauth-miro
|
78
|
+
homepage_uri: https://github.com/rewindio/omniauth-miro
|
79
|
+
source_code_uri: https://github.com/rewindio/omniauth-miro
|
80
|
+
post_install_message:
|
81
|
+
rdoc_options: []
|
82
|
+
require_paths:
|
83
|
+
- lib
|
84
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
85
|
+
requirements:
|
86
|
+
- - ">="
|
87
|
+
- !ruby/object:Gem::Version
|
88
|
+
version: '3.2'
|
89
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
90
|
+
requirements:
|
91
|
+
- - ">="
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: '0'
|
94
|
+
requirements: []
|
95
|
+
rubygems_version: 3.4.10
|
96
|
+
signing_key:
|
97
|
+
specification_version: 4
|
98
|
+
summary: A Miro OAuth strategy for OmniAuth 2.0
|
99
|
+
test_files: []
|