RubyGems.org

quarter_time

1.0.1

A simple gem for dealing with quarter logic. I happen to have a project where half the models in the database recur every three months as part of a "quarter" of the year. Within the code, we constantly are asking "what quarter is this for?", or "show me all the records for this quarter". Well, now I need the same power on another application, so say hello to "quarter_time".

installgem install quarter_time -v 1.0.1
Authors

evizitei

6,966 total downloads 911 for this version
Owners

Bcd21effa8174ab2f4fd69d448e82e87

Gemfile
gem 'quarter_time', '~> 1.0.1'
Versions
  1. 1.1.0 June 8, 2012 (9 KB)
  2. 1.0.1 February 21, 2012 (8.5 KB)
  3. 0.3.2 July 2, 2010 (8.5 KB)
  4. 0.3.1 June 22, 2010 (8.5 KB)
  5. 0.3.0 June 22, 2010 (8.5 KB)
Show all versions (6 total)
Development Dependencies
  1. thoughtbot-shoulda >= 0