simplecov_compact_json 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 +4 -4
- data/lib/simplecov_compact_json.rb +5 -1
- data/lib/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5673f7ff4cfb5eb541590b5342491e6bf4db79de
|
4
|
+
data.tar.gz: 10976772c74bd49128bd67d67a0cceeaa222e6b8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 41f797f9c965c4eda21c7efe810f778ffb888809f5a7a81dd0b74d05bde42ab8b5fc10c69e9f056a80c85d5bed621c2ed8ab6f0149086c7c33e0a316cf62ce72
|
7
|
+
data.tar.gz: dccd73a43c35882f80e0eb642b240eb5b63c030cf777633deda96872a8b0658715ca0483f393e319f5dcd979f2cb5c910079088c72add3e7588c42f2c86ec5a6
|
@@ -15,7 +15,7 @@ module CompactJSON
|
|
15
15
|
|
16
16
|
def format(result)
|
17
17
|
@result = result
|
18
|
-
File.open(
|
18
|
+
File.open(destination_file, "w") do |file|
|
19
19
|
file.print(formatted_result)
|
20
20
|
end
|
21
21
|
end
|
@@ -29,6 +29,10 @@ module CompactJSON
|
|
29
29
|
|
30
30
|
private
|
31
31
|
|
32
|
+
def destination_file
|
33
|
+
File.join(SimpleCov.coverage_dir, "results.json")
|
34
|
+
end
|
35
|
+
|
32
36
|
def file_results
|
33
37
|
self.result.files.map do |file|
|
34
38
|
{
|
data/lib/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simplecov_compact_json
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- CoralineAda
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-04-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -102,8 +102,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
102
102
|
version: '0'
|
103
103
|
requirements: []
|
104
104
|
rubyforge_project:
|
105
|
-
rubygems_version: 2.
|
105
|
+
rubygems_version: 2.4.6
|
106
106
|
signing_key:
|
107
107
|
specification_version: 4
|
108
108
|
summary: Lightweight JSON formatter for SimpleCov
|
109
109
|
test_files: []
|
110
|
+
has_rdoc:
|