0.01
A long-lived project that still receives updates
Automatically modernize parts of your project/gem.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Runtime

>= 0
>= 0
~> 0.13
>= 0
 Project Readme

Bake Modernize

A gem for modernizing files in your Ruby project.

Development Status

Usage

Please see the project documentation for more details.

  • Getting Started - This guide explains how to update a Ruby gem with bake-modernize, review the generated changes, and optionally migrate to releases through GitHub.

Releases

Please see the project releases for all releases.

v0.66.0

  • Remove certificate signing tasks and gemspec settings. GitHub releases use Trusted Publishing and attestations without a separate RubyGems signing key.

v0.64.0

  • Prefer the configured signing owner or GitHub owner when selecting RubyGems signing certificates and private keys.

v0.62.0

  • Refresh license.md and Ruby copyright headers with modernize:license after version increments in generated release hooks.

v0.61.0

  • Provide agent context for updating gems and configuring GitHub releases.
  • Ignore [bot] authors in copyright attributions and gem authors.
  • Add opt-in modernize:releases:github migration and omit redundant publishing hooks for gems using bake-gem-github.

v0.60.0

  • Ignore /vendor/bundle by default for dependencies installed by GitHub Actions' Bundler cache.

v0.54.1

  • Better version.rb detection in modernize:gemspec.

v0.53.0

  • Make modernize:releases part of the default modernize task.

v0.52.0

  • Add support for automatic GitHub release generation.

v0.43.0

  • Improved copilot instructions for using agent context.

v0.33.0

  • Add modernize:releases to add release notes.

Contributing

We welcome contributions to this project.

  1. Fork the repository.
  2. Create your feature branch (git checkout -b my-new-feature).
  3. Commit your changes (git commit -am 'Add some feature.').
  4. Push to the branch (git push origin my-new-feature).
  5. Create a new pull request.

Running Tests

To run the test suite:

$ bundle exec sus

Making Releases

To prepare a release branch and open a pull request from an up-to-date main:

$ bundle exec bake gem:github:release:patch # or minor or major

See bake-gem-github for setup, remote releases, and recovery.

Developer Certificate of Origin

In order to protect users of this project, we require all contributors to comply with the Developer Certificate of Origin. This ensures that all contributions are properly licensed and attributed.

Community Guidelines

This project is best served by a collaborative and respectful environment. Treat each other professionally, respect differing viewpoints, and engage constructively. Harassment, discrimination, or harmful behavior is not tolerated. Communicate clearly, listen actively, and support one another. If any issues arise, please inform the project maintainers.