Skip to content

Commit

Permalink
Add gemspec metadata for all gems (#619)
Browse files Browse the repository at this point in the history
In trying to get to the repository for bridgetown, I noticed that the
main gem didn't have metadata set up for RubyGems.org. This change adds
the same metadata from `bridgetown-core` to all four other gems in the
repository to make it easier to get to the source code and other areas.
  • Loading branch information
michaelherold authored Sep 10, 2022
1 parent b875210 commit a84f664
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 0 deletions.
7 changes: 7 additions & 0 deletions bridgetown-builder/bridgetown-builder.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,12 @@ Gem::Specification.new do |spec|
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r!^(test|script|spec|features)/!) }
spec.require_paths = ["lib"]

spec.metadata = {
"source_code_uri" => "https://github.com/bridgetownrb/bridgetown",
"bug_tracker_uri" => "https://github.com/bridgetownrb/bridgetown/issues",
"changelog_uri" => "https://github.com/bridgetownrb/bridgetown/releases",
"homepage_uri" => spec.homepage,
}

spec.add_dependency("bridgetown-core", Bridgetown::VERSION)
end
7 changes: 7 additions & 0 deletions bridgetown-paginate/bridgetown-paginate.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,12 @@ Gem::Specification.new do |spec|
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r!^(test|script|spec|features)/!) }
spec.require_paths = ["lib"]

spec.metadata = {
"source_code_uri" => "https://github.com/bridgetownrb/bridgetown",
"bug_tracker_uri" => "https://github.com/bridgetownrb/bridgetown/issues",
"changelog_uri" => "https://github.com/bridgetownrb/bridgetown/releases",
"homepage_uri" => spec.homepage,
}

spec.add_dependency("bridgetown-core", Bridgetown::VERSION)
end
7 changes: 7 additions & 0 deletions bridgetown-routes/bridgetown-routes.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,13 @@ Gem::Specification.new do |spec|
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r!^(test|script|spec|features)/!) }
spec.require_paths = ["lib"]

spec.metadata = {
"source_code_uri" => "https://github.com/bridgetownrb/bridgetown",
"bug_tracker_uri" => "https://github.com/bridgetownrb/bridgetown/issues",
"changelog_uri" => "https://github.com/bridgetownrb/bridgetown/releases",
"homepage_uri" => spec.homepage,
}

spec.add_dependency("bridgetown-core", Bridgetown::VERSION)
spec.add_dependency("roda-route_list", ">= 2.1")
end
7 changes: 7 additions & 0 deletions bridgetown/bridgetown.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,13 @@ Gem::Specification.new do |s|
s.test_files = `git ls-files -z -- {fixtures,features}/*`.split("\0")
s.require_path = "lib"

s.metadata = {
"source_code_uri" => "https://github.com/bridgetownrb/bridgetown",
"bug_tracker_uri" => "https://github.com/bridgetownrb/bridgetown/issues",
"changelog_uri" => "https://github.com/bridgetownrb/bridgetown/releases",
"homepage_uri" => s.homepage,
}

s.required_ruby_version = ">= 2.7.0"

s.add_dependency("bridgetown-core", Bridgetown::VERSION)
Expand Down

0 comments on commit a84f664

Please sign in to comment.