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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d90b5e1e4c4683ae7085969f6f3773a33170cf762f0f20778ac1de21e6568bd3
4
- data.tar.gz: 9e2b16bfe68082a0c111bbca183ad2d8dc36ba6790a95119722321a3f71eb43d
3
+ metadata.gz: a56df245cb4eb2c44db6415aa240cb5275be7200974612f875c4c0d63c4c0538
4
+ data.tar.gz: 8d506d9afb7752ba7d2de41e0d81cbfefb33c4c9b6cb12b822778c170be1b85c
5
5
  SHA512:
6
- metadata.gz: 4f02f63d2786e8e65d1333e7cb275216a450c509b61b030f73f3e03aaaaf830847f3169862bcdb97b705ccc33bc8bf047f315365d89df18bf5e09d3c629f328d
7
- data.tar.gz: 87f1e84e5b86c8f6b2491e869f2cfa31257b8284f924f379774449ba338c2fc1cb332e5248005947ddf6ea48686c622226506200846a411801051ebd0a0383b6
6
+ metadata.gz: 21ab3799a0d563047fb5f38cefd0105ea4439defac9856d3509257af0c65ce3910864c3f5b28e49bc1e56a2eb90ef4aec9e11efe330c33e0832e81e2b27202f8
7
+ data.tar.gz: 2c0a3e8a9705d1d040ee9b4f6fc6b6a0fcba7c5b69e4d23b2c07c8911e1cb36290b24c836d77f456cbacb15e8881874596bfc67d10fa657368eb627d886bfd85
@@ -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
- puts "Coverage report generated to #{result_path}.\n#{result}"
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}"
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Codecov
4
- VERSION = '0.4.2'
4
+ VERSION = '0.4.3'
5
5
  end
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.2
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-01-27 00:00:00.000000000 Z
12
+ date: 2021-02-04 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: simplecov