Commit Graph

200 Commits

Author SHA1 Message Date
Tim Emiola 5f4cc99347 updates gem dependencies to the latest version 2015-03-23 16:36:46 -07:00
Tim Emiola 3a516305f1 Merge pull request #17 from tbetbetbe/ruby-auth-make-scopes-optional
Ruby auth make scopes optional
2015-03-23 16:32:51 -07:00
Tim Emiola 86435f1913 Adds a CHANGELOG.md
- also update CONTRIBUTING.md with more detail
2015-03-23 16:13:42 -07:00
Tim Emiola 395febd0f0 Corrects some comments 2015-03-23 15:27:21 -07:00
Tim Emiola 369b3bfd80 Merge pull request #19 from tbetbetbe/ruby-auth-update-coverage
Updates the coverage to use the coveralls gem
2015-03-22 18:43:19 -07:00
Tim Emiola 72fc26dd5f Update the coverage to use the coveralls gem 2015-03-22 18:31:11 -07:00
Tim Emiola 30b978c7d6 Merge pull request #18 from tbetbetbe/ruby-auth-add-coverage
Adds the coverage report and coverage badge
2015-03-22 18:19:25 -07:00
Tim Emiola 84d1e27d15 Adds the coverage report and coverage badge 2015-03-22 18:10:18 -07:00
Tim Emiola cb46aae999 Bump the version, as optional scopes changes the API. 2015-03-17 16:49:36 -07:00
Tim Emiola bd97c23d9f Make the scope optional 2015-03-17 16:46:55 -07:00
Tim Emiola 7a9dea37f1 Bump version 2015-03-12 14:49:18 -07:00
Tim Emiola ade30c023a Merge pull request #13 from tbetbetbe/ruby-auth-add-user-creds
Ruby auth add user creds
2015-03-11 09:49:01 -07:00
Tim Emiola fb6cd15e4f Merge pull request #15 from tbetbetbe/ruby-auth-update-dependencies
Updates the dependencies
2015-03-11 09:48:36 -07:00
Tim Emiola 8f33ba8f4c Explicitly checks for user auth and fail if auth type is not known 2015-03-09 09:50:18 -07:00
Tim Emiola b2e2e9fb3e Updates the dependencies 2015-03-06 19:57:52 -08:00
Tim Emiola 4d4bcd46e8 Add support for loading either credentials type as determined by the loaded content 2015-03-06 16:58:57 -08:00
Tim Emiola 3bd8751519 Adds a credential class that supports User Refresh Tokens 2015-03-06 15:46:59 -08:00
Tim Emiola df56f8af33 Refactoring: move the credentials load into its own class 2015-03-06 15:13:40 -08:00
Tim Emiola a2b59eb836 Merge pull request #12 from google/vsubramani-patch-1
Update README.md
2015-02-25 18:14:49 -08:00
Vijay Subramani dc901656cc Update README.md 2015-02-25 10:51:48 -08:00
Tim Emiola 36ceadc26f Merge pull request #11 from tbetbetbe/ruby-auth-fix-tests-on-other-rubies
Ruby auth fix tests on other rubies
2015-02-25 05:07:52 -08:00
Tim Emiola e097a9cae9 Updates the tests work on ruby-1.9.3 and JRuby 2015-02-25 04:47:12 -08:00
Tim Emiola 82ae8a21a9 Add rubocop config files 2015-02-25 04:47:12 -08:00
Tim Emiola 5261c511c8 Merge pull request #10 from tbetbetbe/ruby-auth-fix-travis-command
Ruby auth fix travis command
2015-02-24 22:57:42 -08:00
Tim Emiola 632ebad0af Fixes a lint error in the gemspec 2015-02-24 22:56:40 -08:00
Tim Emiola 017eb16bd8 Fixes the command travis uses to build 2015-02-24 22:56:16 -08:00
Tim Emiola 8af9dd6fb6 Merge pull request #9 from tbetbetbe/ruby-auth-add-bundler-tasks
Adds bundler tasks
2015-02-24 22:36:21 -08:00
Tim Emiola a42254a5e6 Adds bundler tasks 2015-02-24 22:34:27 -08:00
Tim Emiola b34f87daa2 Merge pull request #8 from tbetbetbe/ruby-auth-update-license
Adds a license field, corrects the description
2015-02-24 22:15:45 -08:00
Tim Emiola 379aca9228 Adds a license field, corrects the description 2015-02-24 22:14:34 -08:00
Tim Emiola 41321befc0 Merge pull request #7 from tbetbetbe/ruby-auth-docs-correct-package-name
Ruby auth docs correct package name
2015-02-24 21:35:16 -08:00
Tim Emiola 07a9399c6a Minor doco fix 2015-02-24 19:06:28 -08:00
Tim Emiola 10b63d0b92 Correct the package name 2015-02-24 18:33:37 -08:00
Tim Emiola 83cd8d5581 Merge pull request #6 from tbetbetbe/ruby-auth-add-top-level-docs
Adds top-level documentation and testing metadata
2015-02-24 18:29:00 -08:00
Tim Emiola 18307f1911 Adds top-level documentation and testing metadata 2015-02-24 18:20:43 -08:00
Tim Emiola 6815e7d7bd Merge pull request #2 from tbetbetbe/ruby-auth-add-adc
Ruby auth add adc
2015-02-24 17:14:49 -08:00
Tim Emiola 34429f3298 Updates the comment to link to Application Default Credentials 2015-02-24 15:01:11 -08:00
Tim Emiola 21b0a3dead Ensures that the loaded files are closed 2015-02-24 14:57:12 -08:00
Tim Emiola 7adcf42958 Renamed the error vars 2015-02-17 18:43:00 -08:00
Tim Emiola a5bb601fe3 Adds an implementation of Application Default Credentials
- supports two initial scenarios
  - 2LO with service accounts
  - Compute Engine

- performs all 3 'sniffs' for the service account credentials
  - from environment
  - from a well known file
  - from GCE
2015-02-12 16:59:08 -08:00
Tim Emiola f8fd5fa519 Corrects the rescue clause 2015-02-12 16:58:48 -08:00
Tim Emiola 1492408997 Adds funcs for json key from environment defaults
- adds support for path specified by an ENV var
- adds support for loading from a default path
2015-02-12 16:19:08 -08:00
Tim Emiola 648b30e937 Merge pull request #1 from tbetbetbe/ruby-auth-initial-port-from-umbrella-project
Ruby auth initial port from umbrella project
2015-02-12 15:06:17 -08:00
Tim Emiola 219663cbf9 Fixes the doc url 2015-02-12 05:00:19 -08:00
Tim Emiola b01737abe2 Adds an explicit short timeout to on_gce?
- uses the current timeout in oauth2client/client.py
- includes the comments from that file as well
2015-02-11 21:03:37 -08:00
Tim Emiola e01b14cba8 Memoizes on_gce?
- also fixes an error in the gemspec.
2015-02-11 20:52:47 -08:00
Tim Emiola eea40d1d1e Corrects the homepage URL 2015-02-11 20:15:15 -08:00
Tim Emiola 3e60a713c5 Extract the auth library into its own project
- adds no new functionality beyond the initial attempt at providing
  Usable Auth constructors.

- adds enough packaging metadata to be able to export this library as a gem.

- next steps:
  complete usable auth implemntation of Application Default Credentials.
2015-02-11 19:23:34 -08:00
Tim Emiola 1688c65e80 Ignore emacs backup files and Gemfile.lock 2015-02-11 19:19:47 -08:00
Steve Bazyl 56f2733589 Initial commit 2014-10-20 13:37:47 -07:00