@StatelessCode
  @StatelessCode
Stateless Code | Codecast: Create a RubyGem 84: Update Docs and Extend ConvenienceMethods into NerdDice, Merge @StatelessCode | Uploaded October 2021 | Updated October 2024, 3 hours ago.
This is the 84th video in the NerdDice create a RubyGem series. In this video Mike uses the comments from the GitHub issue to update the README and CHANGELOG for the 0.4.0 release.

In the process of writing the updates to the README, he discovers a previously unrealized opportunity to extend the ConvenienceMethods module back into the NerdDice module so that you can execute NerdDice.roll_3d20_with_advantage_plus4 without having to use include or extend in your own classes.

After updating the docs, the benchmark script is modified to used the NerdDice module version of the magic methods.

This video covers:
00:00:12 Introduction, review comments in GitHub issue
00:02:22 Create internal link in README from top section to ConvenienceMethods section
00:06:33 Write ConvenienceMethods section of README and discuss potential interactions with other method_missing implementations
00:09:11 Tweaks after proofreading
00:09:42 Extend ConvenienceMethods into the NerdDice module and add specs for it
00:13:50 Update README to reflect new functionality in NerdDice
00:15:56 Update CHANGELOG
00:17:55 Create a separate commit for extending ConvenienceMethods into NerdDice. GitHub action fails benchmark
00:20:47 Update benchmark ratios and use NerdDice module version of the magic methods in the script
00:24:06 Amend previous commit and force push
00:25:09 Merge the pull request, close the issue, and update the 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.
Codecast: Create a RubyGem 84: Update Docs and Extend ConvenienceMethods into NerdDice, MergeWrite System Tests for Devise Cancel My Account and Get Working With TurboStateless Code Video 204Codecast: statelesscode.com WordPress 04: Initial Push and Backlog SetupWrite Tests for User Locking and Unlocking and Finish the Devise EpicCodecast: statelesscode.com WordPress 06: Main Content Margins, YouTube Embeds, and EnlighterCodecast: statelesscode.com WordPress 08: Start on Sidebar and Footer and Use Tailwind DirectivesWhy Rails in the 2020s?Create a RubyGem 90: Fix README to Use Relative Links Instead of Absolute LinksCodecast: Getting Started with Rails 7 11: Use a Scaffold Generator to Quickly Produce a ResourceUpdate Rails to 7.0.4 and Update the BundleCodecast: Create a RubyGem 69: Add 3 Use Cases to method_missing

Codecast: Create a RubyGem 84: Update Docs and Extend ConvenienceMethods into NerdDice, Merge @StatelessCode

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER