rspec-retry 0.5.2 → 0.5.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/changelog.md +6 -1
- data/gemfiles/rspec_3.3.gemfile.lock +11 -42
- data/gemfiles/rspec_3.4.gemfile.lock +8 -39
- data/gemfiles/rspec_3.5.gemfile.lock +9 -40
- data/lib/rspec/retry/formatter.rb +5 -5
- data/lib/rspec/retry/version.rb +1 -1
- data/rspec-retry.gemspec +0 -1
- metadata +3 -17
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 180ff9932ba9a43e9cb1974ef56e8fd1d4cbe995
|
4
|
+
data.tar.gz: f64baa8a83b6f78856983e0251bd2527b9102935
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0bf05b8ed1076476fd6987201f047c265e199796adf263116cfaa9338767c8b3c4f067ef205614189b9a7fe1f7daedb458f426c417b38e858db53cee823cd88f
|
7
|
+
data.tar.gz: f60952311e333b44129fff53107cf3fabeac7765afe1bbae292bccb0c8fe6eff72e3bd7cc1862229834cfb2d0b0acbe910c31dd32a91c9a70da1079ff74b5aa2
|
data/changelog.md
CHANGED
@@ -1,4 +1,9 @@
|
|
1
|
-
# 0.5.
|
1
|
+
# 0.5.3 - 2017-01-11
|
2
|
+
## enhancements
|
3
|
+
printing summary of rspec to output not STDOUT (thanks @trevorcreech / #68)
|
4
|
+
removing some development dependencies
|
5
|
+
|
6
|
+
# 0.5.2 - 2016-10-03
|
2
7
|
## bugfixes
|
3
8
|
supports versions > 3.5.0 (thanks @y-yagi / #65)
|
4
9
|
|
@@ -1,71 +1,41 @@
|
|
1
1
|
PATH
|
2
2
|
remote: ../
|
3
3
|
specs:
|
4
|
-
rspec-retry (0.5.
|
4
|
+
rspec-retry (0.5.3)
|
5
5
|
rspec-core (~> 3.3)
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: https://rubygems.org/
|
9
9
|
specs:
|
10
|
-
appraisal (2.0
|
10
|
+
appraisal (2.1.0)
|
11
11
|
bundler
|
12
12
|
rake
|
13
13
|
thor (>= 0.14.0)
|
14
|
-
byebug (
|
15
|
-
|
16
|
-
coderay (1.1.0)
|
17
|
-
columnize (0.9.0)
|
14
|
+
byebug (9.0.6)
|
15
|
+
coderay (1.1.1)
|
18
16
|
diff-lcs (1.2.5)
|
19
|
-
ffi (1.9.9)
|
20
|
-
formatador (0.2.5)
|
21
|
-
guard (2.12.7)
|
22
|
-
formatador (>= 0.2.4)
|
23
|
-
listen (>= 2.7, <= 4.0)
|
24
|
-
lumberjack (~> 1.0)
|
25
|
-
nenv (~> 0.1)
|
26
|
-
notiffany (~> 0.0)
|
27
|
-
pry (>= 0.9.12)
|
28
|
-
shellany (~> 0.0)
|
29
|
-
thor (>= 0.18.1)
|
30
|
-
guard-compat (1.2.1)
|
31
|
-
guard-rspec (4.6.0)
|
32
|
-
guard (~> 2.1)
|
33
|
-
guard-compat (~> 1.1)
|
34
|
-
rspec (>= 2.99.0, < 4.0)
|
35
|
-
listen (3.0.0)
|
36
|
-
rb-fsevent (>= 0.9.3)
|
37
|
-
rb-inotify (>= 0.9)
|
38
|
-
lumberjack (1.0.9)
|
39
17
|
method_source (0.8.2)
|
40
|
-
|
41
|
-
notiffany (0.0.6)
|
42
|
-
nenv (~> 0.1)
|
43
|
-
shellany (~> 0.0)
|
44
|
-
pry (0.10.1)
|
18
|
+
pry (0.10.4)
|
45
19
|
coderay (~> 1.1.0)
|
46
20
|
method_source (~> 0.8.1)
|
47
21
|
slop (~> 3.4)
|
48
|
-
pry-byebug (3.
|
49
|
-
byebug (~>
|
22
|
+
pry-byebug (3.4.0)
|
23
|
+
byebug (~> 9.0)
|
50
24
|
pry (~> 0.10)
|
51
|
-
rake (
|
52
|
-
rb-fsevent (0.9.5)
|
53
|
-
rb-inotify (0.9.5)
|
54
|
-
ffi (>= 0.5.0)
|
25
|
+
rake (11.3.0)
|
55
26
|
rspec (3.3.0)
|
56
27
|
rspec-core (~> 3.3.0)
|
57
28
|
rspec-expectations (~> 3.3.0)
|
58
29
|
rspec-mocks (~> 3.3.0)
|
59
|
-
rspec-core (3.3.
|
30
|
+
rspec-core (3.3.2)
|
60
31
|
rspec-support (~> 3.3.0)
|
61
|
-
rspec-expectations (3.3.
|
32
|
+
rspec-expectations (3.3.1)
|
62
33
|
diff-lcs (>= 1.2.0, < 2.0)
|
63
34
|
rspec-support (~> 3.3.0)
|
64
|
-
rspec-mocks (3.3.
|
35
|
+
rspec-mocks (3.3.2)
|
65
36
|
diff-lcs (>= 1.2.0, < 2.0)
|
66
37
|
rspec-support (~> 3.3.0)
|
67
38
|
rspec-support (3.3.0)
|
68
|
-
shellany (0.0.1)
|
69
39
|
slop (3.6.0)
|
70
40
|
thor (0.19.1)
|
71
41
|
|
@@ -74,7 +44,6 @@ PLATFORMS
|
|
74
44
|
|
75
45
|
DEPENDENCIES
|
76
46
|
appraisal
|
77
|
-
guard-rspec
|
78
47
|
pry-byebug
|
79
48
|
rspec (~> 3.3.0)
|
80
49
|
rspec-retry!
|
@@ -1,57 +1,28 @@
|
|
1
1
|
PATH
|
2
2
|
remote: ../
|
3
3
|
specs:
|
4
|
-
rspec-retry (0.5.
|
4
|
+
rspec-retry (0.5.3)
|
5
5
|
rspec-core (~> 3.3)
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: https://rubygems.org/
|
9
9
|
specs:
|
10
|
-
appraisal (2.0
|
10
|
+
appraisal (2.1.0)
|
11
11
|
bundler
|
12
12
|
rake
|
13
13
|
thor (>= 0.14.0)
|
14
|
-
byebug (
|
15
|
-
|
16
|
-
coderay (1.1.0)
|
17
|
-
columnize (0.9.0)
|
14
|
+
byebug (9.0.6)
|
15
|
+
coderay (1.1.1)
|
18
16
|
diff-lcs (1.2.5)
|
19
|
-
ffi (1.9.9)
|
20
|
-
formatador (0.2.5)
|
21
|
-
guard (2.12.7)
|
22
|
-
formatador (>= 0.2.4)
|
23
|
-
listen (>= 2.7, <= 4.0)
|
24
|
-
lumberjack (~> 1.0)
|
25
|
-
nenv (~> 0.1)
|
26
|
-
notiffany (~> 0.0)
|
27
|
-
pry (>= 0.9.12)
|
28
|
-
shellany (~> 0.0)
|
29
|
-
thor (>= 0.18.1)
|
30
|
-
guard-compat (1.2.1)
|
31
|
-
guard-rspec (4.6.0)
|
32
|
-
guard (~> 2.1)
|
33
|
-
guard-compat (~> 1.1)
|
34
|
-
rspec (>= 2.99.0, < 4.0)
|
35
|
-
listen (3.0.0)
|
36
|
-
rb-fsevent (>= 0.9.3)
|
37
|
-
rb-inotify (>= 0.9)
|
38
|
-
lumberjack (1.0.9)
|
39
17
|
method_source (0.8.2)
|
40
|
-
|
41
|
-
notiffany (0.0.6)
|
42
|
-
nenv (~> 0.1)
|
43
|
-
shellany (~> 0.0)
|
44
|
-
pry (0.10.1)
|
18
|
+
pry (0.10.4)
|
45
19
|
coderay (~> 1.1.0)
|
46
20
|
method_source (~> 0.8.1)
|
47
21
|
slop (~> 3.4)
|
48
|
-
pry-byebug (3.
|
49
|
-
byebug (~>
|
22
|
+
pry-byebug (3.4.0)
|
23
|
+
byebug (~> 9.0)
|
50
24
|
pry (~> 0.10)
|
51
|
-
rake (
|
52
|
-
rb-fsevent (0.9.5)
|
53
|
-
rb-inotify (0.9.5)
|
54
|
-
ffi (>= 0.5.0)
|
25
|
+
rake (11.3.0)
|
55
26
|
rspec (3.4.0)
|
56
27
|
rspec-core (~> 3.4.0)
|
57
28
|
rspec-expectations (~> 3.4.0)
|
@@ -65,7 +36,6 @@ GEM
|
|
65
36
|
diff-lcs (>= 1.2.0, < 2.0)
|
66
37
|
rspec-support (~> 3.4.0)
|
67
38
|
rspec-support (3.4.1)
|
68
|
-
shellany (0.0.1)
|
69
39
|
slop (3.6.0)
|
70
40
|
thor (0.19.1)
|
71
41
|
|
@@ -74,7 +44,6 @@ PLATFORMS
|
|
74
44
|
|
75
45
|
DEPENDENCIES
|
76
46
|
appraisal
|
77
|
-
guard-rspec
|
78
47
|
pry-byebug
|
79
48
|
rspec (~> 3.4.0)
|
80
49
|
rspec-retry!
|
@@ -1,62 +1,33 @@
|
|
1
1
|
PATH
|
2
2
|
remote: ../
|
3
3
|
specs:
|
4
|
-
rspec-retry (0.5.
|
4
|
+
rspec-retry (0.5.3)
|
5
5
|
rspec-core (~> 3.3)
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: https://rubygems.org/
|
9
9
|
specs:
|
10
|
-
appraisal (2.0
|
10
|
+
appraisal (2.1.0)
|
11
11
|
bundler
|
12
12
|
rake
|
13
13
|
thor (>= 0.14.0)
|
14
|
-
byebug (
|
15
|
-
|
16
|
-
coderay (1.1.0)
|
17
|
-
columnize (0.9.0)
|
14
|
+
byebug (9.0.6)
|
15
|
+
coderay (1.1.1)
|
18
16
|
diff-lcs (1.2.5)
|
19
|
-
ffi (1.9.9)
|
20
|
-
formatador (0.2.5)
|
21
|
-
guard (2.12.7)
|
22
|
-
formatador (>= 0.2.4)
|
23
|
-
listen (>= 2.7, <= 4.0)
|
24
|
-
lumberjack (~> 1.0)
|
25
|
-
nenv (~> 0.1)
|
26
|
-
notiffany (~> 0.0)
|
27
|
-
pry (>= 0.9.12)
|
28
|
-
shellany (~> 0.0)
|
29
|
-
thor (>= 0.18.1)
|
30
|
-
guard-compat (1.2.1)
|
31
|
-
guard-rspec (4.6.0)
|
32
|
-
guard (~> 2.1)
|
33
|
-
guard-compat (~> 1.1)
|
34
|
-
rspec (>= 2.99.0, < 4.0)
|
35
|
-
listen (3.0.0)
|
36
|
-
rb-fsevent (>= 0.9.3)
|
37
|
-
rb-inotify (>= 0.9)
|
38
|
-
lumberjack (1.0.9)
|
39
17
|
method_source (0.8.2)
|
40
|
-
|
41
|
-
notiffany (0.0.6)
|
42
|
-
nenv (~> 0.1)
|
43
|
-
shellany (~> 0.0)
|
44
|
-
pry (0.10.1)
|
18
|
+
pry (0.10.4)
|
45
19
|
coderay (~> 1.1.0)
|
46
20
|
method_source (~> 0.8.1)
|
47
21
|
slop (~> 3.4)
|
48
|
-
pry-byebug (3.
|
49
|
-
byebug (~>
|
22
|
+
pry-byebug (3.4.0)
|
23
|
+
byebug (~> 9.0)
|
50
24
|
pry (~> 0.10)
|
51
|
-
rake (
|
52
|
-
rb-fsevent (0.9.5)
|
53
|
-
rb-inotify (0.9.5)
|
54
|
-
ffi (>= 0.5.0)
|
25
|
+
rake (11.3.0)
|
55
26
|
rspec (3.5.0)
|
56
27
|
rspec-core (~> 3.5.0)
|
57
28
|
rspec-expectations (~> 3.5.0)
|
58
29
|
rspec-mocks (~> 3.5.0)
|
59
|
-
rspec-core (3.5.
|
30
|
+
rspec-core (3.5.4)
|
60
31
|
rspec-support (~> 3.5.0)
|
61
32
|
rspec-expectations (3.5.0)
|
62
33
|
diff-lcs (>= 1.2.0, < 2.0)
|
@@ -65,7 +36,6 @@ GEM
|
|
65
36
|
diff-lcs (>= 1.2.0, < 2.0)
|
66
37
|
rspec-support (~> 3.5.0)
|
67
38
|
rspec-support (3.5.0)
|
68
|
-
shellany (0.0.1)
|
69
39
|
slop (3.6.0)
|
70
40
|
thor (0.19.1)
|
71
41
|
|
@@ -74,7 +44,6 @@ PLATFORMS
|
|
74
44
|
|
75
45
|
DEPENDENCIES
|
76
46
|
appraisal
|
77
|
-
guard-rspec
|
78
47
|
pry-byebug
|
79
48
|
rspec (~> 3.5.0)
|
80
49
|
rspec-retry!
|
@@ -19,15 +19,15 @@ class RSpec::Retry::Formatter < RSpec::Core::Formatters::BaseTextFormatter
|
|
19
19
|
def dump_pending(_); end
|
20
20
|
|
21
21
|
def dump_summary(notification)
|
22
|
-
|
22
|
+
summary = "\nRSpec Retry Summary:\n"
|
23
23
|
@tries.each do |key, retry_data|
|
24
24
|
next if retry_data[:successes] < 1 || retry_data[:tries] <= 1
|
25
|
-
|
25
|
+
summary += "\t#{key.location}: #{key.full_description}: passed at attempt #{retry_data[:tries]}\n"
|
26
26
|
end
|
27
27
|
retried = @tries.count { |_, v| v[:tries] > 1 && v[:successes] > 0 }
|
28
|
-
|
29
|
-
|
30
|
-
puts
|
28
|
+
summary += "\n\t#{retried} of #{notification.example_count} tests passed with retries.\n"
|
29
|
+
summary += "\t#{notification.failure_count} tests failed all retries.\n"
|
30
|
+
output.puts summary
|
31
31
|
end
|
32
32
|
|
33
33
|
def example_passed(notification)
|
data/lib/rspec/retry/version.rb
CHANGED
data/rspec-retry.gemspec
CHANGED
@@ -17,7 +17,6 @@ Gem::Specification.new do |gem|
|
|
17
17
|
gem.add_runtime_dependency(%{rspec-core}, '>3.3', '<3.6')
|
18
18
|
gem.add_development_dependency %q{appraisal}
|
19
19
|
gem.add_development_dependency %q{rspec}
|
20
|
-
gem.add_development_dependency %q{guard-rspec}
|
21
20
|
if Gem::Version.new(RUBY_VERSION) < Gem::Version.new('2')
|
22
21
|
gem.add_development_dependency %q{pry-debugger}
|
23
22
|
else
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rspec-retry
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yusuke Mito
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2017-01-11 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rspec-core
|
@@ -59,20 +59,6 @@ dependencies:
|
|
59
59
|
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: '0'
|
62
|
-
- !ruby/object:Gem::Dependency
|
63
|
-
name: guard-rspec
|
64
|
-
requirement: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - ">="
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: '0'
|
69
|
-
type: :development
|
70
|
-
prerelease: false
|
71
|
-
version_requirements: !ruby/object:Gem::Requirement
|
72
|
-
requirements:
|
73
|
-
- - ">="
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
version: '0'
|
76
62
|
- !ruby/object:Gem::Dependency
|
77
63
|
name: pry-byebug
|
78
64
|
requirement: !ruby/object:Gem::Requirement
|
@@ -135,7 +121,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
135
121
|
version: '0'
|
136
122
|
requirements: []
|
137
123
|
rubyforge_project:
|
138
|
-
rubygems_version: 2.5.
|
124
|
+
rubygems_version: 2.5.2
|
139
125
|
signing_key:
|
140
126
|
specification_version: 4
|
141
127
|
summary: retry intermittently failing rspec examples
|