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
Shiyason
cd2e0cf3f1
Update README.md ( #141 )
...
Add instructions for environment variables.
2018-07-12 12:20:30 -07:00
Thea Flowers
b18bf2683a
Add Code of Conduct
2018-07-02 12:48:13 -07:00
Kazuhiro Serizawa
edaa784d3d
Avoid memoizing network-related false negatives of GCECredentials.on_gce? ( #137 )
2018-06-05 15:20:36 -07:00
Daniel Azuma
9232aa3176
Unescape private_key loaded from ENV ( #132 )
2018-06-05 09:56:48 -07:00
Jacob Geiger
18611aae6e
Merge pull request #127 from blowmage/credentials-default-fix
...
Fix Credentials.default
2017-11-10 15:05:50 -08:00
Mike Moore
9f395a2338
Fix Credentials.default bug
...
If no PATH_ENV_VARS were found Credentials.default would return an empty array.
Update each default lookup method to return nil if no match was found.
Fix call to from_default_paths method, was calling from_default_vars instead.
Add spec coverage for path, json, and default cases.
Add spec coverage for application_default case.
Fix spec coverage to check the return type from calling Credentials.default.
2017-11-10 15:59:34 -07:00
Mike Moore
4c4e6cef21
Add focus config to RSpec
...
This allows us to focus on specs by changing it to fit.
2017-11-10 15:42:48 -07:00
Daniel Azuma
328fed6d63
Bump version and update changelog for 0.6.1 release
2017-10-18 10:43:08 -07:00
Jacob Geiger
63237af001
Update changelog for v0.6.0
2017-10-17 14:33:40 -07:00
Jacob Geiger
d728575980
Bump version to 0.6.0 for release
2017-10-17 14:23:50 -07:00
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