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

fix(ruby): update gemspec description/ruby version #477

Merged
merged 2 commits into from
Apr 10, 2024
Merged
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
8 changes: 6 additions & 2 deletions templates/api/clients/ruby/client.gemspec.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,18 @@ require_relative 'lib/{{ .Config.Name }}_client/version'
Gem::Specification.new do |spec|
spec.name = "{{ .Config.Name }}_client"
spec.version = {{ title .Config.Name }}Client::VERSION
spec.summary = "ruby client for {{ .Config.Name }} service"
{{- if stencil.Arg "service" }}
spec.summary = "gRPC client for {{ .Config.Name }} service"
{{- else }}
spec.summary = "gRPC types for {{ .Config.Name }}"
{{- end }}
spec.authors = ["{{ stencil.Arg "reportingTeam" }}"]
spec.homepage = "https://github.com/getoutreach/{{ .Config.Name }}"
spec.metadata["homepage_uri"] = spec.homepage
spec.metadata["source_code_uri"] = spec.homepage
spec.metadata["github_repo"] = "ssh://github.com/getoutreach/{{ .Config.Name }}"

spec.required_ruby_version = Gem::Requirement.new(">= 2.7.5")
spec.required_ruby_version = Gem::Requirement.new(">= {{ stencil.Arg "versions.grpcClients.ruby" }}")
yj-yan marked this conversation as resolved.
Show resolved Hide resolved
spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
end
Expand Down