rspec-redo 0.1.1 → 0.1.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f0e9f5c0c2eb6b5072a6d65a27833d551c489cce
4
- data.tar.gz: fafa7ce3efdf391b23a112df28b80ca89961604a
3
+ metadata.gz: d1a7c26194cf0f550f954e52ebd04e117962c7e5
4
+ data.tar.gz: 026e28a5e92364deaca6da5b3aa9c3637e073301
5
5
  SHA512:
6
- metadata.gz: 7e068c20012f975bd81083cd99f5772d612a0f2f2eed6a049f6820a5c6f4b8c7908ba245d648d9e5d5215ce10d9e2cdddc7763c9c4c7aa7f048810aed1500aba
7
- data.tar.gz: 3f5b7fcd5171da86cd621b05a2e438b0871cda35cef0a8b70aef45405c9432b38681f669fc7b466b877a7e1b6e3dd606334c14c2370dad19f19fa365523e4c25
6
+ metadata.gz: ca850cdd90fc0c78ae28a487495c65ecfa1f24ab2465c631fcec6c509b65bdb26a86ae595d3320933087ea5924524e94b08402d2fcb392585c600619ce60996e
7
+ data.tar.gz: 44bb49a733da848f8d8caa026556ebc156082e20c4a0eea7b47d964d1611222616676b55c393b51fb66775f5232adbe1ce5e61c71fb50ec0f0f8ad1bab529f91
@@ -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.last_comment
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, args|
17
- @retry_count = args.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
@@ -1,3 +1,3 @@
1
1
  module RSpecRedo
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
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.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-09-08 00:00:00.000000000 Z
11
+ date: 2016-12-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec