From 64883e3721c3e3cc7e98a1343d34e8bcd4110819 Mon Sep 17 00:00:00 2001 From: Thomas Hu Date: Sat, 5 Sep 2020 00:25:39 -0400 Subject: [PATCH] Add vendor to invalid directories --- CHANGELOG.md | 3 +++ codecov.gemspec | 2 +- lib/codecov.rb | 5 +++-- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 40b521c..0684685 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +### `0.2.11` +- Add vendor/ to invalid directories + ### `0.2.10` - Adds better logging on error cases - Add more invalid directories in the network diff --git a/codecov.gemspec b/codecov.gemspec index dfd74b9..b58dc3b 100644 --- a/codecov.gemspec +++ b/codecov.gemspec @@ -13,7 +13,7 @@ Gem::Specification.new do |s| s.required_ruby_version = '>=2.4' s.summary = 'hosted code coverage ruby/rails reporter' s.test_files = ['test/test_codecov.rb'] - s.version = '0.2.10' + s.version = '0.2.11' s.add_dependency 'json' s.add_dependency 'simplecov' diff --git a/lib/codecov.rb b/lib/codecov.rb index 9833916..cb74e43 100644 --- a/lib/codecov.rb +++ b/lib/codecov.rb @@ -7,7 +7,7 @@ require 'zlib' class SimpleCov::Formatter::Codecov - VERSION = '0.2.10' + VERSION = '0.2.11' ### CIs RECOGNIZED_CIS = [ @@ -512,7 +512,8 @@ def file_network 'node_modules/', 'public/', 'storage/', - 'tmp/' + 'tmp/', + 'vendor/' ] puts [green('==>'), 'Appending file network'].join(' ')