This is the 12th video in the NerdDice create a RubyGem series. In this video, Mike takes the configuration that was developed in video 10 (Make the gem configurable) and applies it to the total_dice method so that users can specify their preferred random number generation method. We also take this opportunity to refactor repeated specs into RSpec shared examples.
One response to “Codecast: Create a RubyGem 12: Apply generator configuration”
[…] 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 a story) on ability to create configuration that was started on video 12. […]