parallelized_specs 0.4.58 → 0.4.59

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -12,7 +12,7 @@ begin
12
12
  gem.email = "jake@instructure.com"
13
13
  gem.homepage = "http://github.com/jakesorce/#{gem.name}"
14
14
  gem.authors = "Jake Sorce, Bryan Madsen, Shawn Meredith"
15
- gem.version = "0.4.58"
15
+ gem.version = "0.4.59"
16
16
  end
17
17
  Jeweler::GemcutterTasks.new
18
18
  rescue LoadError
@@ -159,7 +159,7 @@ class ParallelizedSpecs
159
159
  def self.formatter_directory_management(formatters)
160
160
  FileUtils.mkdir_p('parallel_log') if !File.directory?('tmp/parallel_log')
161
161
  begin
162
- ['tmp/parallel_log/spec_count', 'tmp/parallel_log/failed_specs', 'tmp/parallel_log/thread_started', 'tmp/parallel_log/total_specs.txt'].each do |dir|
162
+ ['tmp/parallel_log/spec_count', 'tmp/parallel_log/failed_specs', 'tmp/parallel_log/thread_started'].each do |dir|
163
163
  directory_cleanup_and_create(dir)
164
164
  end
165
165
  rescue SystemCallError
@@ -169,7 +169,7 @@ class ParallelizedSpecs
169
169
  end
170
170
 
171
171
  def self.directory_cleanup_and_create(dir)
172
- if File.directory?(dir) || File.exists?(dir)
172
+ if File.directory?(dir)
173
173
  `rm -rf #{dir} && mkdir #{dir}`
174
174
  else
175
175
  `mkdir #{dir}`
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "parallelized_specs"
8
- s.version = "0.4.58"
8
+ s.version = "0.4.59"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Jake Sorce, Bryan Madsen, Shawn Meredith"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: parallelized_specs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.58
4
+ version: 0.4.59
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: