README.rdoc in harmon-autowatchr-0.1.5 vs README.rdoc in harmon-autowatchr-0.1.6
- old
+ new
@@ -1,12 +1,14 @@
= autowatchr
-Provides some autotest-like behavior for watchr (http://github.com/mynyml/watchr).
+Fork of viking's autowatchr library (http://github.com/viking/autowatchr) to fix
+issues and add features. Provides some autotest-like behavior for
+watchr (http://github.com/mynyml/watchr).
== Installation
- gem install autowatchr --source http://gemcutter.org
+ gem install harmon-autowatchr
== Current features
* Auto-watches test and lib files using the autotest layout
* Optionally run only failing-tests
@@ -37,11 +39,13 @@
* The ruby executable to use
* Default: <tt>"ruby"</tt>
* run_method
* The way the ruby files are "require"-ed.
* Two options:
- * <tt>:default => ruby -e "%w[test/first_test.rb test/second_test.rb].each do |f| require f end"</tt>
- * <tt>:individual => ruby "test/first_test.rb" "test/second_test.rb"</tt>
+ * <tt>:require => ruby -e "%w[test/first_test.rb test/second_test.rb].each { |file| require file }"</tt>
+ * <tt>:load => ruby -e "%w[test/first_test.rb test/second_test.rb].each { |file| load file }"</tt>
+ * Default: <tt>:require</tt>
+ * It is advised to use <tt>:load</tt> when running tests in Rails since that is what "rake test" uses.
* include
* Paths to include (with -I)
* Default: <tt>".:#{self.lib_dir}:#{self.test_dir}"</tt>
* require
* Libraries to include (with -r)