omniauth-miro-t 0.1.1
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 +7 -0
- data/.DS_Store +0 -0
- data/.gitignore +17 -0
- data/.rspec +1 -0
- data/.rubocop.yml +127 -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/.DS_Store +0 -0
- data/lib/omni_auth/.DS_Store +0 -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 +102 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 6edbd7dbc94f5dc79b2b782857fe6e37e287e38e5c6a7dacd8d7ddfe7374ff2c
|
4
|
+
data.tar.gz: 87f83c6ced376b992d5e3bca8ede635670d7c10481612e85d0848da2fa45b786
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 63484393463c99c4f77a28e8d415507e3e983c8d430a2ef2080b0d7940fc015252cfdc9edacdc60d50d39053a558d595ebb2e8a99afd2b2333a77d8ce6d8b852
|
7
|
+
data.tar.gz: 89d4e7567e6029d957ffe3c3d8403351247f6396587685cfd87b69c6e01064440c8fcaa1e04773374651aebcb6bea1eda68ed22d7966718682c58f92c9335550
|
data/.DS_Store
ADDED
Binary file
|
data/.gitignore
ADDED
data/.rspec
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
--require spec_helper
|
data/.rubocop.yml
ADDED
@@ -0,0 +1,127 @@
|
|
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
|
+
# Minitest cop configuration
|
58
|
+
|
59
|
+
# Performance cop configuration
|
60
|
+
|
61
|
+
# Rails cop configuration
|
62
|
+
|
63
|
+
# RSpec cop configuration
|
64
|
+
|
65
|
+
RSpec/ExampleLength:
|
66
|
+
Max: 15
|
67
|
+
CountAsOne: ['array', 'heredoc', 'hash']
|
68
|
+
RSpec/MultipleExpectations:
|
69
|
+
Max: 5
|
70
|
+
# This cop does more harm than good and makes certain data-heavy classes difficult to test.
|
71
|
+
# Even Rubocop themselves disables this one.
|
72
|
+
# https://github.com/rubocop/rubocop/blob/efb1e628adfec08d2fe7875779fc16b42bde9f77/.rubocop.yml#L145
|
73
|
+
# https://stackoverflow.com/a/67149191
|
74
|
+
RSpec/MultipleMemoizedHelpers:
|
75
|
+
Enabled: false
|
76
|
+
RSpec/NestedGroups:
|
77
|
+
Max: 5
|
78
|
+
RSpec/VerifiedDoubleReference:
|
79
|
+
Enabled: false
|
80
|
+
RSpec/FilePath:
|
81
|
+
Exclude:
|
82
|
+
- spec/omni_auth/miro/version_spec.rb
|
83
|
+
RSpec/SpecFilePathFormat:
|
84
|
+
Exclude:
|
85
|
+
- spec/omni_auth/miro/version_spec.rb
|
86
|
+
|
87
|
+
# Style cop configuration
|
88
|
+
Style/ArgumentsForwarding:
|
89
|
+
UseAnonymousForwarding: false
|
90
|
+
Style/AsciiComments:
|
91
|
+
Enabled: false
|
92
|
+
Style/ClassAndModuleChildren:
|
93
|
+
EnforcedStyle: compact
|
94
|
+
Exclude:
|
95
|
+
- config/**/*.rb
|
96
|
+
- lib/**/*.rb
|
97
|
+
Style/DateTime:
|
98
|
+
Enabled: false
|
99
|
+
Style/Documentation:
|
100
|
+
Enabled: false
|
101
|
+
Style/FrozenStringLiteralComment:
|
102
|
+
Details: >-
|
103
|
+
Add `# frozen_string_literal: true` to the top of the file. Frozen string
|
104
|
+
literals will become the default in a future Ruby version, and we want to
|
105
|
+
make sure we're ready.
|
106
|
+
EnforcedStyle: always
|
107
|
+
SupportedStyles:
|
108
|
+
- always
|
109
|
+
- never
|
110
|
+
Style/HashEachMethods:
|
111
|
+
Enabled: true
|
112
|
+
Style/HashSyntax:
|
113
|
+
EnforcedShorthandSyntax: either
|
114
|
+
Style/HashTransformKeys:
|
115
|
+
Enabled: true
|
116
|
+
Style/HashTransformValues:
|
117
|
+
Enabled: true
|
118
|
+
Style/NumericPredicate:
|
119
|
+
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.
|
120
|
+
Style/RedundantSelf:
|
121
|
+
Enabled: true
|
122
|
+
Style/RescueStandardError:
|
123
|
+
Enabled: false
|
124
|
+
|
125
|
+
# Gem Spec cop configuration
|
126
|
+
Gemspec/RequireMFA:
|
127
|
+
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-t (0.1.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-t!
|
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
data/lib/.DS_Store
ADDED
Binary file
|
Binary file
|
@@ -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-t'
|
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,102 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: omniauth-miro-t
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Rewind Software Inc. | Calvin Chen
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2024-03-14 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
|
+
- ".DS_Store"
|
55
|
+
- ".gitignore"
|
56
|
+
- ".rspec"
|
57
|
+
- ".rubocop.yml"
|
58
|
+
- ".ruby-version"
|
59
|
+
- CHANGELOG.md
|
60
|
+
- Gemfile
|
61
|
+
- Gemfile.lock
|
62
|
+
- LICENSE
|
63
|
+
- README.md
|
64
|
+
- Rakefile
|
65
|
+
- bin/console
|
66
|
+
- bin/setup
|
67
|
+
- lib/.DS_Store
|
68
|
+
- lib/omni_auth/.DS_Store
|
69
|
+
- lib/omni_auth/miro/version.rb
|
70
|
+
- lib/omni_auth/strategies/miro.rb
|
71
|
+
- lib/omniauth-miro.rb
|
72
|
+
- omniauth-miro.gemspec
|
73
|
+
homepage: https://github.com/rewindio/omniauth-miro
|
74
|
+
licenses:
|
75
|
+
- MIT
|
76
|
+
metadata:
|
77
|
+
rubygems_mfa_required: 'false'
|
78
|
+
bug_tracker_uri: https://github.com/rewindio/omniauth-miro/issues
|
79
|
+
changelog_uri: https://github.com/rewindio/omniauth-miro/blob/main/CHANGELOG.md
|
80
|
+
documentation_uri: https://github.com/rewindio/omniauth-miro
|
81
|
+
homepage_uri: https://github.com/rewindio/omniauth-miro
|
82
|
+
source_code_uri: https://github.com/rewindio/omniauth-miro
|
83
|
+
post_install_message:
|
84
|
+
rdoc_options: []
|
85
|
+
require_paths:
|
86
|
+
- lib
|
87
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
88
|
+
requirements:
|
89
|
+
- - ">="
|
90
|
+
- !ruby/object:Gem::Version
|
91
|
+
version: '3.2'
|
92
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
requirements: []
|
98
|
+
rubygems_version: 3.4.10
|
99
|
+
signing_key:
|
100
|
+
specification_version: 4
|
101
|
+
summary: A Miro OAuth strategy for OmniAuth 2.0
|
102
|
+
test_files: []
|