omniauth-teamwork 1.0.0 → 1.0.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 +4 -4
- data/.github/workflows/ci.yml +1 -1
- data/.github/workflows/stale.yml +1 -1
- data/README.md +23 -0
- data/lib/omniauth/teamwork/version.rb +1 -1
- data/omniauth-teamwork.gemspec +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5192053a1b0bf5f88c22271950ed8fabc929b629eec6049d770bcde8239a6130
|
4
|
+
data.tar.gz: bbc91b98e1c9e1399001ead0a7d6eda0f9892c5cbbc32a04a946a3fed9aa626c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c68f403d10b6890b1dc10968d929b5e513e1e07503e3c6405fd6b4954d8129bc4c712671a32d5015ff0bf910062a6c1be66933e94a4b4a661b3ce41fcf7f565e
|
7
|
+
data.tar.gz: ea49df95db90ca5e5ce7434d247d9ce04441d865a26add5a1dda79b2160cf50fe04e291f3e96eed0daa561525c1ad009e94fe8562178d96796c50d5dcdd93072
|
data/.github/workflows/ci.yml
CHANGED
data/.github/workflows/stale.yml
CHANGED
@@ -8,7 +8,7 @@ jobs:
|
|
8
8
|
stale:
|
9
9
|
runs-on: ubuntu-latest
|
10
10
|
steps:
|
11
|
-
- uses: actions/stale@
|
11
|
+
- uses: actions/stale@v8
|
12
12
|
with:
|
13
13
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
14
14
|
stale-issue-message: 'This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.'
|
data/README.md
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
# OmniAuth Teamwork  [](https://rubygems.org/gems/omniauth-teamwork)
|
2
|
+
|
3
|
+
This gem contains the Teamwork strategy for OmniAuth.
|
4
|
+
|
5
|
+
## Installing
|
6
|
+
|
7
|
+
Add to your `Gemfile`:
|
8
|
+
```ruby
|
9
|
+
gem 'omniauth-teamwork'
|
10
|
+
```
|
11
|
+
Then `bundle install`
|
12
|
+
|
13
|
+
## Usage
|
14
|
+
|
15
|
+
`OmniAuth::Strategies::Teamwork` is simply a Rack middleware. Read the OmniAuth docs for detailed instructions: https://github.com/intridea/omniauth.
|
16
|
+
|
17
|
+
Here's a quick example, adding the middleware to a Rails app in `config/initializers/omniauth.rb`:
|
18
|
+
|
19
|
+
```ruby
|
20
|
+
Rails.application.config.middleware.use OmniAuth::Builder do
|
21
|
+
provider :teamwork, ENV['TEAMWORK_CLIENT_ID'], ENV['TEAMWORK_CLIENT_SECRET']
|
22
|
+
end
|
23
|
+
```
|
data/omniauth-teamwork.gemspec
CHANGED
@@ -7,7 +7,7 @@ Gem::Specification.new do |gem|
|
|
7
7
|
gem.summary = 'Unofficial OmniAuth strategy for Teamwork.'
|
8
8
|
gem.description = 'Unofficial OmniAuth strategy for Teamwork.'
|
9
9
|
gem.authors = ['Kalpana']
|
10
|
-
gem.homepage = ''
|
10
|
+
gem.homepage = 'https://github.com/kalpana0795/omniauth-teamwork'
|
11
11
|
gem.license = 'MIT'
|
12
12
|
|
13
13
|
gem.files = `git ls-files`.split("\n")
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: omniauth-teamwork
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kalpana
|
@@ -69,6 +69,7 @@ files:
|
|
69
69
|
- ".gitignore"
|
70
70
|
- Gemfile
|
71
71
|
- LICENSE.md
|
72
|
+
- README.md
|
72
73
|
- Rakefile
|
73
74
|
- lib/omniauth-teamwork.rb
|
74
75
|
- lib/omniauth/strategies/teamwork.rb
|
@@ -77,7 +78,7 @@ files:
|
|
77
78
|
- spec/fixtures/raw_info.json
|
78
79
|
- spec/omniauth/strategies/teamwork_spec.rb
|
79
80
|
- spec/spec_helper.rb
|
80
|
-
homepage:
|
81
|
+
homepage: https://github.com/kalpana0795/omniauth-teamwork
|
81
82
|
licenses:
|
82
83
|
- MIT
|
83
84
|
metadata: {}
|