From f84a8c8d947929b73b2e57b47cd453f75f8653ef Mon Sep 17 00:00:00 2001 From: Jose Hales-Garcia Date: Sat, 30 Sep 2023 19:47:19 -0700 Subject: [PATCH] Add link to source code Having the source code link on the RubyGems page is useful. This commit adds the source code link to the gemspec file, so that it appears on fraction_tree's RubyGems page. --- fraction_tree.gemspec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/fraction_tree.gemspec b/fraction_tree.gemspec index e5fbd1b..9c07bdf 100644 --- a/fraction_tree.gemspec +++ b/fraction_tree.gemspec @@ -2,12 +2,15 @@ require "date" Gem::Specification.new do |spec| spec.name = "fraction-tree" - spec.version = "0.1.0" + spec.version = "0.1.1" spec.summary = "Fraction tree" spec.description = "A collection of Stern-Brocot based models and methods" spec.authors = ["Jose Hales-Garcia"] spec.email = "jose@halesgarcia.com" spec.homepage = "https://jolohaga.github.io/fraction-tree/" + spec.metadata = { + "source_code_uri" => "https://github.com/jolohaga/fraction-tree" + } spec.files = Dir.glob("lib/**/*") spec.add_runtime_dependency "continued_fractions", ["~> 1.8"] spec.add_development_dependency "rspec", ["~> 3.2"]