From afa088bd3f452fbd7cd665889bcd62fe7e49139e Mon Sep 17 00:00:00 2001 From: Orien Madgwick <_@orien.io> Date: Thu, 12 Dec 2019 08:14:38 +1100 Subject: [PATCH 1/2] Add project metadata to the gemspec As per https://guides.rubygems.org/specification-reference/#metadata, add metadata to the gemspec file. This'll allow people to more easily access the source code, raise issues and read the wiki. These `bug_tracker_uri`, `wiki_uri`, `documentation_uri` and `source_code_uri` links will appear on the rubygems page at https://rubygems.org/gems/parallel_tests and be available via the rubygems API after the next release. --- parallel_tests.gemspec | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/parallel_tests.gemspec b/parallel_tests.gemspec index f3e7bdb1..2b795f42 100644 --- a/parallel_tests.gemspec +++ b/parallel_tests.gemspec @@ -6,6 +6,12 @@ Gem::Specification.new name, ParallelTests::VERSION do |s| s.authors = ["Michael Grosser"] s.email = "michael@grosser.it" s.homepage = "http://github.com/grosser/#{name}" + s.metadata = { + "bug_tracker_uri" => "https://github.com/grosser/#{name}/issues", + "documentation_uri" => "https://github.com/grosser/#{name}/blob/v#{s.version}/Readme.md", + "source_code_uri" => "https://github.com/grosser/#{name}/tree/v#{s.version}", + "wiki_uri" => "https://github.com/grosser/#{name}/wiki", + } s.files = Dir["{lib,bin}/**/*"] + ["Readme.md"] s.license = "MIT" s.executables = ["parallel_spinach", "parallel_cucumber", "parallel_rspec", "parallel_test"] From f14266f3dd0ed770518bb5dfb295cd5e1a6c69fb Mon Sep 17 00:00:00 2001 From: Orien Madgwick <_@orien.io> Date: Thu, 12 Dec 2019 08:15:17 +1100 Subject: [PATCH 2/2] Use TLS for the homepage URI --- parallel_tests.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parallel_tests.gemspec b/parallel_tests.gemspec index 2b795f42..484d4472 100644 --- a/parallel_tests.gemspec +++ b/parallel_tests.gemspec @@ -5,7 +5,7 @@ Gem::Specification.new name, ParallelTests::VERSION do |s| s.summary = "Run Test::Unit / RSpec / Cucumber / Spinach in parallel" s.authors = ["Michael Grosser"] s.email = "michael@grosser.it" - s.homepage = "http://github.com/grosser/#{name}" + s.homepage = "https://github.com/grosser/#{name}" s.metadata = { "bug_tracker_uri" => "https://github.com/grosser/#{name}/issues", "documentation_uri" => "https://github.com/grosser/#{name}/blob/v#{s.version}/Readme.md",