krainboltgreene / time-lord

time-lord is a ruby gem that adds extra functionality to the time class.
MIT License
156 stars 19 forks source link

Fix for Time.now.ago.to_words => 0 years ago #15

Closed bhaberer closed 11 years ago

bhaberer commented 11 years ago

Just a simple fix for #15, it uses 'less than a second away' for ago and from_now since I couldn't find a non-gross way of determining tense inside of Period.

(Sorry for the merge and amended commit, I was hoping to fix my first commit message, but failed. Oh well.)

coveralls commented 11 years ago

Coverage Status

Coverage remained the same when pulling e846707488f6039b3d5a9acc22d3eac819fd9057 on bhaberer:master into b47c7cf066c548bb61b324b5361e07d055fd111a on krainboltgreene:master.

krainboltgreene commented 11 years ago

Instead of pushing this code out, I'm going to be moving all of this over to http://github.com/krainboltgreene/tardis