Project

420-time

0.0
No commit activity in last 3 years
No release in over 3 years
A simple command to display the amount of time left until 420
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

420 travis-ci Code Climate Test Coverage 420-time ruby gem

This the very first thing I've ever written in Ruby. It's a simple command line program that displays the time until 4:20

Installation

You can install 420 by installing the fourtwenty gem. (previously 420-time)

$ gem install fourtwenty

Usage

run 420 from command line to show the time left until the next 4:20.

Contribute

If you can, please consider helping to translate this gem into as many languages as possible! I wanna see how many languages we can write "Happy 4:20" in! The languages are written in YAML files located in the lib/local directory.

Tests

This is also the first project that I've successfully implemented automated testing. I actually wrote the tests before I wrote most of my code. To my surprise, it sped up my development and reduced the amount of problems I ran into. Testing FTW!

To run tests, run rake test

TODO

Currently 420 is written on thor, but it has only one real task implemented (time). I plan to add in a date task that will return how many months, weeks, days, hours, and minutes, until April 20th.

Credits

Developed and maintained by mediachicken

                                          |
                                         |.|
                                         |.|
                                        |\./|
                                        |\./|
                        .               |\./|               .
                         \^.\          |\\.//|          /.^/
                          \--.|\       |\\.//|       /|.--/
                            \--.| \    |\\.//|    / |.--/
                             \---.|\    |\./|    /|.---/
                                \--.|\  |\./|  /|.--/
                                   \ .\  |.|  /. /
                         _ -_^_^_^_-  \ \\ // /  -_^_^_^_- _
                           - -/_/_/- ^_^/| |\^_^ -\_\_\- -
                                     /_ / | \ _\
                                          |