chore: Repurpose release task to release the gem

This commit is contained in:
Daniel Azuma authored and GitHub committed 2020-10-27 11:28:52 -07:00
1 parent bbdc7dec2f
commit a0286c0589
3 files changed
+57 -28

No files matched your search

+25 -25
View File
@@ -2,35 +2,35 @@ lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'google/apis/version'
Gem::Specification.new do |spec|
spec.name = 'google-api-client'
spec.version = Google::Apis::VERSION
spec.authors = ['Steven Bazyl', 'Tim Emiola', 'Sergio Gomes', 'Bob Aman']
spec.email = ['sbazyl@google.com']
spec.summary = 'Client for accessing Google APIs'
spec.homepage = 'https://github.com/google/google-api-ruby-client'
spec.license = 'Apache-2.0'
spec.metadata = {
Gem::Specification.new do |gem|
gem.name = 'google-api-client'
gem.version = Google::Apis::VERSION
gem.authors = ['Steven Bazyl', 'Tim Emiola', 'Sergio Gomes', 'Bob Aman']
gem.email = ['sbazyl@google.com']
gem.summary = 'Client for accessing Google APIs'
gem.homepage = 'https://github.com/google/google-api-ruby-client'
gem.license = 'Apache-2.0'
gem.metadata = {
"documentation_uri" => "https://googleapis.dev/ruby/google-api-client/v#{Google::Apis::VERSION}"
}
spec.files = `git ls-files -z`
.split("\x0")
.reject { |f| f.match(%r{^(spec|script)/|^api_names_out|synth\.metadata}) }
gem.files = `git ls-files -z`
.split("\x0")
.reject { |f| f.match(%r{^(spec|script)/|^api_names_out|synth\.metadata}) }
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.require_paths = %w[lib generated]
gem.executables = gem.files.grep(%r{^bin/}) { |f| File.basename(f) }
gem.require_paths = %w[lib generated]
spec.required_ruby_version = '>= 2.4'
gem.required_ruby_version = '>= 2.4'
spec.add_runtime_dependency 'representable', '~> 3.0'
spec.add_runtime_dependency 'retriable', '>= 2.0', '< 4.0'
spec.add_runtime_dependency 'addressable', '~> 2.5', '>= 2.5.1'
spec.add_runtime_dependency 'mini_mime', '~> 1.0'
spec.add_runtime_dependency 'signet', '~> 0.12'
spec.add_runtime_dependency 'googleauth', '~> 0.9'
spec.add_runtime_dependency 'httpclient', '>= 2.8.1', '< 3.0'
spec.add_runtime_dependency 'rexml'
spec.add_development_dependency 'thor', '~> 0.19'
spec.add_development_dependency 'activesupport', '>= 4.2', '< 5.1'
gem.add_runtime_dependency 'representable', '~> 3.0'
gem.add_runtime_dependency 'retriable', '>= 2.0', '< 4.0'
gem.add_runtime_dependency 'addressable', '~> 2.5', '>= 2.5.1'
gem.add_runtime_dependency 'mini_mime', '~> 1.0'
gem.add_runtime_dependency 'signet', '~> 0.12'
gem.add_runtime_dependency 'googleauth', '~> 0.9'
gem.add_runtime_dependency 'httpclient', '>= 2.8.1', '< 3.0'
gem.add_runtime_dependency 'rexml'
gem.add_development_dependency 'thor', '~> 0.19'
gem.add_development_dependency 'activesupport', '>= 4.2', '< 5.1'
end