rspec-redo 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rspec-redo/rake_task.rb +3 -3
- data/lib/rspec-redo/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d1a7c26194cf0f550f954e52ebd04e117962c7e5
|
4
|
+
data.tar.gz: 026e28a5e92364deaca6da5b3aa9c3637e073301
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ca850cdd90fc0c78ae28a487495c65ecfa1f24ab2465c631fcec6c509b65bdb26a86ae595d3320933087ea5924524e94b08402d2fcb392585c600619ce60996e
|
7
|
+
data.tar.gz: 44bb49a733da848f8d8caa026556ebc156082e20c4a0eea7b47d964d1611222616676b55c393b51fb66775f5232adbe1ce5e61c71fb50ec0f0f8ad1bab529f91
|
data/lib/rspec-redo/rake_task.rb
CHANGED
@@ -9,12 +9,12 @@ module RSpecRedo
|
|
9
9
|
def initialize(name = 'spec:redo', *args, &block)
|
10
10
|
@retry_count = ENV['RETRY_COUNT']
|
11
11
|
|
12
|
-
unless ::Rake.application.
|
12
|
+
unless ::Rake.application.last_description
|
13
13
|
desc 'Run RSpec code examples with RSpecRedo'
|
14
14
|
end
|
15
15
|
|
16
|
-
super(name, :retry_count, *args) do |t,
|
17
|
-
@retry_count =
|
16
|
+
super(name, :retry_count, *args) do |t, opts|
|
17
|
+
@retry_count = opts.retry_count
|
18
18
|
yield self if block_given?
|
19
19
|
end
|
20
20
|
end
|
data/lib/rspec-redo/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rspec-redo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ray Zane
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-12-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|