Skip to content

Commit

Permalink
Merge pull request #359 from ydah/gemspec
Browse files Browse the repository at this point in the history
Organize gemspec
  • Loading branch information
yui-knk authored Jan 28, 2024
2 parents ac8cefe + 7013ef1 commit 5561e09
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions lrama.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,13 @@ Gem::Specification.new do |spec|
spec.files = Dir.chdir(File.expand_path(__dir__)) do
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{\A(?:test|spec|features)/}) }
end
spec.metadata = {
"bug_tracker_uri" => "https://github.com/ruby/lrama/issues",
"changelog_uri" => "https://github.com/ruby/lrama/releases",
"source_code_uri" => "https://github.com/ruby/lrama"
}

spec.metadata["homepage_uri"] = spec.homepage
spec.metadata["source_code_uri"] = spec.homepage
spec.metadata["documentation_uri"] = spec.homepage
spec.metadata["changelog_uri"] = "#{spec.homepage}/releases"
spec.metadata["bug_tracker_uri"] = "#{spec.homepage}/issues"

spec.bindir = "exe"
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]
Expand Down

0 comments on commit 5561e09

Please sign in to comment.