parallelized_specs 0.3.19 → 0.3.20

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.3.19"
15
+ gem.version = "0.3.20"
16
16
  end
17
17
  Jeweler::GemcutterTasks.new
18
18
  rescue LoadError
@@ -40,9 +40,9 @@ module RSpec
40
40
  rerun_failed_examples = false
41
41
  @rerun_failures ||= []
42
42
  @rerun_passes ||= []
43
- @error_count = %x{wc -l "#{RAILS_ROOT}/#{FILENAME}"}.match(/\d/).to_s #counts the number of lines in the file
43
+ @error_count = %x{wc -l "#{FILENAME}"}.match(/\d/).to_s #counts the number of lines in the file
44
44
 
45
- File.open("#{RAILS_ROOT}/#{FILENAME}").each_line do |l|
45
+ File.open("#{FILENAME}").each_line do |l|
46
46
  if @error_count.to_i > 1 && 10 # if there is 1 line but less that 10 errors the rerun will run
47
47
  rerun_failed_examples = true
48
48
  result = %x[bundle exec rake spec #{l}]
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "parallelized_specs"
8
- s.version = "0.3.19"
8
+ s.version = "0.3.20"
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,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: parallelized_specs
3
3
  version: !ruby/object:Gem::Version
4
- hash: 53
4
+ hash: 59
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 19
10
- version: 0.3.19
9
+ - 20
10
+ version: 0.3.20
11
11
  platform: ruby
12
12
  authors:
13
13
  - Jake Sorce, Bryan Madsen, Shawn Meredith