From 3bb7eb601d05d7b134b7daf9d9e181cba5f3492d Mon Sep 17 00:00:00 2001 From: Philip Hallstrom Date: Fri, 15 Feb 2013 16:23:42 -0800 Subject: [PATCH] Remove default addition of 'vendor/plugins' group when using 'rails' adapter. --- CHANGELOG.md | 1 + README.md | 3 +-- lib/simplecov/defaults.rb | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3500017f..18e2c7d1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ Unreleased ([changes](https://github.com/colszowka/simplecov/compare/v0.7.0...master)) ------------------- + * Remove default addition of 'vendor/plugins' group when using 'rails' adapter. * [FEATURE] Adds support for Rails 4 command guessing. v0.7.1, 2012-10-12 ([changes](https://github.com/colszowka/simplecov/compare/v0.7.0...v0.7.1)) diff --git a/README.md b/README.md index 5e03043b..2396c42f 100644 --- a/README.md +++ b/README.md @@ -296,7 +296,7 @@ is being set in the SimpleCov::Filter initialize method and thus is set to 5 in ## Groups You can separate your source files into groups. For example, in a rails app, you'll want to have separate listings for -Models, Controllers, Helpers, Libs and Plugins. Group definition works similar to Filters (and indeed also accepts custom +Models, Controllers, Helpers, and Libs. Group definition works similar to Filters (and indeed also accepts custom filter classes), but source files end up in a group when the filter passes (returns true), as opposed to filtering results, which exclude files from results when the filter results in a true value. @@ -406,7 +406,6 @@ SimpleCov.adapters.define 'rails' do add_group 'Models', 'app/models' add_group 'Helpers', 'app/helpers' add_group 'Libraries', 'lib' - add_group 'Plugins', 'vendor/plugins' end ``` diff --git a/lib/simplecov/defaults.rb b/lib/simplecov/defaults.rb index e34ddbf9..8260b0eb 100644 --- a/lib/simplecov/defaults.rb +++ b/lib/simplecov/defaults.rb @@ -27,7 +27,6 @@ add_group 'Mailers', 'app/mailers' add_group 'Helpers', 'app/helpers' add_group 'Libraries', 'lib' - add_group 'Plugins', 'vendor/plugins' end # Default configuration