forked from auth0/ruby-auth0
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from ignaciojonas/v2
V2
- Loading branch information
Showing
45 changed files
with
1,470 additions
and
160 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
bin/ | ||
vendor/ | ||
doc/ | ||
.DS_Store | ||
.ruby-version | ||
coverage | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,3 +9,5 @@ rvm: | |
- 2.2.1 | ||
|
||
script: ./build_travis.sh | ||
|
||
after_success: ./deploy_documentation.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
#!/bin/bash | ||
# exit with nonzero exit code if anything fails | ||
set -e | ||
|
||
# clear and re-create the out directory | ||
rm -rf doc || exit 0; | ||
mkdir doc; | ||
|
||
# build documentation | ||
bundle exec rake documentation | ||
|
||
# go to the out directory and create a *new* Git repo | ||
cd doc | ||
git init | ||
|
||
# inside this git repo we'll pretend to be a new user | ||
git config user.name "Travis CI" | ||
git config user.email "[email protected]" | ||
|
||
# The first and only commit to this new Git repo contains all the | ||
# files present with the commit message "Deploy to GitHub Pages". | ||
git add . | ||
git commit -m "Deploy to GitHub Pages" | ||
|
||
# Force push from the current repo's master branch to the remote | ||
# repo's gh-pages branch. (All previous history on the gh-pages branch | ||
# will be lost, since we are overwriting it.) We redirect any output to | ||
# /dev/null to hide any sensitive credential data that might otherwise be exposed. | ||
git push --force --quiet "https://${GH_TOKEN}@${GH_REF}" master:gh-pages > /dev/null 2>&1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,28 @@ | ||
require 'auth0/api/v2/clients' | ||
require 'auth0/api/v2/users' | ||
require 'auth0/api/v2/blacklists' | ||
require 'auth0/api/v2/clients' | ||
require 'auth0/api/v2/connections' | ||
require 'auth0/api/v2/emails' | ||
require 'auth0/api/v2/jobs' | ||
require 'auth0/api/v2/rules' | ||
require 'auth0/api/v2/stats' | ||
require 'auth0/api/v2/connections' | ||
require 'auth0/api/v2/users' | ||
require 'auth0/api/v2/tenants' | ||
require 'auth0/api/v2/tickets' | ||
|
||
module Auth0 | ||
module Api | ||
# https://auth0.com/docs/apiv2 | ||
module V2 | ||
include Auth0::Api::V2::Clients | ||
include Auth0::Api::V2::Users | ||
include Auth0::Api::V2::Blacklists | ||
include Auth0::Api::V2::Clients | ||
include Auth0::Api::V2::Connections | ||
include Auth0::Api::V2::Emails | ||
include Auth0::Api::V2::Jobs | ||
include Auth0::Api::V2::Rules | ||
include Auth0::Api::V2::Stats | ||
include Auth0::Api::V2::Connections | ||
include Auth0::Api::V2::Users | ||
include Auth0::Api::V2::Tenants | ||
include Auth0::Api::V2::Tickets | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.