single_cov 0.5.6 → 0.5.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d2e01a0673b403596ef08cb40dafdc40190a72d0
4
- data.tar.gz: 5d825a1bdb778aafdb700af5d682aaa0c11a7747
3
+ metadata.gz: 6091df3740984303a661e4377f9bc24de6b8ef88
4
+ data.tar.gz: c8c55c3cc7bebf125d37a8077db3d8474df94942
5
5
  SHA512:
6
- metadata.gz: cad8b9e15807dfb35c0f3219aeace911bd94c7af5585154df87f794d7eea26138e99bfed9f8f7c12e3fbcf26fe36983e3d6b9af36d016d2abb599bb5009ee82f
7
- data.tar.gz: 74fee764c261dc1af47b191f6f3a6e5bac182628da3089f74cdf862b5aab89d88ff9d8770303a1d76d622e2a747b844d975023dc9cbb7bb492ca7c46cfaab49e
6
+ metadata.gz: 48dd674c2549fe906453e346a8205dac596cfef47d53e51c161b52377ffb59edfe43eb59f0e214751bb97298492f4937ae22900022ad907ed1319882ce781477
7
+ data.tar.gz: a999a3eef290fb6003fb779cd0f247900ba38a8cd79114fc69a812c0ba081fc1724a65ee2d7cbf029022cd36e98310aef08278fb40f091ca0fb4cf167c60717e
data/lib/single_cov.rb CHANGED
@@ -260,7 +260,7 @@ module SingleCov
260
260
  # put back the subfolder
261
261
  file_part[0...0] = "#{subfolder}/" unless subfolder.empty?
262
262
 
263
- file_part = @rewrite.call(file_part) if @rewrite
263
+ file_part = @rewrite.call(file_part) if defined?(@rewrite) && @rewrite
264
264
 
265
265
  file_part
266
266
  end
@@ -1,3 +1,3 @@
1
1
  module SingleCov
2
- VERSION = "0.5.6"
2
+ VERSION = "0.5.7"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: single_cov
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.6
4
+ version: 0.5.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Grosser
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-11-08 00:00:00.000000000 Z
11
+ date: 2016-12-05 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email: michael@grosser.it
@@ -39,7 +39,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
39
39
  version: '0'
40
40
  requirements: []
41
41
  rubyforge_project:
42
- rubygems_version: 2.5.1
42
+ rubygems_version: 2.4.5.1
43
43
  signing_key:
44
44
  specification_version: 4
45
45
  summary: Actionable code coverage.