fast_rake 0.0.5 → 0.0.6

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.
@@ -116,10 +116,10 @@ class FastRake::FastRunner
116
116
  put_w_time "#{YELLOW}Remaining: #{@tasks.join(' ')}#{RESET}"
117
117
  end
118
118
 
119
- def puts_rerun
119
+ def puts_rerun(current_task)
120
120
  return if @children.length == 0
121
121
  child_names = @children.values.collect { |v| v[:name] }
122
- outstanding = [task[:name], child_names, @tasks].flatten
122
+ outstanding = [current_task[:name], child_names, @tasks].flatten
123
123
  put_w_time "#{YELLOW}Rerun with: ['#{outstanding.join(' ')}']#{RESET}"
124
124
  end
125
125
 
@@ -151,7 +151,7 @@ class FastRake::FastRunner
151
151
  else
152
152
  if !@failed
153
153
  put_w_time "#{RED}[#{task[:name]}] Build failed. Output can be found in #{output_path}#{RESET}"
154
- puts_rerun
154
+ puts_rerun(task)
155
155
  @failed=true
156
156
  kill_remaining_children
157
157
  end
@@ -1,6 +1,6 @@
1
1
  module FastRake
2
2
  VERSION_MAJOR = 0
3
3
  VERSION_MINOR = 0
4
- VERSION_PATCH = 5
4
+ VERSION_PATCH = 6
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: 21
4
+ hash: 19
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 5
10
- version: 0.0.5
9
+ - 6
10
+ version: 0.0.6
11
11
  platform: ruby
12
12
  authors:
13
13
  - Jonathan Ricketson
@@ -52,7 +52,7 @@ licenses: []
52
52
  post_install_message:
53
53
  rdoc_options:
54
54
  - --title
55
- - fast_rake-0.0.5 Documentation
55
+ - fast_rake-0.0.6 Documentation
56
56
  require_paths:
57
57
  - lib
58
58
  required_ruby_version: !ruby/object:Gem::Requirement