coderunner 0.11.18 → 0.11.19

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.11.18
1
+ 0.11.19
data/coderunner.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "coderunner"
8
- s.version = "0.11.18"
8
+ s.version = "0.11.19"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Edmund Highcock"]
@@ -1500,7 +1500,9 @@ EOF
1500
1500
  eputs "Please confirm again. Press Enter to confirm, Ctrl + C to cancel"
1501
1501
  gets
1502
1502
  end
1503
- ids.each{|id| FileUtils.rm_r @run_list[id].directory; @run_list.delete(id); @ids.delete(id); generate_combined_ids}
1503
+ ids.each{|id|
1504
+ FileUtils.rm_r @run_list[id].directory if @run_list[id].directory and not ["", ".", ".."].include? @run_list[id].directory
1505
+ @run_list.delete(id); @ids.delete(id); generate_combined_ids}
1504
1506
  set_max_id(@ids.max || 0)
1505
1507
  save_large_cache
1506
1508
  generate_combined_ids
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: coderunner
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.18
4
+ version: 0.11.19
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: