rspectacular 0.21.5 → 0.21.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rspectacular/plugins/simple_cov.rb +8 -6
- data/lib/rspectacular/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 74a941d0d3e31f0b60e4df9ac02c37ad96c42a74
|
4
|
+
data.tar.gz: d6a4581bfb874e186b786bc26485e413a70883cf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cf3ec3c6bbe9b3ba0a8a3d4ef6256bb1dc70faecabfcbf8306ecabbe7446ac1ec16ff0409db10ba60acd3fdb527199b7922b73cbb964416038b99e24dbb30a98
|
7
|
+
data.tar.gz: 06833e68bded82eaec1fa5a197e1c4c1f913fd824477a0581883463eecce8b0216632baf22e2adf807ac513dec7f3d239f52b753c60bd44fd903d9da42800127
|
@@ -1,11 +1,13 @@
|
|
1
1
|
begin
|
2
|
-
|
2
|
+
unless RUBY_VERSION.match /\A1\.8/
|
3
|
+
require 'simplecov'
|
3
4
|
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
5
|
+
SimpleCov.start do
|
6
|
+
add_filter '/config/'
|
7
|
+
add_filter '/spec/'
|
8
|
+
add_filter '/test/'
|
9
|
+
add_filter '/features/'
|
10
|
+
end
|
9
11
|
end
|
10
12
|
rescue LoadError
|
11
13
|
end
|
data/lib/rspectacular/version.rb
CHANGED