rspec-rerun 0.1.3 → 0.2.0
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.
- checksums.yaml +7 -0
- data/.gitignore +3 -0
- data/.rspec +3 -0
- data/.rubocop.yml +27 -0
- data/.travis.yml +18 -0
- data/CHANGELOG.md +32 -0
- data/Gemfile +3 -0
- data/LICENSE.md +1 -1
- data/README.md +1 -1
- data/Rakefile +27 -0
- data/lib/rspec-rerun/formatters/failures_formatter.rb +4 -9
- data/lib/rspec-rerun/version.rb +1 -3
- data/lib/tasks/rspec.rake +8 -2
- data/rspec-rerun.gemspec +19 -0
- data/rspec-rerun.png +0 -0
- data/spec-runs/fails_once_spec.rb +13 -0
- data/spec-runs/fails_twice_spec.rb +20 -0
- data/spec-runs/succeeds_spec.rb +7 -0
- data/spec/rspec-rerun/formatters/failures_formatter_spec.rb +55 -0
- data/spec/rspec-rerun/tasks/rspec_task_spec.rb +90 -0
- data/spec/rspec-rerun/version_spec.rb +8 -0
- data/spec/spec_helper.rb +13 -0
- data/spec/support/silence_stream.rb +8 -0
- data/spec/support/system.rb +4 -0
- metadata +55 -40
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 134c8ec35696f70df71be92ceb94e794a771ce31
|
4
|
+
data.tar.gz: a528f3dcb318a4de70865851fe2ffc50956a7791
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: afa781d2506ec6b588878d5de5d8b0debbcb1269a9c0779ab53e63ead1a592068a48c0ab08a3ed219cb84950edcf1e2bc0d8a52b0e722f208be4cb1a1181dab3
|
7
|
+
data.tar.gz: 79b82066a6ed3aeca3f573319237e44d668057fa365888c17765af257bc5fedb83d5052277ba4714af5f53b1ebe8ff87aa8729e9b805ffeed3cbe2d707fda3ce
|
data/.gitignore
ADDED
data/.rspec
ADDED
data/.rubocop.yml
ADDED
@@ -0,0 +1,27 @@
|
|
1
|
+
AllCops:
|
2
|
+
Exclude:
|
3
|
+
- vendor/**
|
4
|
+
|
5
|
+
LineLength:
|
6
|
+
Enabled: false
|
7
|
+
|
8
|
+
MethodLength:
|
9
|
+
Enabled: false
|
10
|
+
|
11
|
+
ClassLength:
|
12
|
+
Enabled: false
|
13
|
+
|
14
|
+
Documentation:
|
15
|
+
# don't require classes to be documented
|
16
|
+
Enabled: false
|
17
|
+
|
18
|
+
Encoding:
|
19
|
+
# no need to always specify encoding
|
20
|
+
Enabled: false
|
21
|
+
|
22
|
+
FileName:
|
23
|
+
Enabled: false
|
24
|
+
|
25
|
+
SpecialGlobalVars:
|
26
|
+
Enabled: false
|
27
|
+
|
data/.travis.yml
ADDED
data/CHANGELOG.md
ADDED
@@ -0,0 +1,32 @@
|
|
1
|
+
0.2.0
|
2
|
+
-----
|
3
|
+
|
4
|
+
* [#20](https://github.com/dblock/rspec-rerun/pull/20): Added support for ~/.rspec - [@grosser](https://github.com/grosser).
|
5
|
+
* [#14](https://github.com/dblock/rspec-rerun/issues/14), [#2](https://github.com/dblock/rspec-rerun/issues/2), [#19](https://github.com/dblock/rspec-rerun/pull/19): Additionally use progress or other formatter specified in .rspec - [@grosser](https://github.com/grosser).
|
6
|
+
* [#12](https://github.com/dblock/rspec-rerun/issues/12): Fixing execution of tests without names - [@KurtPreston](https://github.com/KurtPreston).
|
7
|
+
* Removed Jeweler and rewritten rspec-rerun.gemspec - [@dblock](https://github.com/dblock).
|
8
|
+
* Added Rubocop, Ruby-style linter - [@dblock](https://github.com/dblock).
|
9
|
+
|
10
|
+
0.1.3
|
11
|
+
-----
|
12
|
+
|
13
|
+
* [#10](https://github.com/dblock/rspec-rerun/pull/10): Add optional `retry_count` argument to `rspec-rerun:spec` - [@mzikherman](https://github.com/mzikherman), [@dblock](https://github.com/dblock).
|
14
|
+
* Added support for `RSPEC_RERUN_RETRY_COUNT` and `RSPEC_RERUN_PATTERN` environment variables - [@dblock](https://github.com/dblock).
|
15
|
+
* Report failed count and log rake task retry messages to `$stderr` - [@dblock](https://github.com/dblock).
|
16
|
+
|
17
|
+
0.1.2
|
18
|
+
-----
|
19
|
+
|
20
|
+
* Fix failed `rake rspec-rerun:rerun` being falsely reported as success - [@jonleighton](https://github.com/jonleighton).
|
21
|
+
* [#9](https://github.com/dblock/rspec-rerun/pull/9): Added test for the `rspec-rerun:spec` Rake task - [@errm](https://github.com/errm).
|
22
|
+
|
23
|
+
0.1.1
|
24
|
+
-----
|
25
|
+
|
26
|
+
* Added logo - [@dblock](https://github.com/dblock).
|
27
|
+
* [#1](https://github.com/dblock/rspec-rerun/issues/1): Require `rspec/core/rake_task` explicitly in `rspec.rake` - [@dblock](https://github.com/dblock), [@TylerRick](https://github.com/TylerRick).
|
28
|
+
|
29
|
+
0.1.0
|
30
|
+
-----
|
31
|
+
|
32
|
+
* Initial public release, including `RSpec::Rerun::Formatters::FailuresFormatter` and the `rspec-rerun:run`, `rspec-rerun:rerun`, and `rspec-rerun:spec` Rake tasks - [@dblock](https://github.com/dblock).
|
data/Gemfile
ADDED
data/LICENSE.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
MIT License
|
2
2
|
|
3
|
-
Copyright (c) 2012-
|
3
|
+
Copyright (c) 2012-2014, Artsy Inc., Daniel Doubrovkine and Contributors
|
4
4
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining
|
6
6
|
a copy of this software and associated documentation files (the
|
data/README.md
CHANGED
@@ -56,5 +56,5 @@ Copyright and License
|
|
56
56
|
|
57
57
|
MIT License, see [LICENSE](https://github.com/dblock/rspec-rerun/blob/master/LICENSE.md) for details.
|
58
58
|
|
59
|
-
(c) 2012-
|
59
|
+
(c) 2012-2014 [Artsy Inc.](http://artsy.github.com), [Daniel Doubrovkine](https://github.com/dblock) and [Contributors](https://github.com/dblock/rspec-rerun/blob/master/CHANGELOG.md)
|
60
60
|
|
data/Rakefile
ADDED
@@ -0,0 +1,27 @@
|
|
1
|
+
require 'rubygems'
|
2
|
+
require 'bundler'
|
3
|
+
|
4
|
+
libdir = File.expand_path('../lib', __FILE__)
|
5
|
+
$LOAD_PATH.unshift(libdir) unless $LOAD_PATH.include?(libdir)
|
6
|
+
|
7
|
+
require 'rspec-rerun'
|
8
|
+
|
9
|
+
begin
|
10
|
+
Bundler.setup(:default, :development)
|
11
|
+
rescue Bundler::BundlerError => e
|
12
|
+
$stderr.puts e.message
|
13
|
+
$stderr.puts 'Run `bundle install` to install missing gems'
|
14
|
+
exit e.status_code
|
15
|
+
end
|
16
|
+
|
17
|
+
require 'rake'
|
18
|
+
|
19
|
+
Bundler::GemHelper.install_tasks
|
20
|
+
|
21
|
+
require 'rspec/core'
|
22
|
+
require 'rspec/core/rake_task'
|
23
|
+
|
24
|
+
require 'rubocop/rake_task'
|
25
|
+
RuboCop::RakeTask.new(:rubocop)
|
26
|
+
|
27
|
+
task default: [:rubocop, 'rspec-rerun:spec']
|
@@ -4,12 +4,11 @@ module RSpec
|
|
4
4
|
module Rerun
|
5
5
|
module Formatters
|
6
6
|
class FailuresFormatter < RSpec::Core::Formatters::BaseFormatter
|
7
|
-
|
8
|
-
FILENAME = "rspec.failures"
|
7
|
+
FILENAME = 'rspec.failures'
|
9
8
|
|
10
9
|
def dump_failures
|
11
10
|
return if failed_examples.empty?
|
12
|
-
f = File.new(FILENAME,
|
11
|
+
f = File.new(FILENAME, 'w+')
|
13
12
|
failed_examples.each do |example|
|
14
13
|
f.puts retry_command(example)
|
15
14
|
end
|
@@ -17,16 +16,12 @@ module RSpec
|
|
17
16
|
end
|
18
17
|
|
19
18
|
def retry_command(example)
|
20
|
-
|
21
|
-
"-e \"#{example_name}\""
|
19
|
+
example.location.gsub("\"", "\\\"")
|
22
20
|
end
|
23
21
|
|
24
22
|
def clean!
|
25
|
-
|
26
|
-
File.delete FILENAME
|
27
|
-
end
|
23
|
+
File.delete FILENAME if File.exist? FILENAME
|
28
24
|
end
|
29
|
-
|
30
25
|
end
|
31
26
|
end
|
32
27
|
end
|
data/lib/rspec-rerun/version.rb
CHANGED
data/lib/tasks/rspec.rake
CHANGED
@@ -2,21 +2,27 @@ require 'rspec/core/rake_task'
|
|
2
2
|
|
3
3
|
desc "Run RSpec examples."
|
4
4
|
RSpec::Core::RakeTask.new("rspec-rerun:run") do |t|
|
5
|
+
dot_rspec = [".rspec", File.expand_path("~/.rspec")].detect { |f| File.exist?(f) }
|
6
|
+
dot_rspec = (dot_rspec ? File.read(dot_rspec).split(/\n+/).map { |l| l.shellsplit } : [])
|
7
|
+
dot_rspec.concat ["--format", "progress"] unless dot_rspec.include?("--format")
|
8
|
+
|
5
9
|
t.pattern = ENV['RSPEC_RERUN_PATTERN'] if ENV['RSPEC_RERUN_PATTERN']
|
6
10
|
t.fail_on_error = false
|
7
11
|
t.rspec_opts = [
|
8
12
|
"--require", File.join(File.dirname(__FILE__), '../rspec-rerun'),
|
9
13
|
"--format", "RSpec::Rerun::Formatters::FailuresFormatter",
|
10
|
-
|
14
|
+
*dot_rspec
|
11
15
|
].flatten
|
12
16
|
end
|
13
17
|
|
14
18
|
desc "Re-run failed RSpec examples."
|
15
19
|
RSpec::Core::RakeTask.new("rspec-rerun:rerun") do |t|
|
20
|
+
failing_specs = File.read(RSpec::Rerun::Formatters::FailuresFormatter::FILENAME).split
|
21
|
+
|
16
22
|
t.pattern = ENV['RSPEC_RERUN_PATTERN'] if ENV['RSPEC_RERUN_PATTERN']
|
17
23
|
t.fail_on_error = false
|
18
24
|
t.rspec_opts = [
|
19
|
-
|
25
|
+
failing_specs.join(' '),
|
20
26
|
"--require", File.join(File.dirname(__FILE__), '../rspec-rerun'),
|
21
27
|
"--format", "RSpec::Rerun::Formatters::FailuresFormatter",
|
22
28
|
File.exist?(".rspec") ? File.read(".rspec").split(/\n+/).map { |l| l.shellsplit } : nil
|
data/rspec-rerun.gemspec
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
require './lib/rspec-rerun/version'
|
2
|
+
|
3
|
+
Gem::Specification.new do |s|
|
4
|
+
s.name = 'rspec-rerun'
|
5
|
+
s.version = RSpec::Rerun::VERSION
|
6
|
+
s.authors = ['Daniel Doubrovkine']
|
7
|
+
s.summary = 'Re-run failed RSpec tests.'
|
8
|
+
s.email = 'dblock@dblock.org'
|
9
|
+
s.homepage = 'https://github.com/dblock/rspec-rerun'
|
10
|
+
s.license = 'MIT'
|
11
|
+
s.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR)
|
12
|
+
s.test_files = s.files.grep(/^(spec)\//)
|
13
|
+
|
14
|
+
s.add_runtime_dependency 'rspec', '>= 2.11.0', '< 3'
|
15
|
+
|
16
|
+
s.add_development_dependency 'rake'
|
17
|
+
s.add_development_dependency 'bundler'
|
18
|
+
s.add_development_dependency 'rubocop', '0.24.1'
|
19
|
+
end
|
data/rspec-rerun.png
ADDED
Binary file
|
@@ -0,0 +1,20 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe 'Fails' do
|
4
|
+
it 'twice' do
|
5
|
+
filename_once = ENV['RSPEC_RERUN_MARKER']
|
6
|
+
filename_twice = File.join(File.dirname(filename_once), 'fail_twice.state')
|
7
|
+
if File.exist? filename_once
|
8
|
+
File.delete filename_once
|
9
|
+
File.open filename_twice, 'w' do |f|
|
10
|
+
f.write 'fail'
|
11
|
+
end
|
12
|
+
fail
|
13
|
+
elsif File.exist? filename_twice
|
14
|
+
File.delete filename_twice
|
15
|
+
fail
|
16
|
+
else
|
17
|
+
true.should eq true
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
@@ -0,0 +1,55 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
require 'stringio'
|
3
|
+
|
4
|
+
describe RSpec::Rerun::Formatters::FailuresFormatter do
|
5
|
+
|
6
|
+
let(:output) { StringIO.new }
|
7
|
+
let(:formatter) { RSpec::Rerun::Formatters::FailuresFormatter.new(output) }
|
8
|
+
let(:example) { RSpec::Core::ExampleGroup.describe.example 'test' }
|
9
|
+
let(:failures_file) { RSpec::Rerun::Formatters::FailuresFormatter::FILENAME }
|
10
|
+
|
11
|
+
before { FileUtils.rm(failures_file) if File.exist?(failures_file) }
|
12
|
+
after { FileUtils.rm(failures_file) if File.exist?(failures_file) }
|
13
|
+
|
14
|
+
describe 'example_passed' do
|
15
|
+
it 'should not create an rspec.failures file' do
|
16
|
+
formatter.example_passed(example)
|
17
|
+
formatter.dump_failures
|
18
|
+
File.exist?(failures_file).should eq false
|
19
|
+
end
|
20
|
+
end
|
21
|
+
|
22
|
+
describe 'example_failed' do
|
23
|
+
it 'should create an rspec.failures file' do
|
24
|
+
formatter.example_failed(example)
|
25
|
+
formatter.dump_failures
|
26
|
+
File.exist?(failures_file).should eq true
|
27
|
+
File.read(failures_file).strip.should == example.location
|
28
|
+
end
|
29
|
+
it 'should create one line per failed example' do
|
30
|
+
2.times { formatter.example_failed(example) }
|
31
|
+
formatter.dump_failures
|
32
|
+
File.exist?(failures_file).should eq true
|
33
|
+
File.read(failures_file).split("\n").should == [example.location, example.location]
|
34
|
+
end
|
35
|
+
end
|
36
|
+
|
37
|
+
describe 'clean!' do
|
38
|
+
it "doesn't raise errors when the retry file doesn't exist" do
|
39
|
+
-> { formatter.clean! }.should_not raise_error
|
40
|
+
end
|
41
|
+
it 'deletes the retry file' do
|
42
|
+
File.open(failures_file, 'w+') do |f|
|
43
|
+
f.puts 'test'
|
44
|
+
end
|
45
|
+
File.exist?(failures_file).should eq true
|
46
|
+
formatter.clean!
|
47
|
+
File.exist?(failures_file).should eq false
|
48
|
+
end
|
49
|
+
end
|
50
|
+
|
51
|
+
after :each do
|
52
|
+
formatter.clean!
|
53
|
+
end
|
54
|
+
|
55
|
+
end
|
@@ -0,0 +1,90 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe 'RakeTask' do
|
4
|
+
let(:root) { File.join(File.dirname(__FILE__), '../../..') }
|
5
|
+
before :each do
|
6
|
+
@filename = File.join(root, 'fail_once.state')
|
7
|
+
File.open @filename, 'w' do |f|
|
8
|
+
f.write 'fail'
|
9
|
+
end
|
10
|
+
end
|
11
|
+
|
12
|
+
around :each do |example|
|
13
|
+
silence_stream STDOUT do
|
14
|
+
Dir.mktmpdir do |dir|
|
15
|
+
ENV['HOME'] = dir
|
16
|
+
example.run
|
17
|
+
end
|
18
|
+
end
|
19
|
+
FileUtils.rm_f @filename
|
20
|
+
end
|
21
|
+
|
22
|
+
it 'succeeds' do
|
23
|
+
system! "cd #{root} && RSPEC_RERUN_MARKER=#{@filename} RSPEC_RERUN_PATTERN=spec-runs/succeeds_spec.rb rake rspec-rerun:spec"
|
24
|
+
end
|
25
|
+
|
26
|
+
it 'retries a spec failure once' do
|
27
|
+
system! "cd #{root} && RSPEC_RERUN_MARKER=#{@filename} RSPEC_RERUN_PATTERN=spec-runs/fails_once_spec.rb rake rspec-rerun:spec"
|
28
|
+
end
|
29
|
+
|
30
|
+
it 'retries a spec failure twice' do
|
31
|
+
system! "cd #{root} && RSPEC_RERUN_MARKER=#{@filename} RSPEC_RERUN_PATTERN=spec-runs/fails_twice_spec.rb rake rspec-rerun:spec[2]"
|
32
|
+
end
|
33
|
+
|
34
|
+
it 'retries a spec failure via RSPEC_RERUN_RETRY_COUNT' do
|
35
|
+
system! "cd #{root} && RSPEC_RERUN_RETRY_COUNT=2 RSPEC_RERUN_MARKER=#{@filename} RSPEC_RERUN_PATTERN=spec-runs/fails_twice_spec.rb rake rspec-rerun:spec[2]"
|
36
|
+
end
|
37
|
+
|
38
|
+
it 'does not retry via RSPEC_RERUN_RETRY_COUNT=0' do
|
39
|
+
expect do
|
40
|
+
system! "cd #{root} && RSPEC_RERUN_RETRY_COUNT=0 RSPEC_RERUN_MARKER=#{@filename} RSPEC_RERUN_PATTERN=spec-runs/fails_once_spec.rb rake rspec-rerun:spec"
|
41
|
+
end.to raise_error RuntimeError, /failed with exit code 1/
|
42
|
+
end
|
43
|
+
|
44
|
+
it 'fails with one too few retry counts' do
|
45
|
+
expect do
|
46
|
+
system! "cd #{root} && RSPEC_RERUN_MARKER=#{@filename} RSPEC_RERUN_PATTERN=spec-runs/fails_twice_spec.rb rake rspec-rerun:spec"
|
47
|
+
end.to raise_error RuntimeError, /failed with exit code 1/
|
48
|
+
end
|
49
|
+
|
50
|
+
it 'fails with one too few retry counts set via RSPEC_RERUN_RETRY_COUNT' do
|
51
|
+
expect do
|
52
|
+
system! "cd #{root} && RSPEC_RERUN_RETRY_COUNT=1 RSPEC_RERUN_MARKER=#{@filename} RSPEC_RERUN_PATTERN=spec-runs/fails_twice_spec.rb rake rspec-rerun:spec"
|
53
|
+
end.to raise_error RuntimeError, /failed with exit code 1/
|
54
|
+
end
|
55
|
+
|
56
|
+
context 'preserving .rspec' do
|
57
|
+
let(:dot_rspec) { "#{root}/.rspec" }
|
58
|
+
let(:home_rspec) { File.expand_path('~/.rspec') }
|
59
|
+
let(:run) { `cd #{root} && RSPEC_RERUN_RETRY_COUNT=1 RSPEC_RERUN_MARKER=#{@filename} RSPEC_RERUN_PATTERN=spec-runs/fails_twice_spec.rb rake rspec-rerun:spec 2>&1` }
|
60
|
+
|
61
|
+
around :each do |test|
|
62
|
+
begin
|
63
|
+
old = File.read(dot_rspec)
|
64
|
+
File.unlink(dot_rspec)
|
65
|
+
test.call
|
66
|
+
ensure
|
67
|
+
File.write(dot_rspec, old)
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
71
|
+
it 'also uses progress if there is not .rspec' do
|
72
|
+
run.should include '--format progress'
|
73
|
+
end
|
74
|
+
|
75
|
+
it 'also uses progress if formatter is not given' do
|
76
|
+
File.write(dot_rspec, '--color')
|
77
|
+
run.should include '--format progress'
|
78
|
+
end
|
79
|
+
|
80
|
+
it 'also uses given formatter' do
|
81
|
+
File.write(dot_rspec, "--color\n--format documentation")
|
82
|
+
run.should include '--format documentation'
|
83
|
+
end
|
84
|
+
|
85
|
+
it 'also uses given formatter from home' do
|
86
|
+
File.write(File.expand_path('~/.rspec'), "--color\n--format documentation")
|
87
|
+
run.should include '--format documentation'
|
88
|
+
end
|
89
|
+
end
|
90
|
+
end
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
|
2
|
+
$LOAD_PATH.unshift(File.dirname(__FILE__))
|
3
|
+
|
4
|
+
require 'rspec'
|
5
|
+
require 'rake'
|
6
|
+
require 'rspec-rerun'
|
7
|
+
require 'tmpdir'
|
8
|
+
|
9
|
+
%w(support examples).each do |dir|
|
10
|
+
Dir[File.join(File.dirname(__FILE__), dir, '*.rb')].each do |file|
|
11
|
+
require file
|
12
|
+
end
|
13
|
+
end
|
metadata
CHANGED
@@ -1,120 +1,135 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rspec-rerun
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
5
|
-
prerelease:
|
4
|
+
version: 0.2.0
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Daniel Doubrovkine
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2014-08-18 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: rspec
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
|
-
- -
|
17
|
+
- - '>='
|
20
18
|
- !ruby/object:Gem::Version
|
21
19
|
version: 2.11.0
|
20
|
+
- - <
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: '3'
|
22
23
|
type: :runtime
|
23
24
|
prerelease: false
|
24
25
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
26
|
requirements:
|
27
|
-
- -
|
27
|
+
- - '>='
|
28
28
|
- !ruby/object:Gem::Version
|
29
29
|
version: 2.11.0
|
30
|
+
- - <
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '3'
|
30
33
|
- !ruby/object:Gem::Dependency
|
31
|
-
name:
|
34
|
+
name: rake
|
32
35
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
36
|
requirements:
|
35
|
-
- -
|
37
|
+
- - '>='
|
36
38
|
- !ruby/object:Gem::Version
|
37
39
|
version: '0'
|
38
40
|
type: :development
|
39
41
|
prerelease: false
|
40
42
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
43
|
requirements:
|
43
|
-
- -
|
44
|
+
- - '>='
|
44
45
|
- !ruby/object:Gem::Version
|
45
46
|
version: '0'
|
46
47
|
- !ruby/object:Gem::Dependency
|
47
|
-
name:
|
48
|
+
name: bundler
|
48
49
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
50
|
requirements:
|
51
|
-
- -
|
51
|
+
- - '>='
|
52
52
|
- !ruby/object:Gem::Version
|
53
53
|
version: '0'
|
54
54
|
type: :development
|
55
55
|
prerelease: false
|
56
56
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
57
|
requirements:
|
59
|
-
- -
|
58
|
+
- - '>='
|
60
59
|
- !ruby/object:Gem::Version
|
61
60
|
version: '0'
|
62
61
|
- !ruby/object:Gem::Dependency
|
63
|
-
name:
|
62
|
+
name: rubocop
|
64
63
|
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
64
|
requirements:
|
67
|
-
- -
|
65
|
+
- - '='
|
68
66
|
- !ruby/object:Gem::Version
|
69
|
-
version:
|
67
|
+
version: 0.24.1
|
70
68
|
type: :development
|
71
69
|
prerelease: false
|
72
70
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
71
|
requirements:
|
75
|
-
- -
|
72
|
+
- - '='
|
76
73
|
- !ruby/object:Gem::Version
|
77
|
-
version:
|
78
|
-
description:
|
74
|
+
version: 0.24.1
|
75
|
+
description:
|
79
76
|
email: dblock@dblock.org
|
80
77
|
executables: []
|
81
78
|
extensions: []
|
82
|
-
extra_rdoc_files:
|
79
|
+
extra_rdoc_files: []
|
80
|
+
files:
|
81
|
+
- .gitignore
|
82
|
+
- .rspec
|
83
|
+
- .rubocop.yml
|
84
|
+
- .travis.yml
|
85
|
+
- CHANGELOG.md
|
86
|
+
- Gemfile
|
83
87
|
- LICENSE.md
|
84
88
|
- README.md
|
85
|
-
|
89
|
+
- Rakefile
|
86
90
|
- lib/rspec-rerun.rb
|
87
91
|
- lib/rspec-rerun/formatters/failures_formatter.rb
|
88
92
|
- lib/rspec-rerun/version.rb
|
89
93
|
- lib/tasks/rspec.rake
|
90
|
-
-
|
91
|
-
-
|
92
|
-
|
94
|
+
- rspec-rerun.gemspec
|
95
|
+
- rspec-rerun.png
|
96
|
+
- spec-runs/fails_once_spec.rb
|
97
|
+
- spec-runs/fails_twice_spec.rb
|
98
|
+
- spec-runs/succeeds_spec.rb
|
99
|
+
- spec/rspec-rerun/formatters/failures_formatter_spec.rb
|
100
|
+
- spec/rspec-rerun/tasks/rspec_task_spec.rb
|
101
|
+
- spec/rspec-rerun/version_spec.rb
|
102
|
+
- spec/spec_helper.rb
|
103
|
+
- spec/support/silence_stream.rb
|
104
|
+
- spec/support/system.rb
|
105
|
+
homepage: https://github.com/dblock/rspec-rerun
|
93
106
|
licenses:
|
94
107
|
- MIT
|
108
|
+
metadata: {}
|
95
109
|
post_install_message:
|
96
110
|
rdoc_options: []
|
97
111
|
require_paths:
|
98
112
|
- lib
|
99
113
|
required_ruby_version: !ruby/object:Gem::Requirement
|
100
|
-
none: false
|
101
114
|
requirements:
|
102
|
-
- -
|
115
|
+
- - '>='
|
103
116
|
- !ruby/object:Gem::Version
|
104
117
|
version: '0'
|
105
|
-
segments:
|
106
|
-
- 0
|
107
|
-
hash: 1999651866923544881
|
108
118
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
109
|
-
none: false
|
110
119
|
requirements:
|
111
|
-
- -
|
120
|
+
- - '>='
|
112
121
|
- !ruby/object:Gem::Version
|
113
122
|
version: '0'
|
114
123
|
requirements: []
|
115
124
|
rubyforge_project:
|
116
|
-
rubygems_version:
|
125
|
+
rubygems_version: 2.0.14
|
117
126
|
signing_key:
|
118
|
-
specification_version:
|
127
|
+
specification_version: 4
|
119
128
|
summary: Re-run failed RSpec tests.
|
120
|
-
test_files:
|
129
|
+
test_files:
|
130
|
+
- spec/rspec-rerun/formatters/failures_formatter_spec.rb
|
131
|
+
- spec/rspec-rerun/tasks/rspec_task_spec.rb
|
132
|
+
- spec/rspec-rerun/version_spec.rb
|
133
|
+
- spec/spec_helper.rb
|
134
|
+
- spec/support/silence_stream.rb
|
135
|
+
- spec/support/system.rb
|