deep-cover-core 0.6.3 → 0.6.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/deep_cover/reporter/istanbul.rb +6 -2
- data/lib/deep_cover/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 786d0c79f687a02eefb1e3c9dc1af8c9b4b25d4c18fa86988d1c1a84d56f80e6
|
4
|
+
data.tar.gz: 6b3ef23fa825eb7f72673e4a4be0fe3889418c035d0b87c17323c2ceb97f5fba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 42806a5cf72180c3af74f5df4d03c067f52cade9d473adb2794db02416496de9aa6100390a4d3a597710378d8dd9bfbef783a65394cf9920adff115af53108cb
|
7
|
+
data.tar.gz: 20d7363fe8fa8c1195d0eaf98f21f91bbfeb2371383fde3b1bddc28f986b503da7ef397f4d1ac3f61a49790018fc08ae038bf9314edf4f0e77ffab0eafce8283
|
@@ -167,7 +167,7 @@ module DeepCover
|
|
167
167
|
msg = "\nHTML coverage written to: '#{output}/index.html'"
|
168
168
|
end
|
169
169
|
end
|
170
|
-
`cd #{dir} &&
|
170
|
+
`cd #{dir} && #{Istanbul.bin_path} report --reporter=text #{html}` + msg.to_s
|
171
171
|
end
|
172
172
|
|
173
173
|
class << self
|
@@ -176,7 +176,11 @@ module DeepCover
|
|
176
176
|
end
|
177
177
|
|
178
178
|
def available?
|
179
|
-
|
179
|
+
`#{bin_path} --version` >= '11.' rescue false
|
180
|
+
end
|
181
|
+
|
182
|
+
def bin_path
|
183
|
+
::File.executable?('node_modules/.bin/nyc') ? 'node_modules/.bin/nyc' : 'nyc'
|
180
184
|
end
|
181
185
|
end
|
182
186
|
end
|
data/lib/deep_cover/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: deep-cover-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Marc-André Lafortune
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2018-08-
|
12
|
+
date: 2018-08-23 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: parser
|