codecov 0.4.1 → 0.4.2
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 +6 -5
- 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: d90b5e1e4c4683ae7085969f6f3773a33170cf762f0f20778ac1de21e6568bd3
|
4
|
+
data.tar.gz: 9e2b16bfe68082a0c111bbca183ad2d8dc36ba6790a95119722321a3f71eb43d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4f02f63d2786e8e65d1333e7cb275216a450c509b61b030f73f3e03aaaaf830847f3169862bcdb97b705ccc33bc8bf047f315365d89df18bf5e09d3c629f328d
|
7
|
+
data.tar.gz: 87f1e84e5b86c8f6b2491e869f2cfa31257b8284f924f379774449ba338c2fc1cb332e5248005947ddf6ea48686c622226506200846a411801051ebd0a0383b6
|
data/lib/codecov/formatter.rb
CHANGED
@@ -17,12 +17,13 @@ module Codecov
|
|
17
17
|
}
|
18
18
|
result.update(result_to_codecov(report))
|
19
19
|
|
20
|
-
|
21
|
-
|
20
|
+
begin
|
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}
|
24
|
-
|
25
|
-
puts
|
23
|
+
puts "Coverage report generated to #{result_path}.\n#{result}"
|
24
|
+
rescue Errno::ENOENT => e
|
25
|
+
puts e
|
26
|
+
puts "Could not write coverage report to file.\n#{result}"
|
26
27
|
end
|
27
28
|
|
28
29
|
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.2
|
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-
|
12
|
+
date: 2021-01-27 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: simplecov
|