parallelized_specs 0.3.28 → 0.3.29

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.
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.3.28"
15
+ gem.version = "0.3.29"
16
16
  end
17
17
  Jeweler::GemcutterTasks.new
18
18
  rescue LoadError
@@ -295,25 +295,23 @@ class ParallelizedSpecs
295
295
  rerun_status = ""
296
296
  end
297
297
  end #end file loop
298
+ else
299
+ puts "#{error_count} is to many errors to rerun the build will be marked as a failure"
298
300
  end
299
301
 
300
302
  if rerun_failed_examples
301
303
  if @rerun_failures.count > 0
302
304
  puts "1 or more examples failed on rerun, rspec will mark this build as a failure"
303
- #dump errors to file
304
305
  abort "some specs failed on rerun"
305
306
  elsif @rerun_passes.count >= @error_count.to_i
306
307
  puts "all rerun examples passed, rspec will mark this build as passed"
307
- $rerun_success = true
308
- exit(0)
309
308
  else
310
- put "something unexpected happened not safe to mark the build as passed."
311
- abort "unexpected situation on rerun"
309
+ puts "something unexpected happened not safe to mark the build as passed."
310
+ abort "unexpected situation on rerun, marking build as failure"
312
311
  end
313
312
  end
314
313
  else
315
314
  "No errors file was found, marking build as a success"
316
- exit(0)
317
315
  end
318
316
  end
319
317
  end
@@ -7,7 +7,7 @@ class ParallelizedSpecs::ExampleRerunFailuresLogger < ParallelizedSpecs::SpecLog
7
7
  if example.location != nil
8
8
  unless !!self.example_group.nested_descriptions.to_s.match(/shared/) || !!self.instance_variable_get(:@example_group).examples.last.location.match(/helper/)
9
9
  @failed_examples ||= []
10
- @failed_examples << "#{example.location.match(/spec.*\d/).to_s.chomp} "
10
+ @failed_examples << "#{example.location.match(/spec.*\d/).to_s} "
11
11
  end
12
12
  end
13
13
  else
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "parallelized_specs"
8
- s.version = "0.3.28"
8
+ s.version = "0.3.29"
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"]
12
- s.date = "2012-10-30"
12
+ s.date = "2012-10-31"
13
13
  s.email = "jake@instructure.com"
14
14
  s.files = [
15
15
  "Gemfile",
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: parallelized_specs
3
3
  version: !ruby/object:Gem::Version
4
- hash: 43
4
+ hash: 41
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 28
10
- version: 0.3.28
9
+ - 29
10
+ version: 0.3.29
11
11
  platform: ruby
12
12
  authors:
13
13
  - Jake Sorce, Bryan Madsen, Shawn Meredith
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-10-30 00:00:00 Z
18
+ date: 2012-10-31 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: parallel