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")