codecov 0.4.2 → 0.4.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/codecov/formatter.rb +2 -1
- data/lib/codecov/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a56df245cb4eb2c44db6415aa240cb5275be7200974612f875c4c0d63c4c0538
|
4
|
+
data.tar.gz: 8d506d9afb7752ba7d2de41e0d81cbfefb33c4c9b6cb12b822778c170be1b85c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 21ab3799a0d563047fb5f38cefd0105ea4439defac9856d3509257af0c65ce3910864c3f5b28e49bc1e56a2eb90ef4aec9e11efe330c33e0832e81e2b27202f8
|
7
|
+
data.tar.gz: 2c0a3e8a9705d1d040ee9b4f6fc6b6a0fcba7c5b69e4d23b2c07c8911e1cb36290b24c836d77f456cbacb15e8881874596bfc67d10fa657368eb627d886bfd85
|
data/lib/codecov/formatter.rb
CHANGED
@@ -20,7 +20,8 @@ module Codecov
|
|
20
20
|
begin
|
21
21
|
result_path = File.join(::SimpleCov.coverage_path, RESULT_FILE_NAME)
|
22
22
|
File.write(result_path, result['codecov'])
|
23
|
-
|
23
|
+
overflow = result['coverage'].to_s.length > 256 ? '...' : ''
|
24
|
+
puts "Coverage report generated to #{result_path}.\n#{result['coverage'].to_s.[](0, 255)}#{overflow}"
|
24
25
|
rescue Errno::ENOENT => e
|
25
26
|
puts e
|
26
27
|
puts "Could not write coverage report to file.\n#{result}"
|
data/lib/codecov/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: codecov
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Steve Peak
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2021-
|
12
|
+
date: 2021-02-04 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: simplecov
|