codecov 0.2.13 → 0.2.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/codecov.rb +5 -5
- metadata +12 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4212ee7ea83dcb91483e9a06b1789cfe17dd4060823d71cd3f531a9bbb47135c
|
4
|
+
data.tar.gz: e10e702d8ede5ba960deb9cab6f92a1a55886deb1664565491061e89e4657ddb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 205d70ed352a367e9c732c347815d368e76a567479a70857e14e877bba4c3afaece71b4a1629cf955d3c5788e90933ae7e6c6e01f591eee719fe68fc71984b0e
|
7
|
+
data.tar.gz: c037b60c8c487acb4e220261e99d836c0888f7e9e6893dac68d90ed25d49b25faf7acde0024f304eac4a6351382c04d27d0c20d71d8f0b864947afa9e712df50
|
data/lib/codecov.rb
CHANGED
@@ -6,9 +6,9 @@ require 'net/http'
|
|
6
6
|
require 'simplecov'
|
7
7
|
require 'zlib'
|
8
8
|
|
9
|
-
|
10
|
-
VERSION = '0.2.13'
|
9
|
+
require_relative 'codecov/version'
|
11
10
|
|
11
|
+
class SimpleCov::Formatter::Codecov
|
12
12
|
### CIs
|
13
13
|
RECOGNIZED_CIS = [
|
14
14
|
APPVEYOR = 'Appveyor CI',
|
@@ -41,7 +41,7 @@ class SimpleCov::Formatter::Codecov
|
|
41
41
|
'| | / _ \ / _\`|/ _ \/ __/ _ \ \ / /',
|
42
42
|
'| |___| (_) | (_| | __/ (_| (_) \ V /',
|
43
43
|
' \_____\___/ \__,_|\___|\___\___/ \_/',
|
44
|
-
" Ruby-#{VERSION}",
|
44
|
+
" Ruby-#{::Codecov::VERSION}",
|
45
45
|
''
|
46
46
|
].join("\n")
|
47
47
|
end
|
@@ -100,7 +100,7 @@ class SimpleCov::Formatter::Codecov
|
|
100
100
|
params = {
|
101
101
|
'token' => ENV['CODECOV_TOKEN'],
|
102
102
|
'flags' => ENV['CODECOV_FLAG'] || ENV['CODECOV_FLAGS'],
|
103
|
-
'package' => "ruby-#{VERSION}"
|
103
|
+
'package' => "ruby-#{::Codecov::VERSION}"
|
104
104
|
}
|
105
105
|
|
106
106
|
case ci
|
@@ -336,7 +336,7 @@ class SimpleCov::Formatter::Codecov
|
|
336
336
|
def create_report(report)
|
337
337
|
result = {
|
338
338
|
'meta' => {
|
339
|
-
'version' => 'codecov-ruby/v' + VERSION
|
339
|
+
'version' => 'codecov-ruby/v' + ::Codecov::VERSION
|
340
340
|
}
|
341
341
|
}
|
342
342
|
result.update(result_to_codecov(report))
|
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.2.
|
4
|
+
version: 0.2.14
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Steve Peak
|
@@ -9,22 +9,28 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2020-12-
|
12
|
+
date: 2020-12-21 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: simplecov
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
requirements:
|
18
|
-
- - "
|
18
|
+
- - ">="
|
19
|
+
- !ruby/object:Gem::Version
|
20
|
+
version: '0.15'
|
21
|
+
- - "<"
|
19
22
|
- !ruby/object:Gem::Version
|
20
|
-
version: 0.
|
23
|
+
version: '0.21'
|
21
24
|
type: :runtime
|
22
25
|
prerelease: false
|
23
26
|
version_requirements: !ruby/object:Gem::Requirement
|
24
27
|
requirements:
|
25
|
-
- - "
|
28
|
+
- - ">="
|
29
|
+
- !ruby/object:Gem::Version
|
30
|
+
version: '0.15'
|
31
|
+
- - "<"
|
26
32
|
- !ruby/object:Gem::Version
|
27
|
-
version: 0.
|
33
|
+
version: '0.21'
|
28
34
|
- !ruby/object:Gem::Dependency
|
29
35
|
name: minitest
|
30
36
|
requirement: !ruby/object:Gem::Requirement
|