Commit Graph

123 Commits

Author SHA1 Message Date
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
murgatroid99 6991904343 Use lowercase :authorization for metadata key 2016-01-05 13:58:50 -08:00
Tim Emiola 642a70f8fa Merge pull request #56 from vsubramani/master
Fix for ADC not working on some windows machines
2016-01-04 08:25:38 -08:00
Vijay Subramani 0be20dd5a3 Update googleauth.gemspec 2015-12-31 15:50:45 -08:00
Vijay Subramani ec7e118248 Update credentials_loader.rb 2015-12-31 15:48:39 -08:00
Tim Emiola c75d7398ff Merge pull request #54 from sqrrrl/0.5-dev
Prep for 0.5 release
2015-12-11 21:49:03 -08:00
Steven Bazyl 9be6475adb Update how RBX exclusion is specified 2015-12-11 14:59:08 -08:00
Steven Bazyl b78ebc4ab8 Remove blank link to appease rubocop 2015-12-11 12:39:43 -08:00
Steven Bazyl ebdc177aeb Remove dead codeblock leftover after moving to webmock, enable coverage output locally 2015-12-11 12:10:50 -08:00
Steven Bazyl 9b34943655 Fix rubocop errors with line length 2015-12-10 12:47:13 -08:00
Steven Bazyl b46a7dc82c Prep for 0.5 release, update unit tests to use webmock instead of Faraday stubs (due to fragility -- sensitive to internal changes made in signet) 2015-12-09 15:45:22 -08:00
Steve Bazyl 273be13333 Fix CLI snippet in class docs
Snippet was slightly outdated, based on an earlier revision.
2015-11-19 13:09:59 -08:00
Tim Emiola 2be5bfe375 Merge pull request #51 from sqrrrl/master
Round 2 of 3LO support - web flow
2015-11-12 09:48:14 -08:00
Steven Bazyl 8ac3dcff8f Preload multijson adapter to avoid loading adapter while FakeFS enabled 2015-11-11 15:50:17 -08:00
Steven Bazyl 44ab4cdd56 Merge branch 'web' 2015-11-11 09:18:03 -08:00
Tim Emiola 1e9244689e Merge pull request #50 from sqrrrl/master
Base version of 3LO support.
2015-11-11 08:38:49 -08:00
Steven Bazyl d1bec630c4 Allow rbx failures due to rubocop crash. See rubinius/rubinius#3485 2015-10-14 16:36:29 -07:00
Steven Bazyl cdc12a2c08 3LO support round 2 - web support 2015-10-14 14:26:21 -07:00
Steven Bazyl e903a12563 Base version of 3LO support. 2015-10-14 13:54:03 -07:00
Tim Emiola 5cae4f7988 Merge pull request #47 from igrep/patch-1
fix typo of a contributor's name
2015-08-10 20:06:44 -07:00
Yuji Yamamoto 7e76b14a68 fix typo of a contributor's name 2015-08-11 11:59:50 +09:00
Tim Emiola 38bd991ac7 Merge pull request #45 from tbetbetbe/ruby-auth-release-0.4.2
Ruby auth release 0.4.2
2015-08-06 12:57:36 -07:00
Tim Emiola 2c76946922 Updates the changelog and version 2015-08-06 12:50:23 -07:00
Tim Emiola 19b32b47d8 Fixes styles issues before releasing
- also update .travis.yml to use new infrastructure
2015-08-06 12:50:23 -07:00
Tim Emiola 1463e5f5f9 Merge pull request #33 from mr-salty/add-system-default-creds-path
Add support for a system default credentials file.
2015-07-10 15:08:19 +02:00
Tim Emiola 4c057404e6 Merge pull request #35 from mr-salty/fix-env-var-test
Fix a failing test introduced in #28.
2015-07-10 14:01:40 +02:00
Tim Emiola caed076711 Merge pull request #34 from mr-salty/fix-raise-error
Fix 'raise_error' WARNINGs.
2015-07-07 15:25:14 +01:00
Tim Emiola 900d74729c Merge pull request #31 from dwilkie/load_credentials_from_env
Fix bug when loading credentials from ENV
2015-07-07 15:24:41 +01:00
Todd Derr b31df0caaa Fix rubocop errors (long line wrapping). 2015-06-30 17:47:16 -04:00
Todd Derr f0de3295fc Fix some issues discovered by rubocop.
fix failures due to:
- misformatting of wrapped lines
- a superflous block (and temp dir creation) due to overzealous cut & paste.
2015-06-30 17:42:30 -04:00
Todd Derr 883fb14147 Fix a failing test introduced in #28.
The environment variables in the 'fails if env vars are set' test
were not actually being set because they used a nonexistent hash key
(which has the effect of unsetting the environment variable).
2015-06-29 17:01:19 -04:00
Todd Derr c04e91569d Eliminate a new 'raise_error' WARNING.
I have another outstanding PR to fix these; so avoid introducing
another one here.
2015-06-29 16:56:42 -04:00
Todd Derr 60a079a41e Fix 'raise_error' WARNINGs.
rspec spews a warning when using raise_error without a specific error;
add "RuntimeError" to all of these occurrences.
2015-06-29 16:50:55 -04:00
Todd Derr 86de5fe13b Add support for a system default credentials file.
The path is:
  - windows: %ProgramData%\Google\Auth\application_default_credentials.json
  - other: /etc/google/auth/application_default_credentials.json
2015-06-29 16:35:45 -04:00
David Wilkie 15fbf92199 Fix bug where loading credentials from ENV doesn't set the credentials in the UserRefreshCredentials 2015-06-26 14:31:09 +07:00
Tim Emiola dc12124faf Merge pull request #30 from igrep/relax_multi_json
relax the constraint of dependent version of multi_json
2015-06-15 09:23:15 -07:00