rspec/rspec-core — pull request #1475 by lwoodson (2014-04-08 05:22:53+00:00)
Title: Add support for --exclude-dir command line option

This will allow more fine grained control of what directories
will be loaded as part of a spec run. Currently, all files
matching the default or specified patterns are run, and Dir#glob
will not allow complex enough pattern matching for all cases.

This follows the pattern of use of --exclude-dir for grep and egrep.