googleauth 0.14.0 → 1.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (80) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +11 -0
  3. data/CHANGELOG.md +72 -10
  4. data/README.md +48 -13
  5. data/SECURITY.md +7 -0
  6. data/lib/googleauth/application_default.rb +10 -25
  7. data/lib/googleauth/client_id.rb +10 -25
  8. data/lib/googleauth/compute_engine.rb +16 -30
  9. data/lib/googleauth/credentials.rb +178 -74
  10. data/lib/googleauth/credentials_loader.rb +23 -44
  11. data/lib/googleauth/default_credentials.rb +10 -25
  12. data/lib/googleauth/iam.rb +11 -26
  13. data/lib/googleauth/id_tokens/errors.rb +9 -23
  14. data/lib/googleauth/id_tokens/key_sources.rb +26 -38
  15. data/lib/googleauth/id_tokens/verifier.rb +16 -32
  16. data/lib/googleauth/id_tokens.rb +9 -23
  17. data/lib/googleauth/json_key_reader.rb +10 -25
  18. data/lib/googleauth/scope_util.rb +11 -26
  19. data/lib/googleauth/service_account.rb +60 -59
  20. data/lib/googleauth/signet.rb +22 -28
  21. data/lib/googleauth/stores/file_token_store.rb +11 -25
  22. data/lib/googleauth/stores/redis_token_store.rb +11 -25
  23. data/lib/googleauth/token_store.rb +10 -25
  24. data/lib/googleauth/user_authorizer.rb +10 -25
  25. data/lib/googleauth/user_refresh.rb +15 -27
  26. data/lib/googleauth/version.rb +11 -26
  27. data/lib/googleauth/web_user_authorizer.rb +14 -32
  28. data/lib/googleauth.rb +10 -25
  29. metadata +26 -97
  30. data/.github/CODEOWNERS +0 -7
  31. data/.github/CONTRIBUTING.md +0 -74
  32. data/.github/ISSUE_TEMPLATE/bug_report.md +0 -36
  33. data/.github/ISSUE_TEMPLATE/feature_request.md +0 -21
  34. data/.github/ISSUE_TEMPLATE/support_request.md +0 -7
  35. data/.gitignore +0 -36
  36. data/.kokoro/build.bat +0 -16
  37. data/.kokoro/build.sh +0 -4
  38. data/.kokoro/continuous/common.cfg +0 -24
  39. data/.kokoro/continuous/linux.cfg +0 -25
  40. data/.kokoro/continuous/osx.cfg +0 -8
  41. data/.kokoro/continuous/post.cfg +0 -30
  42. data/.kokoro/continuous/windows.cfg +0 -29
  43. data/.kokoro/osx.sh +0 -4
  44. data/.kokoro/presubmit/common.cfg +0 -24
  45. data/.kokoro/presubmit/linux.cfg +0 -24
  46. data/.kokoro/presubmit/osx.cfg +0 -8
  47. data/.kokoro/presubmit/windows.cfg +0 -29
  48. data/.kokoro/release.cfg +0 -94
  49. data/.kokoro/trampoline.bat +0 -10
  50. data/.kokoro/trampoline.sh +0 -4
  51. data/.repo-metadata.json +0 -5
  52. data/.rspec +0 -2
  53. data/.rubocop.yml +0 -19
  54. data/Gemfile +0 -30
  55. data/Rakefile +0 -132
  56. data/googleauth.gemspec +0 -38
  57. data/integration/helper.rb +0 -31
  58. data/integration/id_tokens/key_source_test.rb +0 -74
  59. data/rakelib/devsite_builder.rb +0 -45
  60. data/rakelib/link_checker.rb +0 -64
  61. data/rakelib/repo_metadata.rb +0 -59
  62. data/spec/googleauth/apply_auth_examples.rb +0 -171
  63. data/spec/googleauth/client_id_spec.rb +0 -160
  64. data/spec/googleauth/compute_engine_spec.rb +0 -160
  65. data/spec/googleauth/credentials_spec.rb +0 -478
  66. data/spec/googleauth/get_application_default_spec.rb +0 -286
  67. data/spec/googleauth/iam_spec.rb +0 -80
  68. data/spec/googleauth/scope_util_spec.rb +0 -77
  69. data/spec/googleauth/service_account_spec.rb +0 -489
  70. data/spec/googleauth/signet_spec.rb +0 -142
  71. data/spec/googleauth/stores/file_token_store_spec.rb +0 -57
  72. data/spec/googleauth/stores/redis_token_store_spec.rb +0 -50
  73. data/spec/googleauth/stores/store_examples.rb +0 -58
  74. data/spec/googleauth/user_authorizer_spec.rb +0 -343
  75. data/spec/googleauth/user_refresh_spec.rb +0 -359
  76. data/spec/googleauth/web_user_authorizer_spec.rb +0 -172
  77. data/spec/spec_helper.rb +0 -92
  78. data/test/helper.rb +0 -33
  79. data/test/id_tokens/key_sources_test.rb +0 -240
  80. data/test/id_tokens/verifier_test.rb +0 -269
@@ -1,74 +0,0 @@
1
- # How to become a contributor and submit your own code
2
-
3
- ## Contributor License Agreements
4
-
5
- We'd love to accept your sample apps and patches! Before we can take them, we
6
- have to jump a couple of legal hurdles.
7
-
8
- Please fill out either the individual or corporate Contributor License Agreement
9
- (CLA).
10
-
11
- * If you are an individual writing original source code and you're sure you
12
- own the intellectual property, then you'll need to sign an [individual CLA].
13
- * If you work for a company that wants to allow you to contribute your work,
14
- then you'll need to sign a [corporate CLA].
15
-
16
- [individual CLA]: http://code.google.com/legal/individual-cla-v1.0.html
17
- [corporate CLA]: http://code.google.com/legal/corporate-cla-v1.0.html
18
-
19
- Follow either of the two links above to access the appropriate CLA and
20
- instructions for how to sign and return it. Once we receive it, we'll be able to
21
- accept your pull requests.
22
-
23
- ## Issue reporting
24
-
25
- * Check that the issue has not already been reported.
26
- * Check that the issue has not already been fixed in the latest code
27
- (a.k.a. `master`).
28
- * Be clear, concise and precise in your description of the problem.
29
- * Open an issue with a descriptive title and a summary in grammatically correct,
30
- complete sentences.
31
- * Include any relevant code to the issue summary.
32
-
33
- ## Pull requests
34
-
35
- * Read [how to properly contribute to open source projects on Github][2].
36
- * Fork the project.
37
- * Use a topic/feature branch to easily amend a pull request later, if necessary.
38
- * Write [good commit messages][3].
39
- * Use the same coding conventions as the rest of the project.
40
- * Commit and push until you are happy with your contribution.
41
- * Make sure to add tests for it. This is important so I don't break it
42
- in a future version unintentionally.
43
- * Add an entry to the [Changelog](CHANGELOG.md) accordingly. See [changelog entry format](#changelog-entry-format).
44
- * Please try not to mess with the Rakefile, version, or history. If you want to
45
- have your own version, or is otherwise necessary, that is fine, but please
46
- isolate to its own commit so I can cherry-pick around it.
47
- * Make sure the test suite is passing and the code you wrote doesn't produce
48
- RuboCop offenses.
49
- * [Squash related commits together][5].
50
- * Open a [pull request][4] that relates to *only* one subject with a clear title
51
- and description in grammatically correct, complete sentences.
52
-
53
- ### Changelog entry format
54
-
55
- Here are a few examples:
56
-
57
- ```
58
- * makes the scope parameter's optional in all APIs. (@tbetbetbe[])
59
- * [#14](https://github.com/google/google-auth-library-ruby/issues/14): ADC Support for JWT Service Tokens. ([@tbetbetbe][])
60
- ```
61
-
62
- * Mark it up in [Markdown syntax][6].
63
- * The entry line should start with `* ` (an asterisk and a space).
64
- * If the change has a related GitHub issue (e.g. a bug fix for a reported issue), put a link to the issue as `[#123](https://github.com/google/google-auth-library-ruby/issues/11): `.
65
- * Describe the brief of the change. The sentence should end with a punctuation.
66
- * At the end of the entry, add an implicit link to your GitHub user page as `([@username][])`.
67
- * If this is your first contribution to google-auth-library-ruby project, add a link definition for the implicit link to the bottom of the changelog as `[@username]: https://github.com/username`.
68
-
69
- [1]: https://github.com/google/google-auth-ruby-library/issues
70
- [2]: http://gun.io/blog/how-to-github-fork-branch-and-pull-request
71
- [3]: http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html
72
- [4]: https://help.github.com/articles/using-pull-requests
73
- [5]: http://gitready.com/advanced/2009/02/10/squashing-commits-with-rebase.html
74
- [6]: http://daringfireball.net/projects/markdown/syntax
@@ -1,36 +0,0 @@
1
- ---
2
- name: Bug report
3
- about: Create a report to help us improve
4
-
5
- ---
6
-
7
- Thanks for stopping by to let us know something could be better!
8
-
9
- **PLEASE READ**: If you have a support contract with Google, please create an issue in the [support console](https://cloud.google.com/support/) instead of filing on GitHub. This will ensure a timely response.
10
-
11
- Please run down the following list and make sure you've tried the usual "quick fixes":
12
-
13
- - Search the issues already opened: https://github.com/googleapis/google-auth-library-ruby/issues
14
- - Search Stack Overflow: https://stackoverflow.com/questions/tagged/google-auth-library-ruby
15
-
16
- If you are still having issues, please be sure to include as much information as possible:
17
-
18
- #### Environment details
19
-
20
- - OS:
21
- - Ruby version:
22
- - Gem name and version:
23
-
24
- #### Steps to reproduce
25
-
26
- 1. ...
27
-
28
- #### Code example
29
-
30
- ```ruby
31
- # example
32
- ```
33
-
34
- Making sure to follow these steps will guarantee the quickest resolution possible.
35
-
36
- Thanks!
@@ -1,21 +0,0 @@
1
- ---
2
- name: Feature request
3
- about: Suggest an idea for this library
4
-
5
- ---
6
-
7
- Thanks for stopping by to let us know something could be better!
8
-
9
- **PLEASE READ**: If you have a support contract with Google, please create an issue in the [support console](https://cloud.google.com/support/) instead of filing on GitHub. This will ensure a timely response.
10
-
11
- **Is your feature request related to a problem? Please describe.**
12
- A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
13
-
14
- **Describe the solution you'd like**
15
- A clear and concise description of what you want to happen.
16
-
17
- **Describe alternatives you've considered**
18
- A clear and concise description of any alternative solutions or features you've considered.
19
-
20
- **Additional context**
21
- Add any other context or screenshots about the feature request here.
@@ -1,7 +0,0 @@
1
- ---
2
- name: Support request
3
- about: If you have a support contract with Google, please create an issue in the Google Cloud Support console.
4
-
5
- ---
6
-
7
- **PLEASE READ**: If you have a support contract with Google, please create an issue in the [support console](https://cloud.google.com/support/) instead of filing on GitHub. This will ensure a timely response.
data/.gitignore DELETED
@@ -1,36 +0,0 @@
1
- *~
2
- Gemfile.lock
3
- *.gem
4
- *.rbc
5
- /.config
6
- /coverage/
7
- /InstalledFiles
8
- /pkg/
9
- /spec/reports/
10
- /test/tmp/
11
- /test/version_tmp/
12
- /tmp/
13
-
14
- ## Specific to RubyMotion:
15
- .dat*
16
- .repl_history
17
- build/
18
-
19
- ## Documentation cache and generated files:
20
- /.yardoc/
21
- /_yardoc/
22
- /doc/
23
- /rdoc/
24
-
25
- ## Environment normalisation:
26
- /.bundle/
27
- /lib/bundler/man/
28
-
29
- # for a library or gem, you might want to ignore these files since the code is
30
- # intended to run in multiple environments; otherwise, check them in:
31
- # Gemfile.lock
32
- # .ruby-version
33
- # .ruby-gemset
34
-
35
- # unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
36
- .rvmrc
data/.kokoro/build.bat DELETED
@@ -1,16 +0,0 @@
1
- REM This file runs tests for merges, PRs, and nightlies.
2
- REM There are a few rules for what tests are run:
3
- REM * PRs run all non-acceptance tests for every library.
4
- REM * Merges run all non-acceptance tests for every library, and acceptance tests for all altered libraries.
5
- REM * Nightlies run all acceptance tests for every library.
6
- REM Currently only runs tests on 2.5.1
7
-
8
- SET url="https://raw.githubusercontent.com/googleapis/google-cloud-ruby/master/.kokoro/build.bat"
9
-
10
- SET "download=powershell -C Invoke-WebRequest -Uri %url% -OutFile master-build.bat"
11
-
12
- SET EXIT_STATUS=1
13
-
14
- %download% && master-build.bat && SET EXIT_STATUS=0
15
-
16
- EXIT %EXIT_STATUS%
data/.kokoro/build.sh DELETED
@@ -1,4 +0,0 @@
1
- #!/bin/bash
2
-
3
- script_url="https://raw.githubusercontent.com/googleapis/google-cloud-ruby/master/.kokoro/build.sh"
4
- curl -o master-build.sh $script_url && source master-build.sh
@@ -1,24 +0,0 @@
1
- # Format: //devtools/kokoro/config/proto/build.proto
2
-
3
- # Build logs will be here
4
- action {
5
- define_artifacts {
6
- regex: "**/*sponge_log.xml"
7
- }
8
- }
9
-
10
- # Download trampoline resources.
11
- gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline"
12
-
13
- # Download resources for system tests (service account key, etc.)
14
- gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/google-cloud-ruby"
15
-
16
- env_vars: {
17
- key: "JOB_TYPE"
18
- value: "continuous"
19
- }
20
-
21
- env_vars: {
22
- key: "REPO_DIR"
23
- value: "github/google-auth-library-ruby"
24
- }
@@ -1,25 +0,0 @@
1
- # Format: //devtools/kokoro/config/proto/build.proto
2
-
3
- build_file: "google-auth-library-ruby/.kokoro/trampoline.sh"
4
-
5
- # Configure the docker image for kokoro-trampoline.
6
- # Dockerfile is maintained at https://github.com/googleapis/google-cloud-ruby/tree/master/.kokoro/docker/multi
7
- env_vars: {
8
- key: "TRAMPOLINE_IMAGE"
9
- value: "gcr.io/cloud-devrel-kokoro-resources/yoshi-ruby/multi"
10
- }
11
-
12
- env_vars: {
13
- key: "TRAMPOLINE_BUILD_FILE"
14
- value: "github/google-auth-library-ruby/.kokoro/build.sh"
15
- }
16
-
17
- env_vars: {
18
- key: "TRAMPOLINE_SCRIPT"
19
- value: "trampoline_v1.py"
20
- }
21
-
22
- env_vars: {
23
- key: "OS"
24
- value: "linux"
25
- }
@@ -1,8 +0,0 @@
1
- # Format: //devtools/kokoro/config/proto/build.proto
2
-
3
- build_file: "google-auth-library-ruby/.kokoro/osx.sh"
4
-
5
- env_vars: {
6
- key: "OS"
7
- value: "osx"
8
- }
@@ -1,30 +0,0 @@
1
- # Format: //devtools/kokoro/config/proto/build.proto
2
-
3
- build_file: "google-auth-library-ruby/.kokoro/trampoline.sh"
4
-
5
- # Configure the docker image for kokoro-trampoline.
6
- # Dockerfile is maintained at https://github.com/googleapis/google-cloud-ruby/tree/master/.kokoro/docker/multi-node
7
- env_vars: {
8
- key: "TRAMPOLINE_IMAGE"
9
- value: "gcr.io/cloud-devrel-kokoro-resources/yoshi-ruby/multi-node"
10
- }
11
-
12
- env_vars: {
13
- key: "TRAMPOLINE_BUILD_FILE"
14
- value: "github/google-auth-library-ruby/.kokoro/build.sh"
15
- }
16
-
17
- env_vars: {
18
- key: "TRAMPOLINE_SCRIPT"
19
- value: "trampoline_v1.py"
20
- }
21
-
22
- env_vars: {
23
- key: "OS"
24
- value: "linux"
25
- }
26
-
27
- env_vars: {
28
- key: "JOB_TYPE"
29
- value: "post"
30
- }
@@ -1,29 +0,0 @@
1
- # Format: //devtools/kokoro/config/proto/build.proto
2
-
3
- build_file: "google-auth-library-ruby/.kokoro/trampoline.bat"
4
-
5
- # Configure the docker image for kokoro-trampoline.
6
- env_vars: {
7
- key: "TRAMPOLINE_IMAGE"
8
- value: "gcr.io/cloud-devrel-kokoro-resources/yoshi-ruby/windows"
9
- }
10
-
11
- env_vars: {
12
- key: "TRAMPOLINE_BUILD_FILE"
13
- value: "github/google-auth-library-ruby/.kokoro/build.bat"
14
- }
15
-
16
- env_vars: {
17
- key: "TRAMPOLINE_SCRIPT"
18
- value: "trampoline_windows.py"
19
- }
20
-
21
- env_vars: {
22
- key: "REPO_DIR"
23
- value: "google-auth-library-ruby"
24
- }
25
-
26
- env_vars: {
27
- key: "OS"
28
- value: "windows"
29
- }
data/.kokoro/osx.sh DELETED
@@ -1,4 +0,0 @@
1
- #!/bin/bash
2
-
3
- script_url="https://raw.githubusercontent.com/googleapis/google-cloud-ruby/master/.kokoro/osx.sh"
4
- curl -o master-osx.sh $script_url && source master-osx.sh
@@ -1,24 +0,0 @@
1
- # Format: //devtools/kokoro/config/proto/build.proto
2
-
3
- # Build logs will be here
4
- action {
5
- define_artifacts {
6
- regex: "**/*sponge_log.xml"
7
- }
8
- }
9
-
10
- # Download trampoline resources.
11
- gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline"
12
-
13
- # Download resources for system tests (service account key, etc.)
14
- gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/google-cloud-ruby"
15
-
16
- env_vars: {
17
- key: "JOB_TYPE"
18
- value: "presubmit"
19
- }
20
-
21
- env_vars: {
22
- key: "REPO_DIR"
23
- value: "github/google-auth-library-ruby"
24
- }
@@ -1,24 +0,0 @@
1
- # Format: //devtools/kokoro/config/proto/build.proto
2
-
3
- build_file: "google-auth-library-ruby/.kokoro/trampoline.sh"
4
-
5
- # Configure the docker image for kokoro-trampoline.
6
- env_vars: {
7
- key: "TRAMPOLINE_IMAGE"
8
- value: "gcr.io/cloud-devrel-kokoro-resources/yoshi-ruby/multi"
9
- }
10
-
11
- env_vars: {
12
- key: "TRAMPOLINE_BUILD_FILE"
13
- value: "github/google-auth-library-ruby/.kokoro/build.sh"
14
- }
15
-
16
- env_vars: {
17
- key: "TRAMPOLINE_SCRIPT"
18
- value: "trampoline_v1.py"
19
- }
20
-
21
- env_vars: {
22
- key: "OS"
23
- value: "linux"
24
- }
@@ -1,8 +0,0 @@
1
- # Format: //devtools/kokoro/config/proto/build.proto
2
-
3
- build_file: "google-auth-library-ruby/.kokoro/osx.sh"
4
-
5
- env_vars: {
6
- key: "OS"
7
- value: "osx"
8
- }
@@ -1,29 +0,0 @@
1
- # Format: //devtools/kokoro/config/proto/build.proto
2
-
3
- build_file: "google-auth-library-ruby/.kokoro/trampoline.bat"
4
-
5
- # Configure the docker image for kokoro-trampoline.
6
- env_vars: {
7
- key: "TRAMPOLINE_IMAGE"
8
- value: "gcr.io/cloud-devrel-kokoro-resources/yoshi-ruby/windows"
9
- }
10
-
11
- env_vars: {
12
- key: "TRAMPOLINE_BUILD_FILE"
13
- value: "github/google-auth-library-ruby/.kokoro/build.bat"
14
- }
15
-
16
- env_vars: {
17
- key: "TRAMPOLINE_SCRIPT"
18
- value: "trampoline_windows.py"
19
- }
20
-
21
- env_vars: {
22
- key: "REPO_DIR"
23
- value: "google-auth-library-ruby"
24
- }
25
-
26
- env_vars: {
27
- key: "OS"
28
- value: "windows"
29
- }
data/.kokoro/release.cfg DELETED
@@ -1,94 +0,0 @@
1
- # Format: //devtools/kokoro/config/proto/build.proto
2
-
3
- # Build logs will be here
4
- action {
5
- define_artifacts {
6
- regex: "**/*sponge_log.xml"
7
- }
8
- }
9
-
10
- # Fetch the token needed for reporting release status to GitHub
11
- before_action {
12
- fetch_keystore {
13
- keystore_resource {
14
- keystore_config_id: 73713
15
- keyname: "yoshi-automation-github-key"
16
- }
17
- }
18
- }
19
-
20
- # Fetch magictoken to use with Magic Github Proxy
21
- before_action {
22
- fetch_keystore {
23
- keystore_resource {
24
- keystore_config_id: 73713
25
- keyname: "releasetool-magictoken"
26
- backend_type: FASTCONFIGPUSH
27
- }
28
- }
29
- }
30
-
31
- # Fetch api key to use with Magic Github Proxy
32
- before_action {
33
- fetch_keystore {
34
- keystore_resource {
35
- keystore_config_id: 73713
36
- keyname: "magic-github-proxy-api-key"
37
- backend_type: FASTCONFIGPUSH
38
- }
39
- }
40
- }
41
-
42
- before_action {
43
- fetch_keystore {
44
- keystore_resource {
45
- keystore_config_id: 73713
46
- keyname: "docuploader_service_account"
47
- }
48
- }
49
- }
50
-
51
- # Download resources for system tests (service account key, etc.)
52
- gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/google-cloud-ruby"
53
-
54
- # Download trampoline resources.
55
- gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline"
56
-
57
- # Use the trampoline script to run in docker.
58
- build_file: "google-auth-library-ruby/.kokoro/trampoline.sh"
59
-
60
- # Configure the docker image for kokoro-trampoline.
61
- env_vars: {
62
- key: "TRAMPOLINE_IMAGE"
63
- value: "gcr.io/cloud-devrel-kokoro-resources/yoshi-ruby/release"
64
- }
65
-
66
- env_vars: {
67
- key: "TRAMPOLINE_BUILD_FILE"
68
- value: "github/google-auth-library-ruby/.kokoro/build.sh"
69
- }
70
-
71
- env_vars: {
72
- key: "TRAMPOLINE_SCRIPT"
73
- value: "trampoline_v1.py"
74
- }
75
-
76
- env_vars: {
77
- key: "JOB_TYPE"
78
- value: "release"
79
- }
80
-
81
- env_vars: {
82
- key: "OS"
83
- value: "linux"
84
- }
85
-
86
- env_vars: {
87
- key: "REPO_DIR"
88
- value: "github/google-auth-library-ruby"
89
- }
90
-
91
- env_vars: {
92
- key: "PACKAGE"
93
- value: "googleauth"
94
- }
@@ -1,10 +0,0 @@
1
-
2
- SET url="https://raw.githubusercontent.com/googleapis/google-cloud-ruby/master/.kokoro/trampoline.bat"
3
-
4
- SET "download=powershell -C Invoke-WebRequest -Uri %url% -OutFile master-trampoline.bat"
5
-
6
- SET EXIT_STATUS=1
7
-
8
- %download% && master-trampoline.bat && SET EXIT_STATUS=0
9
-
10
- EXIT %EXIT_STATUS%
@@ -1,4 +0,0 @@
1
- #!/bin/bash
2
-
3
- script_url="https://raw.githubusercontent.com/googleapis/google-cloud-ruby/master/.kokoro/trampoline.sh"
4
- curl -o master-trampoline.sh $script_url && source master-trampoline.sh
data/.repo-metadata.json DELETED
@@ -1,5 +0,0 @@
1
- {
2
- "name": "googleauth",
3
- "language": "ruby",
4
- "distribution-name": "googleauth"
5
- }
data/.rspec DELETED
@@ -1,2 +0,0 @@
1
- --colour
2
- --format documentation
data/.rubocop.yml DELETED
@@ -1,19 +0,0 @@
1
- inherit_gem:
2
- google-style: google-style.yml
3
-
4
- AllCops:
5
- Exclude:
6
- - "Rakefile"
7
- - "integration/**/*"
8
- - "rakelib/**/*"
9
- - "spec/**/*"
10
- - "test/**/*"
11
- Metrics/ClassLength:
12
- Max: 200
13
- Metrics/ModuleLength:
14
- Max: 110
15
- Metrics/BlockLength:
16
- Exclude:
17
- - "googleauth.gemspec"
18
- Style/SafeNavigation:
19
- Enabled: false
data/Gemfile DELETED
@@ -1,30 +0,0 @@
1
- source "https://rubygems.org"
2
-
3
- # Specify your gem's dependencies in googleauth.gemspec
4
- gemspec
5
-
6
- group :development do
7
- gem "bundler", ">= 1.9"
8
- gem "coveralls", "~> 0.7"
9
- gem "fakefs", "~> 0.6"
10
- gem "fakeredis", "~> 0.5"
11
- gem "google-style", "~> 1.24.0"
12
- gem "logging", "~> 2.0"
13
- gem "minitest", "~> 5.14"
14
- gem "minitest-focus", "~> 1.1"
15
- gem "rack-test", "~> 0.6"
16
- gem "rake", "~> 13.0"
17
- gem "redis", "~> 3.2"
18
- gem "rspec", "~> 3.0"
19
- gem "simplecov", "~> 0.9"
20
- gem "sinatra"
21
- gem "webmock", "~> 3.8"
22
- end
23
-
24
- platforms :jruby do
25
- group :development do
26
- end
27
- end
28
-
29
- gem "faraday", "~> 0.17"
30
- gem "gems", "~> 1.2"