fast_rake 0.2.4 → 0.2.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -163,14 +163,16 @@ class FastRake::FastRunner
163
163
  start_some_children
164
164
  elsif @fail_fast
165
165
  if !@failed
166
- put_w_time "#{RED}[#{task[:name]}] Build failed. Output is in #{output_path}#{RESET}"
166
+ put_w_time "#{RED}[#{task[:name]}] failed. Elapsed time was #{distance_of_time_to_now(task[:start])}.#{RESET}"
167
+ put_w_time "#{RED}[#{task[:name]}] Output is in #{output_path}#{RESET}"
167
168
  puts_rerun(task)
168
169
  @failed = true
169
170
  #killing the remaining children will also trigger this block
170
171
  kill_remaining_children
171
172
  end
172
173
  elsif !@fail_fast
173
- put_w_time "#{RED}[#{task[:name]}] Task failed. Output is in #{output_path}#{RESET}"
174
+ put_w_time "#{RED}[#{task[:name]}] failed. Elapsed time was #{distance_of_time_to_now(task[:start])}.#{RESET}"
175
+ put_w_time "#{RED}[#{task[:name]}] Output is in #{output_path}#{RESET}"
174
176
  @failed_tasks << task[:name]
175
177
  @failed = true
176
178
  puts_still_running
@@ -1,6 +1,6 @@
1
1
  module FastRake
2
2
  VERSION_MAJOR = 0
3
3
  VERSION_MINOR = 2
4
- VERSION_PATCH = 4
4
+ VERSION_PATCH = 5
5
5
  VERSION = [VERSION_MAJOR, VERSION_MINOR, VERSION_PATCH].join('.')
6
6
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fast_rake
3
3
  version: !ruby/object:Gem::Version
4
- hash: 31
4
+ hash: 29
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 4
10
- version: 0.2.4
9
+ - 5
10
+ version: 0.2.5
11
11
  platform: ruby
12
12
  authors:
13
13
  - Jonathan Ricketson
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-09-15 00:00:00 Z
18
+ date: 2012-09-17 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: gemma
@@ -52,7 +52,7 @@ licenses: []
52
52
  post_install_message:
53
53
  rdoc_options:
54
54
  - --title
55
- - fast_rake-0.2.4 Documentation
55
+ - fast_rake-0.2.5 Documentation
56
56
  require_paths:
57
57
  - lib
58
58
  required_ruby_version: !ruby/object:Gem::Requirement