This is a simple example gem developed for the conference talk "How to make a gem of a gem" at RubyConf 2021.
The Bored gem calls the Bored API and returns random activity ideas.
The installation process is boring, but familiar!
$ gem install bored
Once installed, run:
$ bored
And an activity will be printed. That's it!
To invoke the gem programmatically, just call:
Bored.now
This will return an Activity object.
This project follows Test Double's code of conduct for all community interactions, including (but not limited to) one-on-one communications, public posts/comments, code reviews, pull requests, and GitHub issues. If violations occur, Test Double will take any action they deem appropriate for the infraction, up to and including blocking a user from the organization's repositories.