covered 0.16.3 → 0.16.4
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 +4 -4
- checksums.yaml.gz.sig +3 -3
- data/lib/covered/source.rb +9 -6
- data/lib/covered/version.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +3 -3
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 39e5ee486e1ba129e36b7b48c3d2068662e2ae032f9de5708e02a8b5cdc955d1
|
|
4
|
+
data.tar.gz: 7efaace9108f786e19ecbaf31643f1b5a3cd1cc139d2b7ec5680db9941a3611b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d0cab14e3b5af68a8144ebe2c6686da487c74045e277971c79d9354f9e3b3db9dfb05c54e98bcdde555e4baa6955f25ffc7664fa7a538ba33d5bd95790bd5386
|
|
7
|
+
data.tar.gz: 4970f5c5fa059388be9d8660b61a3ee3cc69d210b3acaae0b3213ae360ef964db4d344ca4d8be1df56479fbbd0fb42e5caa801042e369343ce88fc98ad02fc36
|
checksums.yaml.gz.sig
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
��|Of_wy��#-�M9�+��/q�<��y��csi��ht_@��]14�[���a�=5s���8=bH�^�-qr�y����A����}{���[.�+}� Vre�4Ǩ�5�'zߦ�|KD<fuk Ro�<i
|
|
2
|
+
0�b�J�DWը��~�L*���J�)���$P����;��a=x��* 2{��n���0/5�-^U�P!ƣ�lP�4�zn ��#vN�s�� <�T���p���^�����
|
|
3
|
+
J��I:���%\7;���e/>�Ƙs��Qn�_
|
data/lib/covered/source.rb
CHANGED
|
@@ -101,16 +101,19 @@ module Covered
|
|
|
101
101
|
if ignore?(node)
|
|
102
102
|
# coverage.annotate(node.location.line, "ignoring #{node.type}")
|
|
103
103
|
else
|
|
104
|
-
if
|
|
104
|
+
if node.type == :send
|
|
105
|
+
# We want to mark the line which has the method on it:
|
|
106
|
+
coverage.counts[node.location.selector.line] ||= 0
|
|
107
|
+
elsif executable?(node)
|
|
105
108
|
# coverage.annotate(node.location.line, "executable #{node.type}")
|
|
106
109
|
coverage.counts[node.location.line] ||= 0
|
|
107
|
-
elsif node.location
|
|
108
|
-
|
|
110
|
+
# elsif location = node.location
|
|
111
|
+
# coverage.annotate(location.line, "not executable #{node.type}") rescue nil
|
|
109
112
|
end
|
|
110
113
|
|
|
111
|
-
if node.type == :send
|
|
112
|
-
|
|
113
|
-
end
|
|
114
|
+
# if node.type == :send
|
|
115
|
+
# coverage.annotate(node.location.line, "ignoring #{node.type} children")
|
|
116
|
+
# end
|
|
114
117
|
|
|
115
118
|
expand(node.children, coverage, level + 1)
|
|
116
119
|
end
|
data/lib/covered/version.rb
CHANGED
data.tar.gz.sig
CHANGED
|
Binary file
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: covered
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.16.
|
|
4
|
+
version: 0.16.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Samuel Williams
|
|
@@ -39,7 +39,7 @@ cert_chain:
|
|
|
39
39
|
RAOsIl+HOBTb252nx1kIRN5hqQx272AJCbCjKx8egcUQKffFVVCI0nye09v5CK+a
|
|
40
40
|
HiLJ8VOFx6w=
|
|
41
41
|
-----END CERTIFICATE-----
|
|
42
|
-
date: 2022-06-
|
|
42
|
+
date: 2022-06-22 00:00:00.000000000 Z
|
|
43
43
|
dependencies:
|
|
44
44
|
- !ruby/object:Gem::Dependency
|
|
45
45
|
name: async-rest
|
|
@@ -197,7 +197,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
197
197
|
- !ruby/object:Gem::Version
|
|
198
198
|
version: '0'
|
|
199
199
|
requirements: []
|
|
200
|
-
rubygems_version: 3.
|
|
200
|
+
rubygems_version: 3.3.7
|
|
201
201
|
signing_key:
|
|
202
202
|
specification_version: 4
|
|
203
203
|
summary: A modern approach to code coverage.
|
metadata.gz.sig
CHANGED
|
Binary file
|