0.0
No commit activity in last 3 years
No release in over 3 years
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.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies
 Project Readme

Be A Dragon

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.

Installation

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

Usage

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')
end

Custom cron times at https://crontab.guru/

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/be_a_dragon.