Permalink
Commits on Oct 31, 2010
  1. Make default_starts_date configurable in order to be able to use some…

    …thing like Date.current instead of Date.today (the latter can break timezones in Rails.)
    
        # Acceptable configs
        Recurrence.default_starts_date = "Date.current"
        Recurrence.default_starts_date = lambda { Date.current }
    committed Oct 31, 2010
  2. Add #options reader for initializer options in order to simplify usag…

    …e of composed_of with Recurrence.
    
        # Example
    	class Task < ActiveRecord::Base
          serialize :recurrence, Hash
    
          composed_of :recurrence, :mapping => %w(recurrence options),
                                   :constructor => lambda { |*opts| Recurrence.new(*opts) }
        end
    
        Task.new.recurrence = Recurrence.new(:every => :day)
    committed Oct 31, 2010
Commits on Oct 20, 2010
  1. @fnando

    Renamed gemspec. :P

    fnando committed Oct 20, 2010
  2. @fnando

    Bump up version

    fnando committed Oct 20, 2010
  3. @fnando

    Closing issue#3

    fnando committed Oct 20, 2010
  4. @fnando

    Removed Jeweler dependency.

    fnando committed Oct 20, 2010
Commits on Sep 15, 2010
  1. @fnando

    Readme

    fnando committed Sep 15, 2010
  2. @fnando
  3. @fnando

    Bump up version.

    fnando committed Sep 15, 2010
  4. @fnando

    Added Recurrence class to a namespace, so you can resolve any conflic…

    …t by requiring recurrence/namespace instead. Added shortcut examples to the README.
    fnando committed Sep 15, 2010
Commits on Sep 9, 2010
  1. @fnando
  2. @fnando

    Added Gemfile.

    fnando committed Sep 9, 2010
  3. @fnando
  4. @fnando

    Bump up version.

    fnando committed Sep 9, 2010
  5. @fnando

    Refactor, refactor, refactor.

    fnando committed Sep 9, 2010
Commits on Dec 18, 2009
  1. @fnando
Commits on Jul 18, 2009
  1. @josevalim
  2. @josevalim
  3. @josevalim
  4. @josevalim
  5. @josevalim

    Small base refactoring.

    josevalim committed Jul 18, 2009
  6. @josevalim
  7. @fnando

    Added Valim as contributor.

    fnando committed Jul 18, 2009
  8. @josevalim
  9. @josevalim
  10. @josevalim

    Optimize creation of events (reduced object creation in 40% in bleak …

    …house and speed up tests from ~13s to ~4s) and added monthly recurrence by week day as described in Martin Fowler date recurrence paper.
    josevalim committed Jul 18, 2009
Commits on Jan 7, 2009
  1. @fnando
Commits on Jan 6, 2009
  1. @fnando
  2. @fnando
  3. @fnando

    Fixing typos

    fnando committed Jan 6, 2009
  4. @fnando

    Normalized initial date initialization. Added next and next! methods.…

    … Yearly recurrence now accept months as symbols.
    fnando committed Jan 6, 2009
Commits on Dec 22, 2008
  1. @fnando

    Stupid Github bug with date

    fnando committed Dec 22, 2008
Commits on Sep 30, 2008
  1. @fnando
  2. @fnando

    Changed gem version

    fnando committed Sep 30, 2008
  3. @fnando

    Renamed items method to events. Added method each!. Added lots of spe…

    …cs for date inclusion.
    fnando committed Sep 30, 2008