Ivan Giuliani ae590c4712
[Ruby] Add support for populating a gem metadata (#16872)
* [Ruby] Add support for gems metadata

This defaults to an empty hash, but can be overridden with any custom
object by the callers via the `gemMetadata` property.

* Regenerate samples

The gemspecs files will now include a metadata field
2023-10-23 22:05:19 +08:00

40 lines
1.0 KiB
Ruby

# -*- encoding: utf-8 -*-
=begin
#Echo Server API
#Echo Server API
The version of the OpenAPI document: 0.1.0
Contact: team@openapitools.org
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 7.1.0-SNAPSHOT
=end
$:.push File.expand_path("../lib", __FILE__)
require "openapi_client/version"
Gem::Specification.new do |s|
s.name = "openapi_client"
s.version = OpenapiClient::VERSION
s.platform = Gem::Platform::RUBY
s.authors = ["OpenAPI-Generator"]
s.email = ["team@openapitools.org"]
s.homepage = "https://openapi-generator.tech"
s.summary = "Echo Server API Ruby Gem"
s.description = "Echo Server API"
s.license = "Unlicense"
s.required_ruby_version = ">= 2.7"
s.metadata = {}
s.add_runtime_dependency 'httpx', '~> 1.0', '>= 1.0.0'
s.add_development_dependency 'rspec', '~> 3.6', '>= 3.6.0'
s.files = `find *`.split("\n").uniq.sort.select { |f| !f.empty? }
s.test_files = `find spec/*`.split("\n")
s.executables = []
s.require_paths = ["lib"]
end