-
Codecast: Contributing to Rails 07 – Epilogue: Contribution Accepted
In this 7th video of the Contributing to Rails series, Mike receives news that his pull request has been merged into the Rails main branch! This video covers: 0:00:10 – Intro and review GitHub alerts 0:00:50 – When issues and pull requests are marked stale 0:02:02 – Comment on issue and pull request re-opened by…
-
Codecast: Install Rails 6, PostgreSQL 13, MariaDB 10.5
In this codecast, Mike installs Rails 6.1, PostgreSQL 13 and MariaDB 10.5 on Ubuntu 20-04. See the previous videos in the setup and configuration series for installing Rails dependencies: Ruby Node Yarn 0:00:10 – Install Rails 0:03:52 – Install PostgreSQL 13 Add the PPA Add the GPG key Update the sources Install PostgreSQL Verify running…
-
Codecast: Install RVM and Ruby with Troubleshooting
In this setup and configuration codecast, Mike installs RVM, Ruby 2.7 and Ruby 3.0 on a new Ubuntu 20.04 desktop. This video covers: 0:02:06 – Install gpg2 0:02:37 -Import the RVM GPG keys 0:02:44 -Add the RVM PPA 0:03:58 -Install RVM 0:04:36 -Add user to the RVM group (or by specific username if not the…
-
Codecast: Create a RubyGem 26: Goodbye, Travis! Hello GitHub Actions!
This is the 26th video in the NerdDice create a RubyGem series. Things didn’t work out with Travis, so Mike finds another CI tool and settles on GitHub actions due to its wide adoption on the most frequently downloaded gems. After an unsuccessful attempt to add the plugin via the command line, Mike is able…
-
Codecast: Create a RubyGem 25: Hello, Travis!
This is the 25th video in the NerdDice create a RubyGem series. In this video, Mike configures the NerdDice project to use Travis CI, and get tests to pass using both Ruby 2.7 and 3.0.
-
Codecast: Create a RubyGem 24: 0.2.0 retrospective
This is the 24th video in the NerdDice create a RubyGem series. In this video, Mike conducts a solo retrospective for the 0.2.0 release. It contains a reference to Gilderoy Lockhart After Dark from Mike’s personal YouTube channel.
-
Codecast: Create a RubyGem 23: Release version 0.2.0 of the gem
This is the 23rd video in the NerdDice create a RubyGem series. In this video, Mike puts the finishing touches on version 0.2.0, ensures the CHANGELOG is up-to-date, updates dependencies, and handles the build, push, and tag of the gem. This video covers: 00:00:12 Introduction 00:00:48 Troubleshoot bundling the gem. Use gem build instead of…
-
Codecast: Create a RubyGem 22: Add randomization_technique option to total_dice
This is the 22nd video in the NerdDice create a RubyGem series. In this video, Mike adds one last option to the total_dice method before the 0.2.0 release, allowing the user to specify the randomization_technique in the optional keyword argument hash.
-
Codecast: Create a RubyGem 21: Change total_dice to use keyword arguments
This is the 21st video in the NerdDice create a RubyGem series. In this video, Mike improves the user experience by converting the options of the :total_dice method from a default empty hash argument to keyword arguments by using the Hash de-reference (or double-splat) operator. This affords the user more flexibility in how they invoke…
-
Codecast: Create a RubyGem 20: Change bonus option to use duck-typing
This is the 20th video in the NerdDice create a RubyGem series. In this video, Mike makes life a little easier on the future users of the gem by using Ruby’s powerful “duck-typing” (if it looks like a duck, and it quacks like a duck…) feature for the :total_dice bonus option. Instead of checking to…