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

Remove not needed google-cloud dependency (see #328) and correct GCP … #329

Merged
merged 1 commit into from
Aug 1, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/train/transports/gcp.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ def initialize(options)
super(options)

# additional GCP platform metadata
release = Gem.loaded_specs['google_cloud']
@platform_details = { release: "google-cloud-v#{release}" }
release = Gem.loaded_specs['google-api-client'].version
@platform_details = { release: "google-api-client-v#{release}" }

# Initialize the client object cache
@cache_enabled[:api_call] = true
Expand Down
1 change: 0 additions & 1 deletion train.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ Gem::Specification.new do |spec|
spec.add_dependency 'azure_mgmt_resources', '~> 0.15'
spec.add_dependency 'google-api-client', '~> 0.19.8'
spec.add_dependency 'googleauth', '~> 0.6.2'
spec.add_dependency 'google-cloud', '~> 0.51.1'
spec.add_dependency 'inifile'

spec.add_development_dependency 'mocha', '~> 1.1'
Expand Down