ZenTest 4.6.2 → 4.7.0

Sign up to get free protection for your applications and to get access to all the features.
data/History.txt CHANGED
@@ -1,3 +1,14 @@
1
+ === 4.7.0 / 2012-03-15
2
+
3
+ * 2 minor enhancements:
4
+
5
+ * autotest/timestamp now uses ran_command hook. (bhenderson)
6
+ * run_command hook is now passed cmd. (bhenderson)
7
+
8
+ * 1 bug fix:
9
+
10
+ * Fixed run_command hook to only trigger when there are test files to run. (bhenderson)
11
+
1
12
  === 4.6.2 / 2011-08-24
2
13
 
3
14
  * 1 minor enhancement:
@@ -1,9 +1,9 @@
1
1
  # -*- ruby -*-
2
2
 
3
3
  module Autotest::Timestamp
4
- Autotest.add_hook :waiting do
4
+ Autotest.add_hook :ran_command do
5
5
  puts
6
- puts "# Waiting since #{Time.now.strftime "%Y-%m-%d %H:%M:%S"}"
6
+ puts "# Finished at #{Time.now.strftime "%Y-%m-%d %H:%M:%S"}"
7
7
  puts
8
8
  end
9
9
  end
data/lib/autotest.rb CHANGED
@@ -362,8 +362,6 @@ class Autotest
362
362
  # Look for files to test then run the tests and handle the results.
363
363
 
364
364
  def run_tests
365
- hook :run_command
366
-
367
365
  new_mtime = self.find_files_to_test
368
366
  return unless new_mtime
369
367
  self.last_mtime = new_mtime
@@ -371,6 +369,8 @@ class Autotest
371
369
  cmd = self.make_test_cmd self.files_to_test
372
370
  return if cmd.empty?
373
371
 
372
+ hook :run_command, cmd
373
+
374
374
  puts cmd unless options[:quiet]
375
375
 
376
376
  old_sync = $stdout.sync
data/lib/zentest.rb CHANGED
@@ -57,7 +57,7 @@ end
57
57
 
58
58
  class ZenTest
59
59
 
60
- VERSION = '4.6.2'
60
+ VERSION = '4.7.0'
61
61
 
62
62
  include ZenTestMapping
63
63
 
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -5,9 +5,9 @@ version: !ruby/object:Gem::Version
5
5
  prerelease:
6
6
  segments:
7
7
  - 4
8
- - 6
9
- - 2
10
- version: 4.6.2
8
+ - 7
9
+ - 0
10
+ version: 4.7.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - Ryan Davis
@@ -37,7 +37,7 @@ cert_chain:
37
37
  FBHgymkyj/AOSqKRIpXPhjC6
38
38
  -----END CERTIFICATE-----
39
39
 
40
- date: 2011-08-24 00:00:00 Z
40
+ date: 2012-03-15 00:00:00 Z
41
41
  dependencies:
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: minitest
@@ -47,28 +47,43 @@ dependencies:
47
47
  requirements:
48
48
  - - ~>
49
49
  - !ruby/object:Gem::Version
50
- hash: 9
50
+ hash: 21
51
51
  segments:
52
52
  - 2
53
- - 5
54
- version: "2.5"
53
+ - 11
54
+ version: "2.11"
55
55
  type: :development
56
56
  version_requirements: *id001
57
57
  - !ruby/object:Gem::Dependency
58
- name: hoe
58
+ name: rdoc
59
59
  prerelease: false
60
60
  requirement: &id002 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - ~>
64
64
  - !ruby/object:Gem::Version
65
- hash: 27
65
+ hash: 19
66
66
  segments:
67
- - 2
68
- - 12
69
- version: "2.12"
67
+ - 3
68
+ - 10
69
+ version: "3.10"
70
70
  type: :development
71
71
  version_requirements: *id002
72
+ - !ruby/object:Gem::Dependency
73
+ name: hoe
74
+ prerelease: false
75
+ requirement: &id003 !ruby/object:Gem::Requirement
76
+ none: false
77
+ requirements:
78
+ - - ~>
79
+ - !ruby/object:Gem::Version
80
+ hash: 35
81
+ segments:
82
+ - 2
83
+ - 16
84
+ version: "2.16"
85
+ type: :development
86
+ version_requirements: *id003
72
87
  description: |-
73
88
  ZenTest provides 4 different tools: zentest, unit_diff, autotest, and
74
89
  multiruby.
@@ -179,7 +194,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
179
194
  requirements: []
180
195
 
181
196
  rubyforge_project: zentest
182
- rubygems_version: 1.8.9
197
+ rubygems_version: 1.8.12
183
198
  signing_key:
184
199
  specification_version: 3
185
200
  summary: "ZenTest provides 4 different tools: zentest, unit_diff, autotest, and multiruby"
metadata.gz.sig CHANGED
Binary file