From 0d86644abe97f2b5d2ea930547d18674e8bf1f01 Mon Sep 17 00:00:00 2001 From: Jeremy Daer Date: Sat, 22 Aug 2026 02:17:26 -0700 Subject: [PATCH] Drop gemspec attributes removed in RubyGems 4 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `Gem::Specification#has_rdoc=` no longer exists, so loading this gemspec raises on Ruby 4 and every Bundler resolution that touches this gem fails: Bundler::GemspecError: There was an error while loading `resque-pause.gemspec`: undefined method 'has_rdoc=' for an instance of Gem::Specification That has been breaking Launchpad's Dependabot runs since June — no gem updates at all, security ones included. `rubyforge_project` is still tolerated by RubyGems 4, but RubyForge shut down in 2014. Removed alongside as cleanup. Verified under ruby 4.0.6: `Gem::Specification.load` returns the spec and `gem build` succeeds. --- resque-pause.gemspec | 3 --- 1 file changed, 3 deletions(-) diff --git a/resque-pause.gemspec b/resque-pause.gemspec index 9b839f2..39ecfac 100644 --- a/resque-pause.gemspec +++ b/resque-pause.gemspec @@ -17,13 +17,10 @@ The job finish the process it are doing and don't get a new task to do, until the queue is released. You can use this functionality to do some maintenance whithout kill workers, for example.} - s.rubyforge_project = "resque-pause" - s.files = `git ls-files`.split("\n") 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.has_rdoc = false s.add_dependency('resque', '>= 1.9.10') s.add_dependency('multi_json', '~> 1.0')