-
Codecast: Create a RubyGem 28: Add Coveralls to Gem and Github Actions
This is the 28th video in the NerdDice create a RubyGem series. In this video, Mike signs up for the Coveralls Open Source plan, adds test coverage to the gem and incorporates it into the GitHub actions for the gem. This video covers: 00:00:12 Sign up for Coveralls Open Source. Muddle through upsell and authorize…
-
Codecast: Create a RubyGem 27: Add Rubocop to Github Actions
This is the 27th video in the NerdDice create a RubyGem series. In this video, Mike configures the NerdDice project to run a Rubocop GitHub action each time there is a push or pull request to the remote repository. This video covers: 00:00:12 Introduction 00:00:45 Tweak previous CI version to run on any remote push…
-
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…
-
Codecast: Create a RubyGem 19: End of an Epic – Finish the configurable generator story
This is the 19th video in the NerdDice create a RubyGem series. In this video, Mike finishes up getting all of the RSpec scenarios passing, updates the README, updates the CHANGELOG, fixes RuboCop offenses, opens a pull request, merges it, and closes the story. This resolves the issue (that was more of an epic than…