Codecast: Create a RubyGem 88: Add Ruby 3.1 to GitHub Actions and Update Bundle
Channel: Stateless Code
Date: 2022-01-26

This is the 88th video in the NerdDice create a RubyGem series. In this video Mike ensures compatiblity with Ruby 3.1 by adding it to the GitHub Actions for the gem. He also updates the gemspec with later versions of the development dependencies and backports the commit to the stable branches for 0.4, 0.3 and 0.2 of the gem.

This video covers:
00:00:30 Introduction
00:01:30 Switch to Ruby 3.1.0 in RVM and run a bundle install
00:02:57 Run benchmark and RSpec
00:03:33 Update the GitHub Actions
00:04:11 Run RuboCop. Erroring out. Update gem versions in gemspec and run bundle update.
00:06:36 Run RuboCop, autocorrect new violations, and review git diff
00:08:24 Add new cops to rubocop.yml and review git diff again
00:12:11 Review, commit, push code to master, review GitHub Action
00:14:15 Backport change to version-0-4-x-stable branch
00:16:44 Backport change to version-0-3-x-stable branch and resolve cherry-pick conflicts
00:20:51 Backport change to version-0-2-x-stable branch and resolve cherry-pick conflicts 
00:24:20 Review changes to the repo and update backlog

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.