Create a RubyGem 105: Winter 2026 Maintenance Part 1 - Release 0.5.3 @StatelessCode
Create a RubyGem 105: Winter 2026 Maintenance Part 1 - Release 0.5.3  @StatelessCode
Uploaded March 2026 | Updated November 2026, 3 hours ago
Sigh. Missed the gem signing certificate expiration again.

It's time to dust off the NerdDice Ruby Gem and do some annual maintenance. I again missed the gem signing certificate expiration by a few days. There will be two parts to the maintenance this year. The first is just the usual stuff on the 0.5.x stable branch, which is the primary focus of this video. In the next video, we will drop support for some older end-of-life versions of Ruby and release a 0.6.0 of the gem with those new version constraints.

To improve the process, we now have a GitHub Gist (see Resources links below) that details the standard annual maintenance procedures. As per usual, when updating to a new version of RuboCop, there are some ex-post-facto violations that need to be fixed. There are also a couple more dependencies the project relies upon (IRB and Benchmark) that have been moved out of the Ruby standard library and into gems that will need to be accounted for.

This video covers:
0:00:00 Introduction and overview of the GitHub issue
0:02:43 How to find maintenance schedule of Ruby versions and discussion of supported Ruby versions for the gem
0:04:06 Review the rest of the GitHub issue and plan for this round of maintenance
0:06:50 Create new branch and run RSpec and gem console on current Ruby (3.4)
0:08:35 Install Ruby 4.0 using Mise and add `irb` to Gemfile so gem console works
0:10:11 Add `mise.toml` to `.gitignore` file
0:10:36 Investigate whether to change location of development dependencies to Gemfile from gemspec and change them
0:12:44 Update gem development dependencies after relocating to Gemfile and change RuboCop config to remove dev dependencies in gemspec enforcement
0:15:12 Remove the test gem we bundled earlier to figure out current default behavior
0:15:44 Update the bundle and address new RuboCop violations (one false-positive and a bunch of RSpec/LeakyLocalVariable violations)
0:21:47 Add Ruby 4.0 to GitHub actions and commit what we have so far
0:24:40 Build fails because Benchmark was moved out of the Ruby standard library and into a gem. Add it to the Gemfile
0:26:05 Bump the `checkout` GitHub action from version 4 to 6 to clear deprecation warnings
0:27:31 Update the gem signing certificate and amend previous commit with cert change
0:35:13 Cherry-pick to the `version-0-5-x-stable` branch
0:36:11 Update the SECURITY and CONTRIBUTING files to use the "our princess is in another castle" version
0:38:35 Build and push version 0.5.3 of the gem to RubyGems (incrementing the version before doing so)
0:41:12 Tag release and release on GitHub and increment patch version on stable branch
0:43:48 Overview of remaining activities for next video

#ruby #rubygems #codecast #screencast #NerdDice #DnD #roleplaying #softwaredevelopment #github #opensource #dice #release #tlm #rubocop #bundler #dependencies #ruby4

Featured Playlist:
- youtube.com/playlist?list=PL9kkbu1kLUeOnUtMpAnJOCtHdThx1Efkt

See other related StatelessCode videos:
- youtu.be/tT0-eR8_0c4
- youtu.be/uHd_QqlEZXw
- youtu.be/6NdoYZphoJ4

Resources that we relied upon for this solution:
- Ruby Gem Maintenance Procedures GitHub Gist by Mike gist.github.com/msducheminjr/950ad67b64b9bbebe8fac435e0f86601#top
- Ruby language version maintenance and end-of-life schedule ruby-lang.org/en/downloads/branches
- RubyGems rubygems.org
- RuboCop RSpec repository: github.com/rubocop/rubocop-rspec
- GitHub issue for this video: github.com/statelesscode/nerd_dice/issues/61

GitHub Commits for this Video:
Mantenance Branch
- github.com/statelesscode/nerd_dice/tree/2386bc31
Stable Branch (0.5.x)
- github.com/statelesscode/nerd_dice/tree/11ed23b1
- github.com/statelesscode/nerd_dice/tree/2264a25f
- github.com/statelesscode/nerd_dice/tree/63713d6c

This video is CC0 - No rights reserved. (YouTube doesn't allow this option when publishing.) All code is released under the UNLICENSE. Stateless Code denies the concept of "intellectual property". Copying is not stealing.
Create a RubyGem 105: Winter 2026 Maintenance Part 1 - Release 0.5.3NerdDice.com Retrospective 1 - Project and CICD SetupCreate a GitHub Wiki For User Experience InterviewsCreate a README for Your GitHub ProfileCreate a RubyGem 100: Release Patch Versions and New Minor Version (0.5.0) of the GemCodecast: Getting Started with Rails 7 19: Basic Auth Part 1Codecast: statelesscode.com WordPress 12: Adjust Brand Logo, Main Content, and TaglineAdd an End Screen to a YouTube VideoInstall Ruby and Rails with Databases on Ubuntu 24.04Upgrade to Ruby 3.2.1 and Rails 7.0.4.3Nerd Christmas 2022 - Ruby 3.2 Released!Codecast: statelesscode.com WordPress 07: Add Brand Colors with Tailwind
Stateless Code |

Create a RubyGem 105: Winter 2026 Maintenance Part 1 - Release 0.5.3

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER