Skip to content

Releases: rubocop/rubocop-rspec

RuboCop RSpec v1.2.1

03 Nov 20:48
Compare
Choose a tag to compare
  • Add RSpec::VerifiedDoubles cop - thanks to @andyw8

RuboCop RSpec v1.2.0

02 Sep 19:34
Compare
Choose a tag to compare
  • Rename FileName cop to FilePath as a workaround - see #19.
  • Add autocorrect to RSpec::ExampleWording. This experimental - use with care and check the changes.
  • Update to RuboCop ~> 0.24.
  • Drop support of ruby 1.9.2.
  • Fix config loader debug output.

RuboCop RSpec v1.1.0

25 Jun 19:35
Compare
Choose a tag to compare

Add autocorrect to RSpec::DescribedClass cop.

RuboCop RSpec v1.0.1

16 Jun 18:36
Compare
Choose a tag to compare

Fix Bug: Add config folder to gemspec - thanks to @pstengel

RuboCop RSpec v1.0

16 Jun 05:17
Compare
Choose a tag to compare

This is the abstract of the changes since 0.18.1

  • Update code to work with RuboCop ~> 0.23.
  • Split UnitSpecNaming cop into DescribeClass, DescribeMethod and FileName and enabled them all by default.
  • Gem is no longer 20MB.
  • Add ExampleWording cop to prevent to use of should at the beginning of the spec description.
  • Add MultipleDescribes cop to check for multiple top level describes.
  • Add DescribedClass cop to promote the use of described_class.
  • Add InstanceVariable cop to check for the usage of instance variables.

RuboCop RSpec v1.0.rc3

12 Jun 12:30
Compare
Choose a tag to compare
Pre-release
  • Update to RuboCop >= 0.23.
  • Add configuration option for CustomTransformation to FileName 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

22 May 17:46
Compare
Choose a tag to compare
Pre-release
  • 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

19 May 08:06
Compare
Choose a tag to compare
Pre-release
  • Update code to work with rubocop >= 0.19.
  • Split UnitSpecNaming cop into RSpecDescribeClass, RSpecDescribeMethod and RSpecFileName 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 of described_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.