test-loop 2.0.0 → 2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. data/bin/test-loop +9 -5
  2. metadata +3 -3
data/bin/test-loop CHANGED
@@ -1,7 +1,10 @@
1
1
  #!/usr/bin/env ruby
2
- # Continuous testing for Ruby with fork/eval
3
- # https://github.com/sunaku/test-loop#readme
4
- #-----------------------------------------------------------------------------
2
+ #
3
+ # test-loop - Continuous testing for Ruby with fork/eval
4
+ # https://github.com/sunaku/test-loop#readme
5
+ #
6
+ ####
7
+ #
5
8
  # (the ISC license)
6
9
  #
7
10
  # Copyright 2010 Suraj N. Kurapati <sunaku@gmail.com>
@@ -17,7 +20,7 @@
17
20
  # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
18
21
  # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
19
22
  # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
20
- #-----------------------------------------------------------------------------
23
+ #
21
24
 
22
25
  require 'rake' # for String#pathmap
23
26
 
@@ -39,7 +42,7 @@ begin
39
42
 
40
43
  (@source_file_to_test_file_mapping ||= {}).merge!(
41
44
  '{test,spec}/**/*_{test,spec}.rb' => '%p',
42
- '{lib,app}/**/*.rb' => '{test,spec}/**/%n_{test,spec}%x',
45
+ '{lib,app}/**/*.rb' => '{test,spec}/**/%n_{test,spec}%x'
43
46
  )
44
47
 
45
48
  @after_test_execution ||= lambda {|status, ran_at, files|}
@@ -87,6 +90,7 @@ begin
87
90
 
88
91
  # reabsorb test execution overhead as necessary
89
92
  if Dir[*@reabsorb_file_globs].any? {|file| File.mtime(file) > started_at }
93
+ notify 'Reabsorbing overhead...'
90
94
  exec $0, *ARGV
91
95
  end
92
96
 
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 2
7
7
  - 0
8
- - 0
9
- version: 2.0.0
8
+ - 1
9
+ version: 2.0.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - Suraj N. Kurapati
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-12-31 00:00:00 -08:00
17
+ date: 2011-01-01 00:00:00 -08:00
18
18
  default_executable:
19
19
  dependencies: []
20
20