single_cov 1.0.0 → 1.0.1

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
  SHA256:
3
- metadata.gz: 93bc47f24f33d85ed88bc31457af86b4279569239a10ca58a7c68559f50c03bb
4
- data.tar.gz: 4ff3f11d836b2204eb9273418529fec04d4f6442cfc066cd7ea42f22fc892615
3
+ metadata.gz: b861880f75aa6369616e69f9913c7f6125d689e3047f8fdbecd3ab12aedffeff
4
+ data.tar.gz: 67a8569983f2e9c71d98ef0fe1a9fba52a8b5bde9ebc7b0a97d76c9ce9c17fff
5
5
  SHA512:
6
- metadata.gz: cd2d503a59f3ee64cd5dca10901f99e53d4b57a0e2700b4ada42187c6924f1a1f56473b297fc7e86648ba858901f89d6fd4fe899dae0726faf0429ca57baf32d
7
- data.tar.gz: 74dce791fd81148ecd84d2b247a0daa6db34a40870f3378f58dce4ab8d03f1fc7f1bd6a838a8610760cfc2b426cb7515a348d24bb8cddef94937cdd23d7243a6
6
+ metadata.gz: e794fb7a72d24d7885ebafc70efa1c749f3a829b9e6bff9cda733634580fe4e364a6e5afac19eebe5d52bcd1caead8f04af2272a9391ca230b004f461a552aa1
7
+ data.tar.gz: ed70b6b216036bbb4b71684210978be0a456be4e8d1130d7c7dd7529c640291c35624c7797ae4e795d9ae26152bed63b1ff64a9e1733d9ac3a6bb57e97d4a93b
@@ -1,3 +1,3 @@
1
1
  module SingleCov
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
data/lib/single_cov.rb CHANGED
@@ -236,9 +236,9 @@ module SingleCov
236
236
  else
237
237
  file = file_under_test(caller[1])
238
238
  if file.start_with?("/")
239
- raise "Found file #{file} which is not relative to the root #{root}.\nUse `SingleCov.covered file: 'target_file.rb'` to set covered file location."
239
+ raise "Found file #{file} which is not relative to the root #{root}.\nUse `SingleCov.covered! file: 'target_file.rb'` to set covered file location."
240
240
  elsif !File.exist?("#{root}/#{file}")
241
- raise "Tried to guess covered file as #{file}, but it does not exist.\nUse `SingleCov.covered file: 'target_file.rb'` to set covered file location."
241
+ raise "Tried to guess covered file as #{file}, but it does not exist.\nUse `SingleCov.covered! file: 'target_file.rb'` to set covered file location."
242
242
  end
243
243
  end
244
244
 
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: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Grosser
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-03-03 00:00:00.000000000 Z
11
+ date: 2018-04-04 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email: michael@grosser.it