ZenTest 3.9.0 → 3.9.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/History.txt +6 -0
  2. data/lib/autotest.rb +4 -8
  3. data/lib/zentest.rb +1 -1
  4. metadata +1 -1
@@ -1,3 +1,9 @@
1
+ === 3.9.1 / 2008-01-31
2
+
3
+ * 1 bug fix:
4
+
5
+ * OMG I'm so dumb... fixed memory leak.
6
+
1
7
  === 3.9.0 / 2008-01-30
2
8
 
3
9
  * 15 minor enhancements:
@@ -211,11 +211,8 @@ class Autotest
211
211
  end
212
212
  wait_for_changes
213
213
  rescue Interrupt
214
- if self.wants_to_quit then
215
- break
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
- begin
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
  ############################################################
@@ -56,7 +56,7 @@ end
56
56
 
57
57
  class ZenTest
58
58
 
59
- VERSION = '3.9.0'
59
+ VERSION = '3.9.1'
60
60
 
61
61
  include ZenTestMapping
62
62
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ZenTest
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.9.0
4
+ version: 3.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Davis