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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -2
  3. data/lib/codacy/parser.rb +1 -1
  4. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a27270fc8c10d511a3fd5e5e688a0f06efd878ff
4
- data.tar.gz: 09d1396169058bbd1864ed9f93ec21a3f79c546c
3
+ metadata.gz: e264eaf5678e2eac84cdd75f19f1bdbec9ed20b3
4
+ data.tar.gz: 80062ccd01497e537ba8ee7a3bff3ca4c87bc630
5
5
  SHA512:
6
- metadata.gz: 103cd6ad72b6ba788938a85985145c48ab16822604a904cbaef4d395e1f82b9f5074d5c68830f08991f0d1c42305289f5ad7165fbd139f77e7d0ae3e7bb1a90b
7
- data.tar.gz: d0d1068e5b7906eaf5ccdb582da98ef9e47937316f8784dea91533022f520a9b5b8eb8f7c3c9c7fb6268291f5f8db0ef9c6c6bb6797b369d5745cef397eae577
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
- c.allow_http_connections_when_no_cassette = false
88
- c.ignore_hosts 'api.codacy.com'
87
+ config.allow_http_connections_when_no_cassette = false
88
+ config.ignore_hosts 'api.codacy.com'
89
89
  end
90
90
  ```
91
91
 
@@ -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? && covered > 0
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.6
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-01-06 00:00:00.000000000 Z
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.5.1
115
+ rubygems_version: 2.6.11
116
116
  signing_key:
117
117
  specification_version: 4
118
118
  summary: Post code coverage results to Codacy.