diff options
author | Alexander Popov <alex.wayfer@gmail.com> | 2023-02-26 03:36:34 +0300 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2023-03-01 23:42:47 +0000 |
commit | 932c0e77ee8aceeb9f4e42dcc30836466bb06b08 (patch) | |
tree | 3799f87a333af224c5eae5795fe82dae52ecbf24 /lib/uri | |
parent | 57e6d664506c58b8f13ca61a0f8c5fbb3889c253 (diff) | |
download | ruby-932c0e77ee8aceeb9f4e42dcc30836466bb06b08.tar.gz |
[ruby/uri] Remake `metadata` object in `gemspec` into one assignment
https://github.com/ruby/uri/commit/19a19ccde6
Diffstat (limited to 'lib/uri')
-rw-r--r-- | lib/uri/uri.gemspec | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/uri/uri.gemspec b/lib/uri/uri.gemspec index 1c900830ef..95c128d191 100644 --- a/lib/uri/uri.gemspec +++ b/lib/uri/uri.gemspec @@ -17,9 +17,11 @@ Gem::Specification.new do |spec| spec.required_ruby_version = '>= 2.4' - spec.metadata["homepage_uri"] = spec.homepage - spec.metadata["source_code_uri"] = spec.homepage - spec.metadata["documentation_uri"] = "https://rubydoc.info/gems/uri" + spec.metadata = { + "homepage_uri" => spec.homepage, + "source_code_uri" => spec.homepage, + "documentation_uri" => "https://rubydoc.info/gems/uri" + } # Specify which files should be added to the gem when it is released. # The `git ls-files -z` loads the files in the RubyGem that have been added into git. |