Commit Graph

208 Commits

Author SHA1 Message Date
Ernest Landrito c148fc12bb Add simple credentials class. (#122)
* Add simple credentials class

* 1.9.3 fix

* Review fixes

* Move  into it's own file. Cleanup require statements
2017-10-12 09:19:43 -07:00
Heng Xiong 7ee081052d Merge pull request #121 from hxiong388/fix-typo-constant
Fix typo constant
2017-09-18 15:28:06 -07:00
Heng Xiong a83d39b158 Merge pull request #119 from jurriaan/jwt-2-0
Support ruby-jwt 2.0
2017-09-18 10:32:49 -07:00
Heng Xiong 358ef906f7 Fix typo constant 2017-09-18 10:31:47 -07:00
Jurriaan Pruis 013861209c Use specific version of JRuby to fix CI for now 2017-09-18 11:38:44 +02:00
Jurriaan Pruis ba5a07a690 Fix rubocop for Ruby 1.9.3 on CI
Since Rubocop 0.42 MRI 1.9.3 isn't supported anymore.

This commit makes sure that at least Rubocop 0.41 is used so 1.9.3
builds work again.
2017-09-18 11:26:07 +02:00
Jurriaan Pruis 2e9841e084 Support ruby-jwt 2.0
This version of ruby-jwt requires specification of the algorithm (see
jwt/ruby-jwt#184) for more information.

I've created a PR on signet to. That has to be merged before ruby-jwt
2.0 can be really used (see https://github.com/google/signet/pull/93).

Tested locally against ruby-jwt 2.0 and 1.5.6.
2017-09-16 01:11:12 +02:00
Heng Xiong c9a1805b69 Pin rubocop version 2017-09-15 16:02:37 -07:00
Heng Xiong faf24676c0 Merge pull request #118 from olleolleolle/patch-2
CONTRIBUTING: Unbreak CLA links
2017-09-13 10:24:18 -07:00
Heng Xiong 74649684a8 Merge pull request #117 from olleolleolle/patch-1
README: Use SVG badges
2017-09-13 10:22:07 -07:00
Olle Jonsson d3496a879d CONTRIBUTING: Unbreak CLA links [ci skip] 2017-09-13 14:52:08 +02:00
Olle Jonsson 17b9dc2ec7 README: Use SVG badges [ci skip] 2017-09-13 14:49:57 +02:00
Edward Betts 62c3761727 correct spelling mistake (#115) 2017-09-01 17:14:34 -07:00
Heng Xiong d022d0a69d Release 0.5.3 2017-07-21 10:46:37 -07:00
Heng Xiong af499e1634 Upgrade CHANGELOG.md for 0.5.2 release 2017-07-19 12:48:51 -07:00
Heng Xiong 0dab02dbaa Merge pull request #112 from hxiong388/new-token-uri
Upgrade to new token URI
2017-07-17 11:47:53 -07:00
Heng Xiong f2b5b8ac98 Upgrade to new token URI 2017-07-17 11:14:06 -07:00
Heng Xiong 8665196405 Merge pull request #97 from serihiro/retry-request-with-unexpected-error
Retry http request when unexpected error occurs
2017-07-13 16:29:13 -07:00
Kazuhiro Serizawa 227ba09a7e Fix rubocop cautions 2017-07-14 08:04:35 +09:00
Kazuhiro Serizawa 40f4e166a2 Use retry_with_error in UserRefreshCredentials#revoke! 2017-07-14 07:53:35 +09:00
Kazuhiro Serizawa a1a9387c2b Use retry_with_error in GCECredentials#fetch_access_token 2017-07-14 07:53:35 +09:00
Kazuhiro Serizawa 3014e6ddaf Implement retry_with_faraday_error 2017-07-14 07:53:35 +09:00
Heng Xiong 0f7fe1ea91 Merge pull request #110 from hxiong388/update-readme
Add service account example
2017-07-13 15:12:44 -07:00
Heng Xiong 608e9f9b91 Add service account example 2017-07-13 14:58:23 -07:00
hxiong388 403debaaa2 Merge pull request #100 from icco/patch-1
Update faraday dependency
2017-07-13 11:27:10 -07:00
hxiong388 90aaf7f554 Merge pull request #105 from bootstraponline/patch-1
google-api-ruby-client now uses google-auth-library-ruby
2017-07-13 11:26:52 -07:00
Daniel Azuma 91ecc02d86 Merge pull request #109 from hxiong388/fix-build
Fix rubocop violations. Fix Travis build.
2017-07-13 08:29:23 -07:00
Heng Xiong 1db30f6db1 Fix rubocop Ruby 1.9.3 compatibility issues 2017-07-12 17:11:49 -07:00
Heng Xiong 374b342ea9 restore travis config back to ruby 2.3, which aliases to 2.3.4 2017-07-12 16:13:10 -07:00
Heng Xiong 822435f616 Fix rubocop violations. Fix Travis build. 2017-07-12 15:57:12 -07:00
hxiong388 4cece8bd80 Merge pull request #98 from serihiro/fix-rubocop-warning
Fix rubocop warning
2017-07-12 15:52:59 -07:00
bootstraponline d7872bae9c google-api-ruby-client now uses google-auth-library-ruby 2017-06-06 16:41:35 -04:00
Nat Welch 45ed29a098 Update faraday dependency 2017-04-11 10:56:36 -04:00
Kazuhiro Serizawa 350de2ef60 Specify ruby patch version for ruby2.3 2017-02-26 14:32:37 +09:00
Kazuhiro Serizawa bcca449f79 rubocop --auto-gen-config 2017-02-25 23:27:52 +09:00
Kazuhiro Serizawa 9fda76427a Use normalcase for variable numbers. 2017-02-25 23:27:52 +09:00
Kazuhiro Serizawa 198e766bcd Disable `Metrics/BlockLength` for spec files and gemspec 2017-02-25 23:27:52 +09:00
Kazuhiro Serizawa a67e5297c2 rubocop autocorrect: Fix empty method definition 2017-02-25 23:27:04 +09:00
Kazuhiro Serizawa 35bef89588 rubocop autocorrect: Favor a normal if-statement 2017-02-25 23:24:59 +09:00
Tim Emiola 37ed189b2e Merge pull request #76 from shicholas/update_tests
added ruby 2.3 to travis w/ other small changes.
2016-07-14 08:02:49 +09:00
nicholas shook 82a4f8520c added ruby 2.3 compatability
also:

* updated rubocop and applied styling
* made small test refactorings (using the expect block notation)
* made a small refactor to remove an unnecessary ``return credentials``
* bumped the version
2016-07-13 15:45:46 -07:00
Steve Bazyl 72fb8df541 Small correction to web example 2016-01-15 12:16:47 -08:00
Tim Emiola 2b63b591ba Merge pull request #59 from mikem836/env_error_message
Fix uninitialized constant in DefaultCredentials
2016-01-08 13:49:01 -08:00
Mike Milner 62a8d41bc4 Replace uninitialized constant 2016-01-08 13:17:49 -05:00
Steve Bazyl a99a2204b0 Fix a small typo + undefined constant in sample 2016-01-06 17:02:05 -08:00
Tim Emiola e3b4c420af Merge pull request #58 from murgatroid99/header_name_change_version_update
Update version and changelog for 0.5.1
2016-01-06 11:16:37 -08:00
murgatroid99 7eca23785d Fixed markdown syntax 2016-01-06 11:04:34 -08:00
murgatroid99 3d3aae31e0 Include other recent change in changelog 2016-01-06 11:03:49 -08:00
murgatroid99 5b483b07e7 Update version and changelog 2016-01-06 10:54:27 -08:00
Tim Emiola c3accecfc8 Merge pull request #57 from murgatroid99/lowercase_authorization
Use lowercase :authorization for metadata key
2016-01-06 10:46:40 -08:00