CHANGELOG.md in rubocop-rspec-1.33.0 vs CHANGELOG.md in rubocop-rspec-1.34.0

- old
+ new

@@ -1,9 +1,21 @@ # Change log ## Master (Unreleased) +## 1.34.0 (2019-07-23) + +* Remove `AggregateFailuresByDefault` config option of `RSpec/MultipleExpectations`. ([@pirj][]) +* Add `RSpec/LeakyConstantDeclaration` cop. ([@jonatas][], [@pirj][]) +* Improve `aggregate_failures` metadata detection of `RSpec/MultipleExpectations`. ([@pirj][]) +* Improve `RSpec/SubjectStub` detection and message. ([@pirj][]) +* Change message of `RSpec/LetSetup` cop to be more descriptive. ([@foton][]) +* Improve `RSpec/ExampleWording` to handle interpolated example messages. ([@nc-holodakg][]) +* Improve detection by allowing the use of `RSpec` as a top-level constant. ([@pirj][]) +* Fix `RSpec/DescribedClass`'s incorrect detection. ([@pirj][]) +* Improve `RSpec/DescribedClass`'s ability to detect inside modules and classes. ([@pirj][]) + ## 1.33.0 (2019-05-13) * Let `RSpec/DescribedClass` pass `Struct` instantiation closures. ([@schmijos][]) * Fixed `RSpec/ContextWording` missing `context`s with metadata. ([@pirj][]) * Fix `FactoryBot/AttributeDefinedStatically` not working with an explicit receiver. ([@composerinteralia][]) @@ -200,11 +212,11 @@ * Add repeated 'it' detection to `RSpec/ExampleWording` cop. ([@dgollahon][]) * Add [observed_nesting/max_nesting] info to `RSpec/NestedGroups` messages. ([@dgollahon][]) * Add `RSpec/ItBehavesLike` cop. ([@dgollahon][]) * Add `RSpec/SharedContext` cop. ([@Darhazer][]) -* `Rspec/MultipleExpectations`: Count aggregate_failures block as single expectation. ([@Darhazer][]) +* `RSpec/MultipleExpectations`: Count aggregate_failures block as single expectation. ([@Darhazer][]) * Fix `ExpectActual` cop flagging `rspec-rails` routing specs. ([@backus][]) * Fix `FilePath` cop not registering offenses for files like `spec/blog/user.rb` when it should be `spec/blog/user_spec.rb`. ([@backus][]) ## 1.12.0 (2017-02-21) @@ -308,11 +320,11 @@ ## 1.4.0 (2016-02-15) * Update to rubocop 0.37.2. ([@nijikon][]) * Update ruby versions we test against. ([@nijikon][]) * Add `RSpec::NotToNot` cop. ([@miguelfteixeira][]) -* Add `Rspec/AnyInstance` cop. ([@mlarraz][]) +* Add `RSpec/AnyInstance` cop. ([@mlarraz][]) ## 1.3.1 * Fix auto correction issue - syntax had changed in RuboCop v0.31. ([@bquorning][]) * Add RuboCop clone to vendor folder - see #39 for details. ([@bquorning][]) @@ -416,5 +428,7 @@ [@RST-J]: https://github.com/RST-J [@ypresto]: https://github.com/ypresto [@mkenyon]: https://github.com/mkenyon [@gsamokovarov]: https://github.com/gsamokovarov [@schmijos]: https://github.com/schmijos +[@foton]: https://github.com/foton +[@nc-holodakg]: https://github.com/nc-holodakg