Permalink
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
  6. Update gemspec

    mynyml committed Oct 2, 2009
  7. Add Manifest file and local manifest watchr script

    Mostly playing around, exploring scripting possibilities.
    
    The Manifest should help with not forgetting to add project files to the
    gemspec.
    mynyml committed Oct 2, 2009
  8. test/README

    mynyml committed Oct 2, 2009
  9. History file

    mynyml committed Oct 2, 2009
  10. Event has a single type

    mynyml committed Oct 2, 2009
  11. Fix attr ref in unix handler

    mynyml committed Oct 2, 2009
  12. Update TODO list

    mynyml committed Oct 2, 2009
  13. undust

    mynyml committed Oct 2, 2009
  14. Don't depend on rubygems

    mynyml committed Oct 2, 2009