codestats-metrics-reporter 0.1.8 → 0.1.9
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c120351f9949a9c9c8dd1661c9c43012fb306b4a
|
4
|
+
data.tar.gz: cadbf1b205deb1e1485ea618a5de30bf166abc5a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aa9d930ae93f2ab9767b7c7dcde6386ba7f3a5c6d68c6c42ca6324e3a5cf6b5272170c777779836123505b7638caaedcbb23259dd8422406076c86337ef655dd
|
7
|
+
data.tar.gz: bddd7bceceef9b01af938a49dd6d58c6d9870b9bad656298346651e53f9af0f42cde448fc13649b8153e8967074a7384a9109b4c063a9ce16b6ecef65a29a78f
|
@@ -6,7 +6,7 @@ module CodeStats
|
|
6
6
|
class Simplecov
|
7
7
|
class << self
|
8
8
|
def generate_data(metric, _config_store)
|
9
|
-
return empty_value unless File.directory?('coverage')
|
9
|
+
return empty_value unless File.directory?('coverage') && File.file?('coverage/.last_run.json')
|
10
10
|
json = JSON.parse(File.read('coverage/.last_run.json'))
|
11
11
|
code_coverage = json['result']['covered_percent']
|
12
12
|
{
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: codestats-metrics-reporter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Esteban Pintos
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-01-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|