Categories: None [Edit]

easy_time

https://rubygems.org/gems/easy_time
https://github.com/aks/easy_time
A class that wraps the Time class and makes it easy to work with most known time values, including various time strings, automatically converting them to Time values, and perform tolerant comparisons. Several time classes, and the String class, are extended with the ".easy_time" method to perform an auto-conversion. A tolerant comparison allows for times from differing systems to be compared, even when the systems are out of sync, using the relationship operators and methods like "newer?", "older?", "same?" and "between?". A tolerant comparison for equality is where the difference of two values is less than the tolerance value (1 minute by default). The tolerance can be configured, even set to zero. Finally, all of the Time class and instance methods are available on the EasyTime class and instances.

Total

Ranking: 29,000 of 192,666
Downloads: 48,800

Daily

Ranking: 27,701 of 192,588
Downloads: 23

Depended by

RankDownloadsName
106,0867,518sql_cmd

Depends on

RankDownloadsName
13,389,007,605bundler
71,339,625,357activesupport
71,339,625,357activesupport
81,310,508,356rake
29976,524,168rspec
56686,799,632rubocop
99464,871,551simplecov
184273,712,421pry-byebug
198255,629,460rspec_junit_formatter
226218,591,655yard
332148,016,903guard
400124,175,733guard-rspec
403123,561,064redcarpet
77970,439,069fuubar
1,22537,625,446rubocop-rake
2,16211,810,896terminal-notifier-guard
7,275626,139guard-yard
18,106100,689rspec_junit

Owners

#GravatarHandle
1iconaks