RUNT – Ruby Temporal Expressions

  • Runt is a Ruby implementation of select Martin Fowler patterns.

  • TemporalExpressions allow a developer to define patterns of date recurrence using set expressions.

INSTALL

  • gem install runt

    or

  • Unpack the Runt distribution.

    $ tar -xzvf runt-<version>.tar.gz
    
  • cd $UNPACK_DIR/runt/

  • execute:

    $ ruby setup.rb config
    $ ruby setup.rb setup
    $ ruby setup.rb install (may require root privilege)
    

    or

    $ ruby setup.rb --help
    

    for more options.

QUICK START

Get in touch if you have questions or if Runt causes your computer to burst into flames…

Matt

Credits

Rubyforge for hosting this project.

M.Fowler, Matz, T.Funaba (Date/DateTime), J.Weirich (Rake), PragmaticProgrammers, and everyone on ruby-talk for their shameless public display of smartness.

Hal Fulton, Mauricio Fernandez, and Mark Hubbart for the thread on c.l.r. that inspired a more Ruby-esque syntax for creating TE’s. 2X Thanks to Hal, for taking the time to exchange ideas off-line.

The ruby-nyc user’s group for their suggestions and feedback.

BlueRobot for the CSS used to prettify the Runt website.

Emmett Shear for contributed TExpr#dates code and several thought-provoking feature requests.

Ira Burton for contributed DayIntervalTE class.

Jodi Showers for serialization bug fix.

Pat Maddox for YearTE.

Paul Wright for Time class compatibility.

Ara T. Howard for Numeric class extensions.

Larry Karnowski for BeforeTE, AfterTE, TExpr#dates enhancements, RFC2445 (iCalendar) compliance tests.

Gordon Thiesfeld for fixed Time integration and extended REWeek functionality

The number 12, and the letters E, J, and B.

Etc…

Author

Matthew Lipper <[email protected]>

Requires

Ruby 1.8.0 or later, Date/DateTime classes

License

Copyright 2004 by Digital Clash LLC. Released under the Apache Software license (see LICENSE.txt) included in the distribution.

Warranty

This software is provided “as is” and without any express or implied warranties, including, without limitation, the implied warranties of merchantibility and fitness for a particular purpose.