No release in over 3 years
Provides reusable Rake::TaskLib subclasses for upgrading gem dependencies and bumping versions.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Runtime

 Project Readme

Rake::GemMaintenance

Ruby Dependabot

Reusable Rake tasks for gem maintenance: dependency upgrades and version bumps.

Installation

Add to your Gemfile:

gem "rake-gem-maintenance"

Quick Start

Add to your Rakefile for default behavior:

require "rake/gem_maintenance/install_tasks"

This defines:

  • upgrade / upgrade:auto — full upgrade pipeline (branch, update, verify, commit, bump, release, push)
  • upgrade:branch — create upgrade branch
  • upgrade:gems — update rubygems, bundler, and all gems
  • upgrade:commit — commit upgraded Gemfile/Gemfile.lock
  • upgrade:push — push upgrade branch
  • version:bump[type] — bump version (patch/minor/major) and update Gemfile.lock
  • bump[type] — alias for version:bump

Customization

require "rake/gem_maintenance"

Rake::GemMaintenance::UpgradeTask.new do |t|
  t.main_branch = "develop"
  t.upgrade_branch = "chore/upgrade-deps"
  t.commit_message = "chore: upgrade dependencies"
end

Rake::GemMaintenance::VersionBumpTask.new do |t|
  t.default_type = "minor"
end

License

The gem is available as open source under the terms of the MIT License.