From b8c80e71a5419d507b7b47abd547d4f5656ac049 Mon Sep 17 00:00:00 2001 From: Peter Boling Date: Thu, 5 Sep 2024 03:35:50 -0600 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20Include=20documentation=20files?= =?UTF-8?q?=20with=20release?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- open_id_authentication2.gemspec | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/open_id_authentication2.gemspec b/open_id_authentication2.gemspec index f06e826..cf6f6be 100644 --- a/open_id_authentication2.gemspec +++ b/open_id_authentication2.gemspec @@ -21,13 +21,26 @@ Gem::Specification.new do |spec| # Splats (alphabetical) "lib/**/*.rb", # Files (alphabetical) + "CHANGELOG.md", + "CODE_OF_CONDUCT.md", + "CONTRIBUTING.md", "LICENSE.txt", "README.md", + "SECURITY.md" ] - - spec.license = "MIT" + spec.executables = spec.files.grep(%r{^bin/}).map { |f| File.basename(f) } + spec.licenses = ["MIT"] + spec.require_paths = ["lib"] spec.required_ruby_version = ">= 2.7.0" + spec.metadata["homepage_uri"] = spec.homepage + spec.metadata["source_code_uri"] = "#{spec.homepage}/tree/v#{spec.version}" + spec.metadata["changelog_uri"] = "#{spec.homepage}/blob/v#{spec.version}/CHANGELOG.md" + spec.metadata["bug_tracker_uri"] = "#{spec.homepage}/issues" + spec.metadata["documentation_uri"] = "https://www.rubydoc.info/gems/#{spec.name}/#{spec.version}" + spec.metadata["wiki_uri"] = "#{spec.homepage}/wiki" + spec.metadata["rubygems_mfa_required"] = "true" + spec.add_dependency("rack-openid2", "~> 2.0", ">= 2.0.1") spec.add_dependency("version_gem", "~> 1.1", ">= 1.1.4")