Category: RubyGems

  • Codecast: Create a RubyGem 38: Implement the Die class

    This is the 38th video in the NerdDice create a RubyGem series. In this video, Mike implements the first iteration of the Die class to make the specs from the previous video pass. This video covers: 00:00:12 Introduction 00:00:37 Add expectation about value of roll method to specs 00:01:58 Create the Die class and get…

  • Codecast: Create a RubyGem 37: Write Specs for Die class

    This is the 37th video in the NerdDice create a RubyGem series. In this video, Mike writes the failing specs for the first iteration of the Die class. This video covers: 00:00:12 Introduction and check out new branch 00:01:12 Review spec for existing Configuration class and copy into new file as a model for the…

  • Codecast: Create a RubyGem 36: Object-Oriented Dice

    This is the 36th video in the NerdDice create a RubyGem series. In this video, Mike uses real-life dice to talk about the nature of real-life objects and then looks at the Ruby objects already created and how those correspond to the real-life dice reviewed earlier. This video covers: 00:00:12 Introduction: Real-life dice as objects…

  • Codecast: Create a RubyGem 35: Retrospective of CICD phase

    This is the 35th video in the NerdDice create a RubyGem series. In this video, Mike conducts a Retro of One on the period of time since the last retro in episode 24. This video covers: 00:00:12 Introduction and review last retro’s action items 00:02:26 What went well 00:08:13 Thing to improve 00:10:51 Quick hit…

  • Codecast: Create a RubyGem 34: Evaluate whether to release and backport changes

    This is the 34th video in the NerdDice create a RubyGem series. In this video Mike decides not to release the gem with the CI changes from previous videos, but updates the CHANGELOG, adds new RuboCop standards to the repository, and backports changes to the 0.2.x stable branch. This video covers: 00:00:12 Introduction: To release…

  • Codecast: Create a RubyGem 33: Add a benchmark script part 3

    This is the 33rd video in the NerdDice create a RubyGem series. In this video Mike completes the benchmark script from the previous videos. This video covers: 00:00:12 Introduction, review what we’ve done so far and what’s left 00:01:00 Print out the calculated ratios in the script so we can run the script a few…

  • Codecast: Create a RubyGem 32: Add a benchmark script part 2

    This is the 32nd video in the NerdDice create a RubyGem series. In this video, Mike experiments with benchmarking in the console, stores results of the benchmarks in variables, and creates a hash to store the ratios for each benchmark. This video covers: 00:00:12 Introduction, review what we’ve done so far and goals for the…

  • Codecast: Create a RubyGem 31: Add a benchmark script part 1

    This is the 31st video in the NerdDice create a RubyGem series. In this video, Mike begins work on on a benchmark script for the gem that will be invoked as part of the remote build process. This video covers: 00:00:12 Introduction, overview of benchmarking goals 00:02:07 Create Ruby script in bin directory 00:07:56 Try…

  • Codecast: Create a RubyGem 30: Add Code Climate to Gem

    This is the 30th video in the NerdDice create a RubyGem series. In this video, Mike signs up for the open source version of Code Climate and configures it for the NerdDice repo. This video covers: 00:00:12 Sign up for Code Climate open source, authorize and add NerdDice repo 00:02:00 Click around and explore the…

  • Codecast: Create a RubyGem 29: Add Build Badge to README

    This is the 29th video in the NerdDice create a RubyGem series. In this video, Mike adds a build badge to the NerdDice README and associates it with the success of the main.yml GitHub Actions job. This video covers: 00:00:12 Copy badge markdown to README 00:01:10 Replace placeholders with attributes from the repo 00:03:08 Push…