simplecov-json 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/test/test_simplecov_json.rb +2 -2
- metadata +7 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 256a39d81b7d9507c53c8641c43c37f481f20430925ebf9d531417a3d4891ace
|
4
|
+
data.tar.gz: dd6f35691606f78d4f7e25a3a3ffd1f8b22d8c120bcd9fd1b44b02108d788bf1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0167b677c3c27a0ec9ea62c949e3c320950a3758ac9b9a501c42cb20ae45f891d8ea6e9c32c3c998b3a56680267d18255952c1fcdb812c2932d655c3a81fa0fd
|
7
|
+
data.tar.gz: 665e2e8f2cd7a925a256caf0b31ce9c4054a870ce4298234778e47dd6e59a38490e10a0315efe1fbb2a8ee1e254be8769e4031f08aa484db37adc6b25681a323
|
data/test/test_simplecov_json.rb
CHANGED
@@ -18,14 +18,14 @@ class TestSimpleCovHtml < Test::Unit::TestCase
|
|
18
18
|
|
19
19
|
foo.expects(:filename).twice.returns('/lib/foo.rb')
|
20
20
|
foo.expects(:covered_percent).returns(50.0)
|
21
|
-
foo.expects(:
|
21
|
+
foo.expects(:coverage_data).returns([1, nil, 0, 0, nil, 1, nil])
|
22
22
|
foo.expects(:covered_strength).twice.returns(0.50)
|
23
23
|
foo.expects(:covered_lines).returns(fooLineList)
|
24
24
|
foo.expects(:lines_of_code).returns(4)
|
25
25
|
|
26
26
|
bar.expects(:filename).twice.returns('/lib/bar.rb')
|
27
27
|
bar.expects(:covered_percent).returns(71.42)
|
28
|
-
bar.expects(:
|
28
|
+
bar.expects(:coverage_data).returns([nil, 1, nil, 1, 1, 1, 0, 0, nil, 1, nil])
|
29
29
|
bar.expects(:covered_strength).twice.returns(0.71)
|
30
30
|
bar.expects(:covered_lines).returns(barLineList)
|
31
31
|
bar.expects(:lines_of_code).returns(7)
|
metadata
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simplecov-json
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vicent Llongo
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
date: 2020-10-26 00:00:00.000000000 Z
|
@@ -63,9 +63,10 @@ files:
|
|
63
63
|
- test/helper.rb
|
64
64
|
- test/test_simplecov_json.rb
|
65
65
|
homepage: https://github.com/vicentllongo/simplecov-json
|
66
|
-
licenses:
|
66
|
+
licenses:
|
67
|
+
- MIT
|
67
68
|
metadata: {}
|
68
|
-
post_install_message:
|
69
|
+
post_install_message:
|
69
70
|
rdoc_options: []
|
70
71
|
require_paths:
|
71
72
|
- lib
|
@@ -81,8 +82,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
81
82
|
version: '0'
|
82
83
|
requirements: []
|
83
84
|
rubyforge_project: simplecov-json
|
84
|
-
rubygems_version: 2.
|
85
|
-
signing_key:
|
85
|
+
rubygems_version: 2.7.6.2
|
86
|
+
signing_key:
|
86
87
|
specification_version: 4
|
87
88
|
summary: JSON formatter for SimpleCov code coverage tool for ruby 1.9+
|
88
89
|
test_files:
|