Skip to content

Commit 088d62c

Browse files
committed
Redo Gemspec file
1 parent 52256a2 commit 088d62c

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

secure_headers.gemspec

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,20 @@ Gem::Specification.new do |gem|
1414
including content-security-policy, x-frame-options,
1515
strict-transport-security, etc.'
1616
gem.homepage = "https://github.com/github/secure_headers"
17+
gem.metadata = {
18+
"bug_tracker_uri" => "https://github.com/github/secure_headers/issues",
19+
"changelog_uri" => "https://github.com/github/secure_headers/blob/master/CHANGELOG.md",
20+
"documentation_uri" => "https://rubydoc.info/gems/secure_headers",
21+
"homepage_uri" => gem.homepage,
22+
"source_code_uri" => "https://github.com/github/secure_headers",
23+
"rubygems_mfa_required" => "true",
24+
}
1725
gem.license = "MIT"
18-
gem.files = Dir["bin/**/*", "lib/**/*", "spec/**/*"] + ["README.md", "Gemfile", "Guardfile", "Rakefile", ".rspec", ".rubocop.yml", "secure_headers.gemspec"]
19-
gem.executables = gem.files.grep(%r{^bin/}).map { |f| File.basename(f) }
20-
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
26+
27+
gem.files = Dir["bin/**/*", "lib/**/*", "README.md", "CHANGELOG.md", "LICENSE", "Gemfile", "secure_headers.gemspec"]
2128
gem.require_paths = ["lib"]
29+
30+
gem.extra_rdoc_files = Dir["README.md", "CHANGELOG.md", "LICENSE"]
31+
2232
gem.add_development_dependency "rake"
2333
end

0 commit comments

Comments
 (0)