omniauth-auth0 2.0.0 → 2.4.0
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of omniauth-auth0 might be problematic. Click here for more details.
- checksums.yaml +5 -5
- data/.circleci/config.yml +22 -0
- data/.github/CODEOWNERS +1 -0
- data/.github/ISSUE_TEMPLATE.md +39 -0
- data/.github/PULL_REQUEST_TEMPLATE.md +32 -0
- data/.github/stale.yml +20 -0
- data/.gitignore +5 -2
- data/.snyk +9 -0
- data/CHANGELOG.md +91 -1
- data/CODE_OF_CONDUCT.md +3 -0
- data/CONTRIBUTING.md +71 -0
- data/Gemfile +4 -4
- data/Gemfile.lock +167 -0
- data/README.md +114 -85
- data/Rakefile +2 -2
- data/codecov.yml +22 -0
- data/lib/omniauth-auth0.rb +1 -1
- data/lib/omniauth-auth0/version.rb +1 -1
- data/lib/omniauth/auth0/errors.rb +11 -0
- data/lib/omniauth/auth0/jwt_validator.rb +228 -0
- data/lib/omniauth/auth0/telemetry.rb +36 -0
- data/lib/omniauth/strategies/auth0.rb +77 -19
- data/omniauth-auth0.gemspec +3 -5
- data/spec/omniauth/auth0/jwt_validator_spec.rb +501 -0
- data/spec/omniauth/auth0/telemetry_spec.rb +28 -0
- data/spec/omniauth/strategies/auth0_spec.rb +73 -2
- data/spec/resources/jwks.json +28 -0
- data/spec/spec_helper.rb +8 -6
- metadata +29 -12
- data/.travis.yml +0 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 33f4a34bf39a6fb628e07ed669624f1917d07353ed6f1b90d1a7e49f159c34f0
|
4
|
+
data.tar.gz: 75b2362d94d4dfaa802a5a858c2b6c9c01dbd594393670c69280f21b96732ff2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bd3d007acf54fdf777fd9793eb24a0512504969436bc88420f51c21647fb4099815bb099e980e1d27bcbb3e187efb3a767bdb9b59b9f08b549ebf9e011072bc9
|
7
|
+
data.tar.gz: 36c5a4202d76c35d52dfdf1168895a03a66cad08400150444642f1dae4c9a285b0c856ffcbed3d49763c14a9c2201dc8ab96e3dffa9c50aad3c8c201e2784f59
|
@@ -0,0 +1,22 @@
|
|
1
|
+
version: 2.1
|
2
|
+
jobs:
|
3
|
+
run-tests:
|
4
|
+
docker:
|
5
|
+
- image: circleci/ruby:2.5.7-buster
|
6
|
+
steps:
|
7
|
+
- checkout
|
8
|
+
- restore_cache:
|
9
|
+
keys:
|
10
|
+
- gems-v2-{{ checksum "Gemfile.lock" }}
|
11
|
+
- gems-v2-
|
12
|
+
- run: bundle check || bundle install
|
13
|
+
- save_cache:
|
14
|
+
key: gems-v2--{{ checksum "Gemfile.lock" }}
|
15
|
+
paths:
|
16
|
+
- vendor/bundle
|
17
|
+
- run: bundle exec rake spec
|
18
|
+
|
19
|
+
workflows:
|
20
|
+
tests:
|
21
|
+
jobs:
|
22
|
+
- run-tests
|
data/.github/CODEOWNERS
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
* @auth0/dx-sdks-approver
|
@@ -0,0 +1,39 @@
|
|
1
|
+
In order to efficiently and accurately address your issue or feature request, please read through the template below and answer all relevant questions. Your additional work here is greatly appreciated and will help us respond as quickly as possible. Please delete any sections or questions below that do not pertain to this request.
|
2
|
+
|
3
|
+
For general support or usage questions, please use the [Auth0 Community](https://community.auth0.com/) or [Auth0 Support](https://support.auth0.com.).
|
4
|
+
|
5
|
+
### Description
|
6
|
+
|
7
|
+
Description of the bug or feature request and why it's a problem. Consider including:
|
8
|
+
|
9
|
+
- The use case or overall problem you're trying to solve
|
10
|
+
- Information about when the problem started
|
11
|
+
|
12
|
+
### Prerequisites
|
13
|
+
|
14
|
+
* [ ] I have read the [Auth0 contribution guidelines](https://github.com/auth0/open-source-template/blob/master/GENERAL-CONTRIBUTING.md)
|
15
|
+
* [ ] I have read the [Auth0 Code of Conduct](https://github.com/auth0/open-source-template/blob/master/CODE-OF-CONDUCT.md)
|
16
|
+
* [ ] Did you check the [documentation](https://auth0.com/docs/quickstart/webapp/rails)?
|
17
|
+
* [ ] Did you check [Auth0 Community](https://community.auth0.com/tags/rails)?
|
18
|
+
* [ ] Are you reporting this to the correct repository? This strategy relies on [OmniAuth](https://github.com/omniauth/omniauth) and the [OmniAuth OAuth2](https://github.com/omniauth/omniauth-oauth2) strategy.
|
19
|
+
* [ ] Are there any related or duplicate [Issues](https://github.com/auth0/omniauth-auth0/issues) or [PRs](https://github.com/auth0/omniauth-auth0/pulls) for this issue?
|
20
|
+
|
21
|
+
### Environment
|
22
|
+
|
23
|
+
Please provide the following:
|
24
|
+
|
25
|
+
* OmniAuth-Auth0 version:
|
26
|
+
* Ruby version:
|
27
|
+
* Rails veresion:
|
28
|
+
* Browser version, if applicable:
|
29
|
+
* Additional gems that might be affecting your instance:
|
30
|
+
|
31
|
+
### Reproduction
|
32
|
+
|
33
|
+
Detail the steps taken to reproduce this error and note if this issue can be reproduced consistently or if it is intermittent.
|
34
|
+
|
35
|
+
Please include:
|
36
|
+
|
37
|
+
- Log files (redact/remove sensitive information)
|
38
|
+
- Application settings (redact/remove sensitive information)
|
39
|
+
- Screenshots, if helpful
|
@@ -0,0 +1,32 @@
|
|
1
|
+
### Changes
|
2
|
+
|
3
|
+
Please describe both what is changing and why this is important. Include:
|
4
|
+
|
5
|
+
- Endpoints added, deleted, deprecated, or changed
|
6
|
+
- Classes and methods added, deleted, deprecated, or changed
|
7
|
+
- Screenshots of new or changed UI, if applicable
|
8
|
+
- A summary of usage if this is a new feature or change to a public API (this should also be added to relevant documentation once released)
|
9
|
+
|
10
|
+
### References
|
11
|
+
|
12
|
+
Please include relevant links supporting this change such as a:
|
13
|
+
|
14
|
+
- support ticket
|
15
|
+
- community post
|
16
|
+
- StackOverflow post
|
17
|
+
- support forum thread
|
18
|
+
- related GitHub issue in this or another repo
|
19
|
+
|
20
|
+
### Testing
|
21
|
+
|
22
|
+
Please describe how this can be tested by reviewers. Be specific about anything not tested and reasons why. If this library has unit and/or integration testing, tests should be added for new functionality and existing tests should complete without errors.
|
23
|
+
|
24
|
+
* [ ] This change adds unit test coverage
|
25
|
+
* [ ] This change has been tested on the latest version of the platform/language or why not
|
26
|
+
|
27
|
+
### Checklist
|
28
|
+
|
29
|
+
* [ ] I have read the [Auth0 contribution guidelines](https://github.com/auth0/open-source-template/blob/master/GENERAL-CONTRIBUTING.md)
|
30
|
+
* [ ] I have read the [Auth0 Code of Conduct](https://github.com/auth0/open-source-template/blob/master/CODE-OF-CONDUCT.md)
|
31
|
+
* [ ] All existing and new tests complete without errors
|
32
|
+
* [ ] All code quality tools/guidelines in the [CONTRIBUTING documentation](https://github.com/auth0/omniauth-auth0/blob/master/CONTRIBUTING.md) have been run/followed
|
data/.github/stale.yml
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
# Configuration for probot-stale - https://github.com/probot/stale
|
2
|
+
|
3
|
+
# Number of days of inactivity before an Issue or Pull Request becomes stale
|
4
|
+
daysUntilStale: 90
|
5
|
+
|
6
|
+
# Number of days of inactivity before an Issue or Pull Request with the stale label is closed.
|
7
|
+
daysUntilClose: 7
|
8
|
+
|
9
|
+
# Issues or Pull Requests with these labels will never be considered stale. Set to `[]` to disable
|
10
|
+
exemptLabels: []
|
11
|
+
|
12
|
+
# Set to true to ignore issues with an assignee (defaults to false)
|
13
|
+
exemptAssignees: true
|
14
|
+
|
15
|
+
# Label to use when marking as stale
|
16
|
+
staleLabel: closed:stale
|
17
|
+
|
18
|
+
# Comment to post when marking as stale. Set to `false` to disable
|
19
|
+
markComment: >
|
20
|
+
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you have not received a response for our team (apologies for the delay) and this is still a blocker, please reply with additional information or just a ping. Thank you for your contribution! 🙇♂️
|
data/.gitignore
CHANGED
data/.snyk
ADDED
@@ -0,0 +1,9 @@
|
|
1
|
+
# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities.
|
2
|
+
version: v1.13.5
|
3
|
+
# ignores vulnerabilities until expiry date; change duration by modifying expiry date
|
4
|
+
ignore:
|
5
|
+
SNYK-RUBY-OMNIAUTH-174820:
|
6
|
+
- '*':
|
7
|
+
reason: Not affected.
|
8
|
+
expires: 2020-01-01T00:00:00.000Z
|
9
|
+
patch: {}
|
data/CHANGELOG.md
CHANGED
@@ -1,10 +1,75 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
+
## [v2.4.0](https://github.com/auth0/omniauth-auth0/tree/v2.4.0) (2020-09-22)
|
4
|
+
|
5
|
+
[Full Changelog](https://github.com/auth0/omniauth-auth0/compare/v2.3.1...v2.4.0)
|
6
|
+
|
7
|
+
**Security**
|
8
|
+
- Bump rack from 2.2.2 to 2.2.3 [\#107](https://github.com/auth0/omniauth-auth0/pull/107) ([dependabot](https://github.com/dependabot))
|
9
|
+
- Update dependencies [\#100](https://github.com/auth0/omniauth-auth0/pull/100) ([Albalmaceda](https://github.com/Albalmaceda))
|
10
|
+
|
11
|
+
**Added**
|
12
|
+
- Add support for screen_hint=signup param [\#103](https://github.com/auth0/omniauth-auth0/pull/103) ([bbean86](https://github.com/bbean86))
|
13
|
+
- Add support for `connection_scope` in params [\#99](https://github.com/auth0/omniauth-auth0/pull/99) ([felixclack](https://github.com/felixclack))
|
14
|
+
|
15
|
+
|
16
|
+
## [v2.3.1](https://github.com/auth0/omniauth-auth0/tree/v2.3.1) (2020-03-27)
|
17
|
+
|
18
|
+
[Full Changelog](https://github.com/auth0/omniauth-auth0/compare/v2.3.0...v2.3.1)
|
19
|
+
|
20
|
+
**Fixed bugs:**
|
21
|
+
|
22
|
+
- Fixes dependency issue [\#97](https://github.com/auth0/omniauth-auth0/pull/97) ([davidpatrick](https://github.com/davidpatrick))
|
23
|
+
- Fix "NameError: uninitialized constant OmniAuth::Auth0::TokenValidationError" [\#96](https://github.com/auth0/omniauth-auth0/pull/96) ([stefanwork](https://github.com/stefanwork))
|
24
|
+
|
25
|
+
## [v2.3.0](https://github.com/auth0/omniauth-auth0/tree/v2.3.0) (2020-03-06)
|
26
|
+
[Full Changelog](https://github.com/auth0/omniauth-auth0/compare/v2.2.0...v2.3.0)
|
27
|
+
|
28
|
+
**Added**
|
29
|
+
- Improved OIDC Compliance [\#92](https://github.com/auth0/omniauth-auth0/pull/92) ([davidpatrick](https://github.com/davidpatrick))
|
30
|
+
|
31
|
+
## [v2.2.0](https://github.com/auth0/omniauth-auth0/tree/v2.2.0) (2018-04-18)
|
32
|
+
[Full Changelog](https://github.com/auth0/omniauth-auth0/compare/v2.1.0...v2.2.0)
|
33
|
+
|
34
|
+
**Closed issues**
|
35
|
+
- It supports custom domain? [\#71](https://github.com/auth0/omniauth-auth0/issues/71)
|
36
|
+
- Valid Login, No Details: email=nil image=nil name="github|38257089" nickname=nil [\#70](https://github.com/auth0/omniauth-auth0/issues/70)
|
37
|
+
|
38
|
+
**Added**
|
39
|
+
- Custom issuer [\#77](https://github.com/auth0/omniauth-auth0/pull/77) ([ryan-rosenfeld](https://github.com/ryan-rosenfeld))
|
40
|
+
- Add telemetry to token endpoint [\#74](https://github.com/auth0/omniauth-auth0/pull/74) ([joshcanhelp](https://github.com/joshcanhelp))
|
41
|
+
|
42
|
+
**Changed**
|
43
|
+
- Remove telemetry from authorize URL [\#75](https://github.com/auth0/omniauth-auth0/pull/75) ([joshcanhelp](https://github.com/joshcanhelp))
|
44
|
+
|
45
|
+
## [v2.1.0](https://github.com/auth0/omniauth-auth0/tree/v2.1.0) (2018-10-30)
|
46
|
+
[Full Changelog](https://github.com/auth0/omniauth-auth0/compare/v2.0.0...v2.1.0)
|
47
|
+
|
48
|
+
**Closed issues**
|
49
|
+
- URL should be spelled uppercase outside of code [\#64](https://github.com/auth0/omniauth-auth0/issues/64)
|
50
|
+
- Add prompt=none authorization param handler [\#58](https://github.com/auth0/omniauth-auth0/issues/58)
|
51
|
+
- Could not find a valid mapping for path "/auth/oauth2/callback" [\#56](https://github.com/auth0/omniauth-auth0/issues/56)
|
52
|
+
- I had to downgrade my gems to use this strategy :-( [\#53](https://github.com/auth0/omniauth-auth0/issues/53)
|
53
|
+
- CSRF detected [\#49](https://github.com/auth0/omniauth-auth0/issues/49)
|
54
|
+
- /auth/:provider route not registered? [\#47](https://github.com/auth0/omniauth-auth0/issues/47)
|
55
|
+
|
56
|
+
**Added**
|
57
|
+
- Add ID token validation [\#62](https://github.com/auth0/omniauth-auth0/pull/62) ([joshcanhelp](https://github.com/joshcanhelp))
|
58
|
+
- Silent authentication [\#59](https://github.com/auth0/omniauth-auth0/pull/59) ([batalla3692](https://github.com/batalla3692))
|
59
|
+
- Pass connection parameter to auth0 [\#54](https://github.com/auth0/omniauth-auth0/pull/54) ([tomgi](https://github.com/tomgi))
|
60
|
+
|
61
|
+
**Changed**
|
62
|
+
- Update to omniauth-oauth2 [\#55](https://github.com/auth0/omniauth-auth0/pull/55) ([chills42](https://github.com/chills42))
|
63
|
+
|
64
|
+
**Fixed**
|
65
|
+
- Fix Rubocop errors [\#66](https://github.com/auth0/omniauth-auth0/pull/66) ([joshcanhelp](https://github.com/joshcanhelp))
|
66
|
+
- Fix minute bug in README.md [\#63](https://github.com/auth0/omniauth-auth0/pull/63) ([rahuldess](https://github.com/rahuldess))
|
67
|
+
|
3
68
|
## [v2.0.0](https://github.com/auth0/omniauth-auth0/tree/v2.0.0) (2017-01-25)
|
4
69
|
[Full Changelog](https://github.com/auth0/omniauth-auth0/compare/v1.4.1...v2.0.0)
|
5
70
|
|
6
71
|
Updated library to handle OIDC conformant clients and OAuth2 features in Auth0.
|
7
|
-
This affects how the `credentials` and `info` attributes are populated since the payload of /oauth/token and /userinfo are
|
72
|
+
This affects how the `credentials` and `info` attributes are populated since the payload of /oauth/token and /userinfo are different when using OAuth2/OIDC features.
|
8
73
|
|
9
74
|
The `credentials` hash will always have an `access_token` and might have a `refresh_token` (if it's allowed in your API settings in Auth0 dashboard and requested using `offline_access` scope) and an `id_token` (scope `openid` is needed for Auth0 to return it).
|
10
75
|
|
@@ -17,6 +82,31 @@ The `info` object will use the [OmniAuth schema](https://github.com/omniauth/omn
|
|
17
82
|
|
18
83
|
Also in `extra` will have in `raw_info` the full /userinfo response.
|
19
84
|
|
85
|
+
**Fixed**
|
86
|
+
- Use image attribute of omniauth instead of picture [\#45](https://github.com/auth0/omniauth-auth0/pull/45) ([hzalaz](https://github.com/hzalaz))
|
87
|
+
- Rework strategy to handle OAuth and OIDC [\#44](https://github.com/auth0/omniauth-auth0/pull/44) ([hzalaz](https://github.com/hzalaz))
|
88
|
+
- lock v10 update, dependencies update [\#41](https://github.com/auth0/omniauth-auth0/pull/41) ([Amialc](https://github.com/Amialc))
|
89
|
+
|
90
|
+
## [v1.4.2](https://github.com/auth0/omniauth-auth0/tree/v1.4.2) (2016-06-13)
|
91
|
+
[Full Changelog](https://github.com/auth0/omniauth-auth0/compare/v1.4.1...v1.4.2)
|
92
|
+
|
93
|
+
**Added**
|
94
|
+
- Link to OmniAuth site [\#36](https://github.com/auth0/omniauth-auth0/pull/36) ([jghaines](https://github.com/jghaines))
|
95
|
+
- add ssl fix to RoR example [\#31](https://github.com/auth0/omniauth-auth0/pull/31) ([Amialc](https://github.com/Amialc))
|
96
|
+
- Update LICENSE [\#17](https://github.com/auth0/omniauth-auth0/pull/17) ([aguerere](https://github.com/aguerere))
|
97
|
+
|
98
|
+
**Changed**
|
99
|
+
- Update lock to version 9 [\#34](https://github.com/auth0/omniauth-auth0/pull/34) ([Annyv2](https://github.com/Annyv2))
|
100
|
+
- Update Gemfile [\#22](https://github.com/auth0/omniauth-auth0/pull/22) ([Annyv2](https://github.com/Annyv2))
|
101
|
+
- Update lock [\#15](https://github.com/auth0/omniauth-auth0/pull/15) ([Annyv2](https://github.com/Annyv2))
|
102
|
+
|
103
|
+
**Fixed**
|
104
|
+
- Fix setup [\#38](https://github.com/auth0/omniauth-auth0/pull/38) ([deepak](https://github.com/deepak))
|
105
|
+
- Added missing instruction [\#30](https://github.com/auth0/omniauth-auth0/pull/30) ([Annyv2](https://github.com/Annyv2))
|
106
|
+
- Fixes undefined Auth0Lock issue [\#28](https://github.com/auth0/omniauth-auth0/pull/28) ([Annyv2](https://github.com/Annyv2))
|
107
|
+
- Update Readme [\#27](https://github.com/auth0/omniauth-auth0/pull/27) ([Annyv2](https://github.com/Annyv2))
|
108
|
+
|
109
|
+
|
20
110
|
## [v1.4.1](https://github.com/auth0/omniauth-auth0/tree/v1.4.1) (2015-11-18)
|
21
111
|
[Full Changelog](https://github.com/auth0/omniauth-auth0/compare/v1.4.0...v1.4.1)
|
22
112
|
|
data/CODE_OF_CONDUCT.md
ADDED
data/CONTRIBUTING.md
ADDED
@@ -0,0 +1,71 @@
|
|
1
|
+
# Contribution
|
2
|
+
|
3
|
+
**Thank you in advance for your contribution!**
|
4
|
+
|
5
|
+
Please read [Auth0's contribution guidelines](https://github.com/auth0/open-source-template/blob/master/GENERAL-CONTRIBUTING.md) before beginning work on your contribution here.
|
6
|
+
|
7
|
+
## Environment setup
|
8
|
+
|
9
|
+
The best way we've found to develop gems locally is by using a local setting for your Bundler config. First, checkout the project locally:
|
10
|
+
|
11
|
+
```bash
|
12
|
+
$ pwd
|
13
|
+
/PROJECT_ROOT/
|
14
|
+
$ mkdir vendor # if one does not exist
|
15
|
+
$ echo "/vendor/" >> .gitignore
|
16
|
+
$ git clone git@github.com:auth0/omniauth-auth0.git vendor/omniauth-auth0
|
17
|
+
Cloning into 'vendor/omniauth-auth0'...
|
18
|
+
```
|
19
|
+
|
20
|
+
Now, run the following command in your project root directory:
|
21
|
+
|
22
|
+
```bash
|
23
|
+
$ bundle config --local local.omniauth-auth0 /PROJECT_ROOT/vendor/omniauth-auth0
|
24
|
+
You are replacing the current local value of local.omniauth-auth0, which is currently nil
|
25
|
+
$ bundle config
|
26
|
+
Settings are listed in order of priority. The top value will be used.
|
27
|
+
local.omniauth-auth0
|
28
|
+
Set for your local app (/PROJECT_ROOT/.bundle/config): "/PROJECT_ROOT/vendor/omniauth-auth0"
|
29
|
+
```
|
30
|
+
|
31
|
+
Finally, add or change the gem include to add a `github:` param:
|
32
|
+
|
33
|
+
```ruby
|
34
|
+
source 'https://rubygems.org'
|
35
|
+
# ...
|
36
|
+
# OmniAuth strategy for authenticating with Auth0
|
37
|
+
gem 'omniauth-auth0', github: 'auth0/omniauth-auth0'
|
38
|
+
#..
|
39
|
+
```
|
40
|
+
|
41
|
+
Now you should be able to make changes locally and have them reflected in your test app. Keep in mind you'll need to restart your app between changes.
|
42
|
+
|
43
|
+
[Great explanation for why this setup works well](https://rossta.net/blog/how-to-specify-local-ruby-gems-in-your-gemfile.html).
|
44
|
+
|
45
|
+
## Testing
|
46
|
+
|
47
|
+
Tests should be added for additional or modified functionality and all tests should run successfully before submitting a PR.
|
48
|
+
|
49
|
+
### Adding tests
|
50
|
+
|
51
|
+
All new tests should be added to the `/spec/omniauth` directory. Testing resources, like JSON fixtures, should be added to the `/spec/resources` directory.
|
52
|
+
|
53
|
+
### Running tests
|
54
|
+
|
55
|
+
Running tests is as simple as:
|
56
|
+
|
57
|
+
```bash
|
58
|
+
$ bundle exec rake spec
|
59
|
+
```
|
60
|
+
|
61
|
+
## Documentation
|
62
|
+
|
63
|
+
Documentation for this gem is primarily done at the code level. All new methods should include a docblock at least.
|
64
|
+
|
65
|
+
## Code quality tools
|
66
|
+
|
67
|
+
Code quality is enforced across the entire gem with Rubocop:
|
68
|
+
|
69
|
+
```bash
|
70
|
+
$ bundle exec rake rubocop
|
71
|
+
```
|
data/Gemfile
CHANGED
@@ -1,13 +1,15 @@
|
|
1
|
-
source '
|
1
|
+
source 'https://rubygems.org'
|
2
2
|
|
3
3
|
gemspec
|
4
4
|
|
5
5
|
gem 'gem-release'
|
6
|
+
gem 'jwt'
|
6
7
|
gem 'rake'
|
7
8
|
|
8
9
|
group :development do
|
9
10
|
gem 'dotenv'
|
10
11
|
gem 'pry'
|
12
|
+
gem 'rubocop', require: false
|
11
13
|
gem 'shotgun'
|
12
14
|
gem 'sinatra'
|
13
15
|
gem 'thin'
|
@@ -18,9 +20,7 @@ group :test do
|
|
18
20
|
gem 'listen', '~> 3.1.5'
|
19
21
|
gem 'rack-test'
|
20
22
|
gem 'rspec', '~> 3.5'
|
21
|
-
gem '
|
22
|
-
:ruby_19, :ruby_20, :ruby_21, :ruby_22
|
23
|
-
]
|
23
|
+
gem 'codecov', require: false
|
24
24
|
gem 'simplecov'
|
25
25
|
gem 'webmock'
|
26
26
|
end
|
data/Gemfile.lock
ADDED
@@ -0,0 +1,167 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
omniauth-auth0 (2.4.0)
|
5
|
+
omniauth-oauth2 (~> 1.5)
|
6
|
+
|
7
|
+
GEM
|
8
|
+
remote: https://rubygems.org/
|
9
|
+
specs:
|
10
|
+
addressable (2.7.0)
|
11
|
+
public_suffix (>= 2.0.2, < 5.0)
|
12
|
+
ast (2.4.1)
|
13
|
+
codecov (0.2.11)
|
14
|
+
json
|
15
|
+
simplecov
|
16
|
+
coderay (1.1.3)
|
17
|
+
crack (0.4.4)
|
18
|
+
daemons (1.3.1)
|
19
|
+
diff-lcs (1.4.4)
|
20
|
+
docile (1.3.2)
|
21
|
+
dotenv (2.7.6)
|
22
|
+
eventmachine (1.2.7)
|
23
|
+
faraday (1.0.1)
|
24
|
+
multipart-post (>= 1.2, < 3)
|
25
|
+
ffi (1.13.1)
|
26
|
+
formatador (0.2.5)
|
27
|
+
gem-release (2.1.1)
|
28
|
+
guard (2.16.2)
|
29
|
+
formatador (>= 0.2.4)
|
30
|
+
listen (>= 2.7, < 4.0)
|
31
|
+
lumberjack (>= 1.0.12, < 2.0)
|
32
|
+
nenv (~> 0.1)
|
33
|
+
notiffany (~> 0.0)
|
34
|
+
pry (>= 0.9.12)
|
35
|
+
shellany (~> 0.0)
|
36
|
+
thor (>= 0.18.1)
|
37
|
+
guard-compat (1.2.1)
|
38
|
+
guard-rspec (4.7.3)
|
39
|
+
guard (~> 2.1)
|
40
|
+
guard-compat (~> 1.1)
|
41
|
+
rspec (>= 2.99.0, < 4.0)
|
42
|
+
hashdiff (1.0.1)
|
43
|
+
hashie (4.1.0)
|
44
|
+
json (2.3.1)
|
45
|
+
jwt (2.2.2)
|
46
|
+
listen (3.1.5)
|
47
|
+
rb-fsevent (~> 0.9, >= 0.9.4)
|
48
|
+
rb-inotify (~> 0.9, >= 0.9.7)
|
49
|
+
ruby_dep (~> 1.2)
|
50
|
+
lumberjack (1.2.8)
|
51
|
+
method_source (1.0.0)
|
52
|
+
multi_json (1.15.0)
|
53
|
+
multi_xml (0.6.0)
|
54
|
+
multipart-post (2.1.1)
|
55
|
+
mustermann (1.1.1)
|
56
|
+
ruby2_keywords (~> 0.0.1)
|
57
|
+
nenv (0.3.0)
|
58
|
+
notiffany (0.1.3)
|
59
|
+
nenv (~> 0.1)
|
60
|
+
shellany (~> 0.0)
|
61
|
+
oauth2 (1.4.4)
|
62
|
+
faraday (>= 0.8, < 2.0)
|
63
|
+
jwt (>= 1.0, < 3.0)
|
64
|
+
multi_json (~> 1.3)
|
65
|
+
multi_xml (~> 0.5)
|
66
|
+
rack (>= 1.2, < 3)
|
67
|
+
omniauth (1.9.1)
|
68
|
+
hashie (>= 3.4.6)
|
69
|
+
rack (>= 1.6.2, < 3)
|
70
|
+
omniauth-oauth2 (1.7.0)
|
71
|
+
oauth2 (~> 1.4)
|
72
|
+
omniauth (~> 1.9)
|
73
|
+
parallel (1.19.2)
|
74
|
+
parser (2.7.1.4)
|
75
|
+
ast (~> 2.4.1)
|
76
|
+
pry (0.13.1)
|
77
|
+
coderay (~> 1.1)
|
78
|
+
method_source (~> 1.0)
|
79
|
+
public_suffix (4.0.6)
|
80
|
+
rack (2.2.3)
|
81
|
+
rack-protection (2.1.0)
|
82
|
+
rack
|
83
|
+
rack-test (1.1.0)
|
84
|
+
rack (>= 1.0, < 3)
|
85
|
+
rainbow (3.0.0)
|
86
|
+
rake (13.0.1)
|
87
|
+
rb-fsevent (0.10.4)
|
88
|
+
rb-inotify (0.10.1)
|
89
|
+
ffi (~> 1.0)
|
90
|
+
regexp_parser (1.8.0)
|
91
|
+
rexml (3.2.4)
|
92
|
+
rspec (3.9.0)
|
93
|
+
rspec-core (~> 3.9.0)
|
94
|
+
rspec-expectations (~> 3.9.0)
|
95
|
+
rspec-mocks (~> 3.9.0)
|
96
|
+
rspec-core (3.9.2)
|
97
|
+
rspec-support (~> 3.9.3)
|
98
|
+
rspec-expectations (3.9.2)
|
99
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
100
|
+
rspec-support (~> 3.9.0)
|
101
|
+
rspec-mocks (3.9.1)
|
102
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
103
|
+
rspec-support (~> 3.9.0)
|
104
|
+
rspec-support (3.9.3)
|
105
|
+
rubocop (0.91.0)
|
106
|
+
parallel (~> 1.10)
|
107
|
+
parser (>= 2.7.1.1)
|
108
|
+
rainbow (>= 2.2.2, < 4.0)
|
109
|
+
regexp_parser (>= 1.7)
|
110
|
+
rexml
|
111
|
+
rubocop-ast (>= 0.4.0, < 1.0)
|
112
|
+
ruby-progressbar (~> 1.7)
|
113
|
+
unicode-display_width (>= 1.4.0, < 2.0)
|
114
|
+
rubocop-ast (0.4.2)
|
115
|
+
parser (>= 2.7.1.4)
|
116
|
+
ruby-progressbar (1.10.1)
|
117
|
+
ruby2_keywords (0.0.2)
|
118
|
+
ruby_dep (1.5.0)
|
119
|
+
shellany (0.0.1)
|
120
|
+
shotgun (0.9.2)
|
121
|
+
rack (>= 1.0)
|
122
|
+
simplecov (0.19.0)
|
123
|
+
docile (~> 1.1)
|
124
|
+
simplecov-html (~> 0.11)
|
125
|
+
simplecov-html (0.12.2)
|
126
|
+
sinatra (2.1.0)
|
127
|
+
mustermann (~> 1.0)
|
128
|
+
rack (~> 2.2)
|
129
|
+
rack-protection (= 2.1.0)
|
130
|
+
tilt (~> 2.0)
|
131
|
+
thin (1.7.2)
|
132
|
+
daemons (~> 1.0, >= 1.0.9)
|
133
|
+
eventmachine (~> 1.0, >= 1.0.4)
|
134
|
+
rack (>= 1, < 3)
|
135
|
+
thor (1.0.1)
|
136
|
+
tilt (2.0.10)
|
137
|
+
unicode-display_width (1.7.0)
|
138
|
+
webmock (3.9.1)
|
139
|
+
addressable (>= 2.3.6)
|
140
|
+
crack (>= 0.3.2)
|
141
|
+
hashdiff (>= 0.4.0, < 2.0.0)
|
142
|
+
|
143
|
+
PLATFORMS
|
144
|
+
ruby
|
145
|
+
|
146
|
+
DEPENDENCIES
|
147
|
+
bundler (~> 1.9)
|
148
|
+
codecov
|
149
|
+
dotenv
|
150
|
+
gem-release
|
151
|
+
guard-rspec
|
152
|
+
jwt
|
153
|
+
listen (~> 3.1.5)
|
154
|
+
omniauth-auth0!
|
155
|
+
pry
|
156
|
+
rack-test
|
157
|
+
rake
|
158
|
+
rspec (~> 3.5)
|
159
|
+
rubocop
|
160
|
+
shotgun
|
161
|
+
simplecov
|
162
|
+
sinatra
|
163
|
+
thin
|
164
|
+
webmock
|
165
|
+
|
166
|
+
BUNDLED WITH
|
167
|
+
1.17.3
|