lib/templates/.autotest in andhapp-decoct-1.8.4 vs lib/templates/.autotest in andhapp-decoct-1.9.5
- old
+ new
@@ -1,16 +1,2 @@
-module Autotest::Growl
- def self.growl title, msg, img, pri=0, stick=""
- system "growlnotify -n autotest --image #{img} -p #{pri} -m #{msg.inspect} #{title} #{stick}"
- end
-
- Autotest.add_hook :ran_command do |at|
- puts "at: '#{at.results}'"
- output = at.results.slice(/(\d+)\s.*specifications?,\s(\d+)\s.*failures?/)
- puts "out: #{output}"
- if output =~ /[1-9]\sfailures?/
- growl "Test Results", "#{output}", '../icons/fail.png', 2 #, "-s"
- else
- growl "Test Results", "#{output}", '../icons/ok.png'
- end
- end
-end
+
+require "rubygems"
\ No newline at end of file