Permalink
Commits on Jan 4, 2010
  1. Update TODO list

    mynyml committed Jan 4, 2010
Commits on Dec 25, 2009
  1. Add option to list monitored files. issue #5

      $ watchr --list script/to/path
    mynyml committed Dec 25, 2009
  2. Use specs.watchr script by default if present

      $ruby -rubygems -I.:lib ./bin/watchr -d
      [watchr debug] loaded script file "/home/martin/dev/projects/libs/watchr/specs.watchr"
    
    Thanks to jnunemaker for the suggestion.
    mynyml committed Dec 25, 2009
  3. Update inline docs

    mynyml committed Dec 25, 2009
  4. Update TODO file

    mynyml committed Dec 25, 2009
Commits on Nov 25, 2009
  1. v0.5.9

    mynyml committed Nov 25, 2009
  2. Fix ruby1.9 compatibility

    mynyml committed Nov 25, 2009
Commits on Nov 22, 2009
  1. Don't rely on hash order in test

    mynyml committed Nov 22, 2009
Commits on Nov 17, 2009
  1. Update README

    mynyml committed Nov 17, 2009
  2. Remove manifest script

    mynyml committed Nov 17, 2009
  3. Port test suite to minitest

    Also removed a few development dependencies
    mynyml committed Nov 17, 2009
Commits on Nov 12, 2009
  1. v0.5.8

    mynyml committed Nov 12, 2009
  2. Refactor gemspec and Rakefile

    mynyml committed Nov 12, 2009
  3. Make #reload available to script file

    Allows the script file to reload/refresh itself (which forces watchr to
    rescan the directories and discover new files to monitor). A common use
    case involves reloading the script file with a signal trap.
    
      Signal.trap('QUIT') { reload }
    mynyml committed Nov 12, 2009
  4. Clean up

    mynyml committed Nov 12, 2009
  5. Don't force associating a file with Script objects

    This change facilitates using watchr as a library
    
      script = Script.new #=> no need to feed #new a pathname
      script.watch('pattern') { action }
      ...
    mynyml committed Nov 12, 2009
Commits on Nov 11, 2009
Commits on Nov 10, 2009
Commits on Nov 8, 2009
  1. Fix doc typos

    mynyml committed Nov 8, 2009
Commits on Nov 6, 2009
  1. Evaluate script file in own context

    Avoids method pollution and sets a clear API for user scripts
    mynyml committed Nov 6, 2009
Commits on Oct 30, 2009
  1. Fixed bad assertion

    francois committed Oct 30, 2009
  2. To allow callers to setup an env, parse the script on Controller#run.

    Example:
    
        script = Script.new(...)
        script.instance_variable_set("@logger", Logger.new(...))
        Controller.new(script).run
    francois committed Oct 30, 2009
Commits on Oct 9, 2009
Commits on Oct 6, 2009
Commits on Oct 2, 2009
  1. v0.5.7

    mynyml committed Oct 2, 2009
  2. Update History.txt

    mynyml committed Oct 2, 2009
  3. Fix spec

    mynyml committed Oct 2, 2009
  4. Update README

    mynyml committed Oct 2, 2009
  5. Update source docs

    mynyml committed Oct 2, 2009