Commit Graph

218 Commits

Author SHA1 Message Date
Daniel Azuma c5e5f55bfe
fix: Arity of WebUserAuthorizer#get_credentials should be compatible with base class 2019-07-26 08:19:06 -07:00
Piotr Usewicz b9531ea662 remove Travis build status (#219)
Travis is not configured for this repo anymore.
2019-06-11 11:08:42 -07:00
Ryan Brushett e85ce29f00 add retry on error for fetch_access_token (#213) 2019-06-10 13:52:45 -07:00
Piotr Usewicz 9e797f13b8 allow specifying custom state key-values (#218) 2019-06-10 11:21:11 -07:00
igorpeshansky f2f83b20bc add verbosity none to gcloud command (#215) 2019-05-15 16:06:10 -07:00
Mike Moore a33a640e61
Credentials: Use methods instead of constants (#212)
Update Credentials to use methods for values that are intended to
be changed by users, replacing constants.
Add Credentials documentation.
2019-05-07 17:56:17 -06:00
Chris Smith 63381e4d9c
Fix Rubocop errors (#214)
* Fix for google-style 0.3.0 change to Style/WordArray.
* Update google-style dependency to 0.3.
2019-05-07 12:13:17 -06:00
Mike Moore f6e8355edd
Credentials Environment Variable Refactor (#211)
* Refactor env var methods
  Have the iteration return for the first match, instead of comparing
  all elements and choosing the first one that matches.
* Combine file and json credentials detection
  Allow an environment variable to contain either a file path
  or JSON to describe the credentials.
  This change matches how these variables are used in Google Cloud.
2019-05-01 15:04:48 -06:00
Graham Paye b4feeb6188
setup windows builds to track google-cloud-ruby (#209) 2019-04-04 13:20:58 -07:00
Yasuo Honda 9ca53d24ff Bump the minimum supported Ruby version from 1.9 to 2.3 (#208) 2019-04-04 10:21:27 -07:00
Daniel Azuma c0f3b70072
Release google-auth-library-ruby 0.8.1 (#207) 2019-03-27 11:46:30 -07:00
igorpeshansky 23f9b5071f Treat empty credentials environment variables as unset. (#205) 2019-03-27 10:55:08 -07:00
Graham Paye 43ebe19be9
pull build scripts from google-cloud-ruby (#206) 2019-03-22 12:37:06 -07:00
Graham Paye bf822910fa
add google-style and refactor (#203) 2019-03-15 12:34:54 -07:00
Graham Paye 1c64927249
update ci rubies (#204) 2019-03-14 22:29:42 -07:00
Graham Paye f1600d9d43
add ruby 2.6.1 (#201) 2019-03-05 15:07:49 -08:00
Graham Paye 0d25f3a10f
prepare for autorelease (#199) 2019-02-27 08:06:41 -08:00
Graham Paye 4831d41d73
prepare for autorelease (#197) 2019-02-22 10:38:05 -08:00
Graham Paye d765472f35
switch gcloud command to IO.popen from backticks (#194) 2019-02-21 14:38:34 -08:00
Graham Paye e6a8fed091
remove travis and add 2.6 to list of rubies to test against (#191) 2019-01-30 14:02:27 -08:00
Alex Filatov b4516ab3d1 Add example for auth with ENV vars (#156) 2019-01-22 11:44:56 -08:00
Daniel Azuma a07011bb45
Loosen bundler dependency to fix travis 2019-01-04 14:07:50 -08:00
Daniel Azuma 6fa73a25a9
Fix bundler gem name and pin to 1.17.3 2019-01-03 23:17:06 -08:00
Daniel Azuma 2db1030634
Pin bundler to 1.17.3 for now when running travis 2019-01-03 23:05:11 -08:00
Daniel Azuma f4db84ea79
Update version and changelog for 0.8.0 release (#188) 2019-01-02 17:00:32 -08:00
Daniel Azuma f0b95e72f9
Support configuration of the connection object used to fetch tokens (#185) 2019-01-02 14:42:42 -08:00
Mike Moore dc8b127549
Remove warning while looking up project_id (#184) 2018-12-27 16:09:51 -07:00
Graham Paye 8894a08470
use newest ruby versions for kokoro (#172) 2018-11-08 11:00:23 -08:00
Justin Beckwith ed7172026a
Update github issue templates (#173) 2018-11-07 15:08:19 -08:00
Graham Paye 0d2becbdcd
make load_gcloud_project_id module function (#170) 2018-10-26 12:17:12 -07:00
Graham Paye f0b0c6f8e8
Add project_id instance variable (#167) 2018-10-24 09:23:37 -07:00
Graham Paye 818a031f5a
update version number and changelog (#166) 2018-10-18 12:26:11 -07:00
Matt Sanford 3802390e70 Upgrade Memoist (#165) 2018-10-16 12:08:58 -07:00
Graham Paye 7e42656b1c
make tests windows friendly (#164) 2018-10-10 18:23:50 -07:00
Graham Paye 6d9d63be3e
add initial kokoro configs (#163) 2018-10-09 11:30:25 -07:00
Graham Paye 6f6b25ba18
remove ruby version warnings (#161) 2018-08-23 11:55:35 -07:00
Graham Paye b5d73a84a4
Warn on EOL Ruby Versions (#159) 2018-08-20 15:52:23 -07:00
Graham Paye b03268d33f
update version and changelog (#158) 2018-08-16 12:14:18 -07:00
Tadas Tamošauskas e521abd799 Fix auth token revocation (#157) 2018-08-15 12:50:16 -07:00
Graham Paye 9b49da35b6
fix CLIENT_ID_VAR reference in DefaultCredentials (#154)
* fix CLIENT_ID_VAR reference in DefaultCredentials
2018-08-06 15:46:03 -07:00
Graham Paye 42b1b6eb53
remove garbage text from changelog (#151) 2018-08-02 12:38:47 -07:00
TheRoyalTnetennba 3dd6c0a6b5 Release v0.6.3 2018-08-02 11:55:24 -07:00
Daniel Azuma d1ba5e95a7
Fix sdk credentials warning (#148) 2018-08-02 09:11:52 -07:00
Graham Paye fed63c003f
remove redundant line (#150) 2018-08-01 18:24:29 -07:00
Graham Paye 41a8297780
remove redunant line (#149) 2018-08-01 18:21:20 -07:00
Thea Flowers af69fc5347 Use new auth URIs (#147) 2018-08-01 13:42:29 -07:00
Graham Paye 5f714d44c5
moved logging dependency to developer 2018-07-31 11:20:36 -07:00
Graham Paye 5d42d3b4be
Warn when using cloud sdk credentials (#145)
* Issue warning when cloud sdk credentials are used.
2018-07-18 13:54:03 -07:00
Kevin Deisz 85808dbaf6 Update os gem dependency (#139)
* Update os gem dependency
2018-07-16 08:40:51 -07:00
Ryan T. Hosford 114ce8a3b9 Avoids redundant class method definition (#107)
- adds module to provide `read_json_key` class method
    to multiple classes
2018-07-13 12:41:10 -07:00