codacy-coverage 1.1.6 → 1.1.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/lib/codacy/parser.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e264eaf5678e2eac84cdd75f19f1bdbec9ed20b3
|
4
|
+
data.tar.gz: 80062ccd01497e537ba8ee7a3bff3ca4c87bc630
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: af8b71560035eb5b77f594dff37b2b348eaf210c55af24ed25cb1678f727df25da57a7d7b4f6ed72889c9af23c9c1840503dfeabcf747e176bb1c0471f56df0b
|
7
|
+
data.tar.gz: 0f7fd9f55e5c47b4f6635b93fd0e48518a4aabd170f0d710a1b67e75028d8bb75ad16dcc7c8b78d649897e04a7319e97e212e8c03b11ceac1fda5c7ee1664932
|
data/README.md
CHANGED
@@ -84,8 +84,8 @@ You can now check your coverage results in the Codacy dashboard of your project.
|
|
84
84
|
require 'vcr'
|
85
85
|
VCR.configure do |config|
|
86
86
|
# other config options
|
87
|
-
|
88
|
-
|
87
|
+
config.allow_http_connections_when_no_cassette = false
|
88
|
+
config.ignore_hosts 'api.codacy.com'
|
89
89
|
end
|
90
90
|
```
|
91
91
|
|
data/lib/codacy/parser.rb
CHANGED
@@ -10,7 +10,7 @@ module Codacy
|
|
10
10
|
file_reports = simplecov_result.original_result.map do |k, v|
|
11
11
|
file_dir = k.sub(project_dir, "").sub("/", "")
|
12
12
|
coverage_lines = v.each_with_index.map do |covered, lineNr|
|
13
|
-
if !covered.nil?
|
13
|
+
if !covered.nil?
|
14
14
|
[(lineNr + 1).to_s, covered]
|
15
15
|
else
|
16
16
|
nil
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: codacy-coverage
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nuno Teixeira
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2017-
|
12
|
+
date: 2017-09-07 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: simplecov
|
@@ -112,7 +112,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
112
112
|
version: '0'
|
113
113
|
requirements: []
|
114
114
|
rubyforge_project:
|
115
|
-
rubygems_version: 2.
|
115
|
+
rubygems_version: 2.6.11
|
116
116
|
signing_key:
|
117
117
|
specification_version: 4
|
118
118
|
summary: Post code coverage results to Codacy.
|