templates/cloud/wrapper_gem/gemspec.erb in gapic-generator-cloud-0.5.1 vs templates/cloud/wrapper_gem/gemspec.erb in gapic-generator-cloud-0.6.0
- old
+ new
@@ -11,22 +11,21 @@
gem.authors = <%= gem.authors.inspect %>
gem.email = <%= gem.email.inspect %>
gem.description = <%= gem.description.inspect %>
gem.summary = <%= gem.summary.inspect %>
gem.homepage = <%= gem.homepage.inspect %>
- gem.license = "Apache-2.0"
+ gem.license = <%= gem.license_name.inspect %>
gem.platform = Gem::Platform::RUBY
gem.files = `git ls-files -- lib/*`.split("\n") +
<%= gem.extra_files.inspect %>
gem.require_paths = ["lib"]
gem.required_ruby_version = ">= 2.4"
- gem.add_dependency "google-cloud-core", "~> 1.5"
- <%- gem.gem_version_dependencies.each do |name, requirement| -%>
- gem.add_dependency "<%= name %>", "~> <%= requirement %>"
+ <%- gem.dependency_list.each do |name, requirements| -%>
+ gem.add_dependency <%= name.inspect %>, <%= requirements.map { |v| v.inspect }.join ", " %>
<%- end -%>
gem.add_development_dependency "google-style", "~> 1.24.0"
gem.add_development_dependency "minitest", "~> 5.14"
gem.add_development_dependency "minitest-focus", "~> 1.1"