Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enables passing credentials via environment variables instead of json file #28

Merged
merged 1 commit into from
Jun 9, 2015
Merged

Enables passing credentials via environment variables instead of json file #28

merged 1 commit into from
Jun 9, 2015

Commits on May 21, 2015

  1. Enables reading credentials from env vars.

    - ServiceAccountCredentials, ServiceAccountJwtHeaderCredentials
    and UserRefreshCredentials initializers now take keyword args
    via options hash.
    
    - In `credentials_loader.rb`, refactored env var checking into
    private methods
    
    - Updated tests & added new tests.
    
    - Fixed existing test for #from_well_known_path 'fails if
    the file is invalid', where `from_env` was called instead of
    `from_well_known_path`.
    
    - Fixed rubocop errors I introduced, but two existing ones remain.
    
    - Added entry to changelog.
    
    - Fixed rubocop errors from code containing parallel assignments
    
    - Updated rubocop_todo.yml to ignore parallel assignments and
    trailing underscore assignments.
    Herbert Siojo committed May 21, 2015
    5 Configuration menu
    Copy the full SHA
    5061fb5 View commit details
    Browse the repository at this point in the history