omniauth-monday 0.2.1 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/Gemfile.lock +4 -4
- data/README.md +21 -19
- data/lib/omniauth/strategies/monday.rb +1 -3
- data/lib/omniauth-monday/version.rb +1 -1
- metadata +3 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: cb9b2ef6d5dece8d0db56ae9e35f34876c07fdf62fc5803ece299c6a63b5fa18
|
4
|
+
data.tar.gz: fa8a8a85780a5bdfa81a73d7dc8440b583e769c1bba1809d0adc96ce3a8bd55b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c411094aca2f09220c2c5a5ce85ac9a66c919857d04b11358218c1f47bce8a736f1f502e4de82fb2c153026fd6b1ffc109aec2035f66e881e8faba5a88099a7a
|
7
|
+
data.tar.gz: 4cd2a98ebcdf526178a3ec754f9cf87b7a55ec74a98c0956b96d5048b588bb1f3e0aace82def3e3d003c9bcdf2ca5a9ad8d116beec3390f544a6a98cea23edda
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
omniauth-monday (0.2.
|
4
|
+
omniauth-monday (0.2.4)
|
5
5
|
omniauth (~> 2.0)
|
6
6
|
omniauth-oauth2 (~> 1.7)
|
7
7
|
|
@@ -39,9 +39,9 @@ GEM
|
|
39
39
|
ast (~> 2.4.1)
|
40
40
|
racc
|
41
41
|
racc (1.7.1)
|
42
|
-
rack (
|
43
|
-
rack-protection (3.0
|
44
|
-
rack
|
42
|
+
rack (2.2.8)
|
43
|
+
rack-protection (3.1.0)
|
44
|
+
rack (~> 2.2, >= 2.2.4)
|
45
45
|
rainbow (3.1.1)
|
46
46
|
rake (13.0.6)
|
47
47
|
regexp_parser (2.8.1)
|
data/README.md
CHANGED
@@ -1,39 +1,41 @@
|
|
1
|
-
#
|
1
|
+
# OmniAuth Monday
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
TODO: Delete this and the text above, and describe your gem
|
3
|
+
This is the official OmniAuth strategy for authenticating to Monday. To
|
4
|
+
use it, you'll need to sign up for an OAuth2 Client ID and Secret at Monday.com.
|
6
5
|
|
7
6
|
## Installation
|
8
7
|
|
9
|
-
Add this line to your application's Gemfile:
|
10
|
-
|
11
8
|
```ruby
|
12
9
|
gem 'omniauth-monday'
|
13
10
|
```
|
14
11
|
|
15
|
-
|
16
|
-
|
17
|
-
$ bundle install
|
18
|
-
|
19
|
-
Or install it yourself as:
|
12
|
+
## Basic Usage
|
20
13
|
|
21
|
-
|
14
|
+
```ruby
|
15
|
+
use OmniAuth::Builder do
|
16
|
+
provider :monday, ENV['MONDAY_CLIENT_ID'], ENV['MONDAY_CLIENT_SECRET'], { scope: 'me boards:read' }
|
17
|
+
end
|
18
|
+
```
|
22
19
|
|
23
|
-
## Usage
|
20
|
+
## Basic Usage Rails
|
24
21
|
|
25
|
-
|
22
|
+
In `config/initializers/monday.rb`
|
26
23
|
|
27
|
-
|
24
|
+
```ruby
|
25
|
+
Rails.application.config.middleware.use OmniAuth::Builder do
|
26
|
+
provider :monday, ENV['MONDAY_CLIENT_ID'], ENV['MONDAY_CLIENT_SECRET'], { scope: 'me boards:read' }
|
27
|
+
end
|
28
|
+
```
|
28
29
|
|
29
|
-
|
30
|
+
## Semver
|
30
31
|
|
31
|
-
|
32
|
+
This project adheres to Semantic Versioning 2.0.0. Any violations of this scheme are considered to be bugs.
|
33
|
+
All changes will be tracked [here](https://github.com/rob-race/omniauth-monday/releases).
|
32
34
|
|
33
35
|
## Contributing
|
34
36
|
|
35
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/
|
37
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/rob-race/omniauth-monday.
|
36
38
|
|
37
39
|
## License
|
38
40
|
|
39
|
-
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
41
|
+
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: omniauth-monday
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rob Race
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-09-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: omniauth
|
@@ -85,12 +85,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
85
85
|
- !ruby/object:Gem::Version
|
86
86
|
version: '0'
|
87
87
|
requirements: []
|
88
|
-
|
89
|
-
rubygems_version: 2.6.14
|
88
|
+
rubygems_version: 3.3.7
|
90
89
|
signing_key:
|
91
90
|
specification_version: 4
|
92
91
|
summary: Official OmniAuth strategy for Monday.com.
|
93
92
|
test_files:
|
94
93
|
- spec/omniauth/monday_spec.rb
|
95
94
|
- spec/spec_helper.rb
|
96
|
-
has_rdoc:
|