[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
This commit is contained in:
Ivan Giuliani
2023-10-23 15:05:19 +01:00
committed by GitHub
parent f16744a2bb
commit ae590c4712
13 changed files with 26 additions and 0 deletions

View File

@@ -26,6 +26,7 @@ Gem::Specification.new do |s|
s.description = "This specification shows how to generate aliases to maps and arrays as models."
s.license = "Unlicense"
s.required_ruby_version = ">= 2.7"
s.metadata = {}
s.add_runtime_dependency 'typhoeus', '~> 1.0', '>= 1.0.1'