Skip to content

Commit

Permalink
Relax googleauth versions (#333)
Browse files Browse the repository at this point in the history
* Relax googleauth versions
* Update tests
  • Loading branch information
stefanmb committed Oct 18, 2018
1 parent 58890c9 commit d1034ec
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion kubernetes-deploy.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
spec.required_ruby_version = '>= 2.3.0'
spec.add_dependency "activesupport", ">= 5.0"
spec.add_dependency "kubeclient", "~> 3.0"
spec.add_dependency "googleauth", "= 0.6.2" # https://github.com/google/google-auth-library-ruby/issues/153
spec.add_dependency "googleauth", "~> 0.6.6" # https://github.com/google/google-auth-library-ruby/issues/153
spec.add_dependency "ejson", "~> 1.0"
spec.add_dependency "colorize", "~> 0.8"
spec.add_dependency "statsd-instrument", "~> 2.2"
Expand Down
4 changes: 2 additions & 2 deletions test/unit/kubernetes-deploy/google_friendly_config_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def teardown
def test_auth_use_default_gcp_success
config = KubernetesDeploy::KubeclientBuilder::GoogleFriendlyConfig.new(kubeconfig, "")

stub_request(:post, 'https://www.googleapis.com/oauth2/v4/token')
stub_request(:post, 'https://oauth2.googleapis.com/token')
.to_return(
headers: { 'Content-Type' => 'application/json' },
body: {
Expand All @@ -33,7 +33,7 @@ def test_auth_use_default_gcp_success
def test_auth_use_default_gcp_failure
config = KubernetesDeploy::KubeclientBuilder::GoogleFriendlyConfig.new(kubeconfig, "")

stub_request(:post, 'https://www.googleapis.com/oauth2/v4/token')
stub_request(:post, 'https://oauth2.googleapis.com/token')
.to_return(
headers: { 'Content-Type' => 'application/json' },
body: '',
Expand Down

0 comments on commit d1034ec

Please sign in to comment.