Sha256: 79206f9c24a62fb0d857d7be6c4f623f85ce218186ca026750eb41c8c687d93c

Contents?: true

Size: 1.76 KB

Versions: 2

Compression:

Stored size: 1.76 KB

Contents

require File.expand_path("lib/<%= api.base_path %>/gem_version", __dir__)
gem_version = <%= api.qualified_name %>::GEM_VERSION

Gem::Specification.new do |gem|
  gem.name = "<%= api.gem_name %>"
  gem.version = gem_version
  gem.authors = ["Google LLC"]
  gem.email = "googleapis-packages@google.com"
  gem.summary = "Simple REST client for <%= api.title %> <%= api.version %>"
  gem.description =
      "This is the simple REST client for <%= api.title %> <%= api.version %>." \
      " Simple REST clients are Ruby client libraries that provide access to" \
      " Google services via their HTTP REST API endpoints. These libraries are" \
      " generated and updated automatically based on the discovery documents" \
      " published by the service, and they handle most concerns such as" \
      " authentication, pagination, retry, timeouts, and logging. You can use" \
      " this client to access the <%= api.title %>, but note that some" \
      " services may provide a separate modern client that is easier to use."
  gem.homepage = "https://github.com/google/google-api-ruby-client"
  gem.license = "Apache-2.0"
  gem.metadata = {
    "bug_tracker_uri" => "https://github.com/googleapis/google-api-ruby-client/issues",
    "changelog_uri" => "https://github.com/googleapis/google-api-ruby-client/tree/main/generated/<%= api.gem_name %>/CHANGELOG.md",
    "documentation_uri" => "https://googleapis.dev/ruby/<%= api.gem_name %>/v#{gem_version}",
    "source_code_uri" => "https://github.com/googleapis/google-api-ruby-client/tree/main/generated/<%= api.gem_name %>"
  }

  gem.files = Dir.glob("lib/**/*.rb") + Dir.glob("*.md") + [".yardopts"]
  gem.require_paths = ["lib"]

  gem.required_ruby_version = '>= 2.5'
  gem.add_runtime_dependency "google-apis-core", ">= 0.12.0", "< 2.a"
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
google-apis-generator-0.13.1 lib/google/apis/generator/templates/gemspec.tmpl
google-apis-generator-0.13.0 lib/google/apis/generator/templates/gemspec.tmpl