From 5de5314b4b151b7164ab031e3e29e0e91e36ceb7 Mon Sep 17 00:00:00 2001 From: Mark Young Date: Tue, 31 Dec 2024 16:27:17 +0000 Subject: [PATCH 1/2] Provide a 'Changelog' link on rubygems.org/gems/asset_sync By providing a 'changelog_uri' in the metadata of the gemspec a 'Changelog' link will be shown on https://rubygems.org/gems/asset_sync which makes it quick and easy for someone to check on the changes introduced with a new version. Details of this functionality can be found on https://guides.rubygems.org/specification-reference/#metadata --- asset_sync.gemspec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/asset_sync.gemspec b/asset_sync.gemspec index 9b98442..32988c9 100644 --- a/asset_sync.gemspec +++ b/asset_sync.gemspec @@ -39,4 +39,6 @@ Gem::Specification.new do |s| s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n") s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) } s.require_paths = ["lib"] + + s.metadata["changelog_uri"] = s.homepage + "/blob/master/CHANGELOG.md" end From 180da16c259e7f593c82c046ea70e111260c204b Mon Sep 17 00:00:00 2001 From: Mark Young Date: Thu, 2 Jan 2025 09:13:26 +0000 Subject: [PATCH 2/2] Update homepage URL --- asset_sync.gemspec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/asset_sync.gemspec b/asset_sync.gemspec index 32988c9..f1f4dce 100644 --- a/asset_sync.gemspec +++ b/asset_sync.gemspec @@ -9,7 +9,7 @@ Gem::Specification.new do |s| s.platform = Gem::Platform::RUBY s.authors = ["Simon Hamilton", "David Rice", "Phil McClure", "Toby Osbourn"] s.email = ["shamilton@rumblelabs.com", "me@davidjrice.co.uk", "pmcclure@rumblelabs.com", "tosbourn@rumblelabs.com"] - s.homepage = "https://github.com/rumblelabs/asset_sync" + s.homepage = "https://github.com/AssetSync/asset_sync" s.summary = %q{Synchronises Assets in a Rails 3 application and Amazon S3/Cloudfront and Rackspace Cloudfiles} s.description = %q{After you run assets:precompile your compiled assets will be synchronised with your S3 bucket.} @@ -40,5 +40,5 @@ Gem::Specification.new do |s| s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) } s.require_paths = ["lib"] - s.metadata["changelog_uri"] = s.homepage + "/blob/master/CHANGELOG.md" + s.metadata["changelog_uri"] = "#{s.homepage}/blob/master/CHANGELOG.md" end