ZenTest 3.9.0 → 3.9.1
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +6 -0
- data/lib/autotest.rb +4 -8
- data/lib/zentest.rb +1 -1
- metadata +1 -1
data/History.txt
CHANGED
data/lib/autotest.rb
CHANGED
@@ -211,11 +211,8 @@ class Autotest
|
|
211
211
|
end
|
212
212
|
wait_for_changes
|
213
213
|
rescue Interrupt
|
214
|
-
if self.wants_to_quit
|
215
|
-
|
216
|
-
else
|
217
|
-
reset
|
218
|
-
end
|
214
|
+
break if self.wants_to_quit
|
215
|
+
reset
|
219
216
|
end
|
220
217
|
end
|
221
218
|
hook :quit
|
@@ -343,6 +340,7 @@ class Autotest
|
|
343
340
|
def find_files
|
344
341
|
result = {}
|
345
342
|
targets = self.find_directories + self.extra_files
|
343
|
+
self.find_order.clear
|
346
344
|
|
347
345
|
targets.each do |target|
|
348
346
|
order = []
|
@@ -508,9 +506,7 @@ class Autotest
|
|
508
506
|
|
509
507
|
def wait_for_changes
|
510
508
|
hook :waiting
|
511
|
-
|
512
|
-
Kernel.sleep self.sleep
|
513
|
-
end until find_files_to_test
|
509
|
+
Kernel.sleep self.sleep until find_files_to_test
|
514
510
|
end
|
515
511
|
|
516
512
|
############################################################
|
data/lib/zentest.rb
CHANGED