README.md in rubocop-rspec-1.6.0 vs README.md in rubocop-rspec-1.7.0
- old
+ new
@@ -53,9 +53,32 @@
RuboCop::RakeTask.new do |task|
task.requires << 'rubocop-rspec'
end
```
+### Code Climate
+
+rubocop-rspec is available on Code Climate as part of the rubocop engine. [Learn More](https://codeclimate.com/changelog/55a433bbe30ba00852000fac).
+
+## Inspecting files that don't end with `_spec.rb`
+
+By default, `rubocop-rspec` only inspects code within paths ending in `_spec.rb` or including `spec/`. You can override this setting in your config file by specifying one or more patterns:
+
+```yaml
+# Inspect all files
+AllCops:
+ RSpec:
+ Patterns:
+ - '.+'
+```
+
+```yaml
+# Inspect only files ending with `_test.rb`
+AllCops:
+ RSpec:
+ Patterns:
+ - '_test.rb$'
+```
## The Cops
All cops are located under
[`lib/rubocop/cop/rspec`](lib/rubocop/cop/rspec), and contain