Releases: rubocop/rubocop-rspec
Releases · rubocop/rubocop-rspec
RuboCop RSpec v1.0.rc3
- Update to RuboCop
>= 0.23
. - Add configuration option for
CustomTransformation
toFileName
cop.
The cops names have changed to match the new RuboCop namespace style (e.g. RSpec/FileName
instead of RSpecFileName
)
This should be the last release before version 1.0.0
.
RuboCop RSpec v1.0.rc2
- Gem is no longer 20MB (sorry!).
RspecFileName
cop allows for method specs to organized into directories by class and type.
RuboCop RSpec v1.0.rc1
- Update code to work with rubocop
>= 0.19
. - Split
UnitSpecNaming
cop intoRSpecDescribeClass
,RSpecDescribeMethod
andRSpecFileName
and enabled them all by default. - Add
RSpecExampleWording
cop to prevent to use of "should" at the beginning of the spec description. - Fix
RSpecFileName
cop for non-class specs. - Adapt
RSpecFileName
cop to common naming convention and skip spec with multiple top level describes. - Add
RSpecMultipleDescribes
cop to check for multiple top level describes. - Add
RSpecDescribedClass
cop to promote the use ofdescribed_class
. - Add
RSpecInstanceVariable
cop to check for the usage of instance variables.
WARNING: Cop names are under flux and will likely change in the near future.
We're hoping to introduce namespaces into the mix.