Motivational sentences to help you code in peace.
Your code does not work as it should? You have only one spec to correct and you want to sleep? Does Rubocop mistreat you? Need some extra motivational push to finish that f*** code? This is your gem.
Add this to your application's Gemfile:
gem 'be_a_dragon'And then add some simple CRON worker gem like
gem 'rufus-scheduler'Run:
$ bundle install
Make a new file on initalizers folder:
# initializers/motivational-cron.rb
require 'rufus-scheduler'
require 'be_a_dragon'
scheduler = Rufus::Scheduler.new
motivation = BeADragon::MotivateMePls
scheduler.cron '* * * * *' do
motivation.random_sentence('Eric')
endCustom cron times at https://crontab.guru/
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/be_a_dragon.