CHANGELOG.md in rubocop-rspec-2.19.0 vs CHANGELOG.md in rubocop-rspec-2.20.0

- old
+ new

@@ -1,9 +1,25 @@ # Changelog ## Master (Unreleased) +## 2.20.0 (2023-04-18) + +- Add new `RSpec/IndexedLet` cop. ([@dmitrytsepelev]) +- Add new `RSpec/BeEmpty` cop. ([@ydah], [@bquorning]) +- Add autocorrect support for `RSpec/ScatteredSetup`. ([@ydah]) +- Add support `be_status` style for `RSpec/Rails/HttpStatus`. ([@ydah]) +- Add support for shared example groups to `RSpec/EmptyLineAfterExampleGroup`. ([@pirj]) +- Add support for `RSpec/HaveHttpStatus` when using `response.code`. ([@ydah]) +- Fix order of expected and actual in correction for `RSpec/Rails/MinitestAssertions` ([@mvz]) +- Fix a false positive for `RSpec/DescribedClassModuleWrapping` when RSpec.describe numblock is nested within a module. ([@ydah]) +- Fix a false positive for `RSpec/FactoryBot/ConsistentParenthesesStyle` inside `&&`, `||` and `:?` when `omit_parentheses` is on ([@dmitrytsepelev]) +- Fix a false positive for `RSpec/PendingWithoutReason` when pending/skip has a reason inside an example group. ([@ydah]) +- Fix a false negative for `RSpec/RedundantAround` when redundant numblock `around`. ([@ydah]) +- Change `RSpec/ContainExactly` to ignore calls with no arguments, and change `RSpec/MatchArray` to ignore calls with an empty array literal argument. ([@ydah], [@bquorning]) +- Make `RSpec/MatchArray` and `RSpec/ContainExactly` pending. ([@ydah]) + ## 2.19.0 (2023-03-06) - Fix a false positive for `RSpec/ContextWording` when context is interpolated string literal or execute string. ([@ydah]) - Fix a false positive for `RSpec/DescribeMethod` when multi-line describe without `#` and `.` at the beginning. ([@ydah], [@pirj]) - Fix a false positive for `RSpec/VariableName` when inside non-spec code. ([@ydah]) @@ -327,11 +343,11 @@ - Fix `FactoryBot/FactoryClassName` to ignore `Hash` and `OpenStruct`. ([@jfragoulis]) ## 1.37.0 (2019-11-25) - Implement `RSpec/DescribedClassModuleWrapping` to disallow RSpec statements within a module. ([@kellysutton]) -- Fix documentation rake task to support Rubocop 0.75. ([@nickcampbell18]) +- Fix documentation rake task to support RuboCop 0.75. ([@nickcampbell18]) - Fix `RSpec/SubjectStub` to detect implicit subjects stubbed. ([@QQism]) - Fix `RSpec/Pending` not flagging `skip` with string values. ([@pirj]) - Add `AllowedExplicitMatchers` config option for `RSpec/PredicateMatcher`. ([@mkrawc]) - Add `FactoryBot/FactoryClassName` cop. ([@jfragoulis]) @@ -658,11 +674,11 @@ - Add `RSpec::ExampleLength` cop. ([@andyw8]) - Handle alphanumeric class names in `FilePath` cop. ([@andyw8]) - Skip `DescribeClass` cop for view specs. ([@andyw8]) - Skip `FilePath` cop for Rails routing specs. ([@andyw8]) - Add cop to check for focused specs. ([@renanborgescampos], [@jaredmoody]) -- Clean-up `RSpec::NotToNot` to use same configuration semantics as other Rubocop cops, add autocorrect support for `RSpec::NotToNot`. ([@baberthal]) +- Clean-up `RSpec::NotToNot` to use same configuration semantics as other RuboCop cops, add autocorrect support for `RSpec::NotToNot`. ([@baberthal]) - Update to rubocop 0.40.0. ([@nijikon]) ## 1.4.1 (2016-04-03) - Ignore routing specs for DescribeClass cop. ([@nijikon]) @@ -756,10 +772,11 @@ [@darhazer]: https://github.com/Darhazer [@daveworth]: https://github.com/daveworth [@dduugg]: https://github.com/dduugg [@deivid-rodriguez]: https://github.com/deivid-rodriguez [@dgollahon]: https://github.com/dgollahon +[@dmitrytsepelev]: https://github.com/dmitrytsepelev [@drowze]: https://github.com/Drowze [@dswij]: https://github.com/dswij [@dvandersluis]: https://github.com/dvandersluis [@edgibbs]: https://github.com/edgibbs [@eikes]: https://github.com/eikes @@ -798,9 +815,10 @@ [@mkenyon]: https://github.com/mkenyon [@mkrawc]: https://github.com/mkrawc [@mlarraz]: https://github.com/mlarraz [@mockdeep]: https://github.com/mockdeep [@mothonmars]: https://github.com/MothOnMars +[@mvz]: https://github.com/mvz [@nc-holodakg]: https://github.com/nc-holodakg [@nevir]: https://github.com/nevir [@ngouy]: https://github.com/ngouy [@nickcampbell18]: https://github.com/nickcampbell18 [@nijikon]: https://github.com/nijikon