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 +1 -1
- data/lib/parallelized_specs.rb +2 -2
- data/parallelized_specs.gemspec +1 -1
- metadata +1 -1
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.
|
15
|
+
gem.version = "0.4.59"
|
16
16
|
end
|
17
17
|
Jeweler::GemcutterTasks.new
|
18
18
|
rescue LoadError
|
data/lib/parallelized_specs.rb
CHANGED
@@ -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'
|
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)
|
172
|
+
if File.directory?(dir)
|
173
173
|
`rm -rf #{dir} && mkdir #{dir}`
|
174
174
|
else
|
175
175
|
`mkdir #{dir}`
|
data/parallelized_specs.gemspec
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "parallelized_specs"
|
8
|
-
s.version = "0.4.
|
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"]
|