CHANGELOG.md in rubocop-rspec-2.12.1 vs CHANGELOG.md in rubocop-rspec-2.13.0

- old
+ new

@@ -1,9 +1,32 @@ # Changelog ## Master (Unreleased) +## 2.13.0 (2022-09-12) + +* Fix `RSpec/FilePath` cop missing mismatched expanded namespace. ([@sl4vr][]) +* Add new `AllowConsecutiveOneLiners` (default true) option for `Rspec/EmptyLineAfterHook` cop. ([@ngouy][]) +* Add autocorrect support for `RSpec/EmptyExampleGroup`. ([@r7kamura][]) +* Fix `RSpec/ChangeByZero` with compound expressions using `&` or `|` operators. ([@BrianHawley][]) +* Add `RSpec/NoExpectationExample`. ([@r7kamura][]) +* Add some expectation methods to default configuration. ([@r7kamura][]) +* Fix a false positive for `RSpec/Capybara/SpecificMatcher`. ([@ydah][]) +* Fix a false negative for `RSpec/Capybara/SpecificMatcher` for `have_field`. ([@ydah][]) +* Fix a false positive for `RSpec/Capybara/SpecificMatcher` when may not have a `href` by `have_link`. ([@ydah][]) +* Add `NegatedMatcher` configuration option to `RSpec/ChangeByZero`. ([@ydah][]) +* Add new `RSpec/Capybara/SpecificFinders` cop. ([@ydah][]) +* Add support for numblocks to `RSpec/AroundBlock`, `RSpec/EmptyLineAfterHook`, `RSpec/ExpectInHook`, `RSpec/HookArgument`, `RSpec/HooksBeforeExamples`, `RSpec/IteratedExpectation`, and `RSpec/NoExpectationExample`. ([@ydah][]) +* Fix incorrect documentation URLs when using `rubocop --show-docs-url`. ([@r7kamura][]) +* Add `AllowedGroups` configuration option to `RSpec/NestedGroups`. ([@ydah][]) +* Deprecate `IgnoredPatterns` option in favor of the `AllowedPatterns` options. ([@ydah][]) +* Add `AllowedPatterns` configuration option to `RSpec/ContextWording`. ([@ydah][]) +* Add `RSpec/ClassCheck` cop. ([@r7kamura][]) +* Fix a false positive for `RSpec/Capybara/SpecificMatcher` when pseudo-classes. ([@ydah][]) +* Fix a false negative for `RSpec/SubjectStub` when the subject is declared with the `subject!` method and called by name. ([@eikes][]) +* Support `Array.new(n)` on `RSpec/FactoryBot/CreateList` cop. ([@r7kamura][]) + ## 2.12.1 (2022-07-03) * Fix a false positive for `RSpec/Capybara/SpecificMatcher`. ([@ydah][]) ## 2.12.0 (2022-07-02) @@ -601,116 +624,117 @@ * Update code to work with rubocop `>= 0.19`. ([@geniou][]) * Split `UnitSpecNaming` cop into `RSpecDescribeClass`, `RSpecDescribeMethod` and `RSpecFileName` and enabled them all by default. ([@geniou][]) * Add `RSpecExampleWording` cop to prevent to use of should at the beginning of the spec description. ([@geniou][]) * Fix `RSpecFileName` cop for non-class specs. ([@geniou][]) -* Adapt `RSpecFileName` cop to commen naming convention and skip spec with multiple top level describes. ([@geniou][]) +* Adapt `RSpecFileName` cop to common naming convention and skip spec with multiple top level describes. ([@geniou][]) * Add `RSpecMultipleDescribes` cop to check for multiple top level describes. ([@geniou][]) * Add `RSpecDescribedClass` to promote the use of `described_class`. ([@geniou][]) * Add `RSpecInstanceVariable` cop to check for the usage of instance variables. ([@geniou][]) -<!-- Contributors --> +<!-- Contributors (alphabetically) --> +[@abrom]: https://github.com/abrom +[@ahukkanen]: https://github.com/ahukkanen +[@akiomik]: https://github.com/akiomik +[@AlexWayfer]: https://github.com/AlexWayfer +[@andrykonchin]: https://github.com/andrykonchin [@andyw8]: https://github.com/andyw8 +[@anthony-robin]: https://github.com/anthony-robin +[@aried3r]: https://github.com/aried3r +[@baberthal]: https://github.com/baberthal [@backus]: https://github.com/backus +[@biinari]: https://github.com/biinari +[@bmorrall]: https://github.com/bmorrall [@bquorning]: https://github.com/bquorning +[@BrentWheeldon]: https://github.com/BrentWheeldon +[@BrianHawley]: https://github.com/BrianHawley +[@cfabianski]: https://github.com/cfabianski +[@clupprich]: https://github.com/clupprich +[@composerinteralia]: https://github.com/composerinteralia +[@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 +[@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 +[@eitoball]: https://github.com/eitoball +[@elebow]: https://github.com/elebow +[@EliseFitz15]: https://github.com/EliseFitz15 +[@elliterate]: https://github.com/elliterate +[@foton]: https://github.com/foton +[@francois-ferrandis]: https://github.com/francois-ferrandis +[@G-Rath]: https://github.com/G-Rath [@geniou]: https://github.com/geniou +[@gsamokovarov]: https://github.com/gsamokovarov +[@harry-graham]: https://github.com/harry-graham +[@harrylewis]: https://github.com/harrylewis +[@hosamaly]: https://github.com/hosamaly [@jaredbeck]: https://github.com/jaredbeck -[@jawshooah]: https://github.com/jawshooah -[@nevir]: https://github.com/nevir -[@nijikon]: https://github.com/nijikon -[@pstengel]: https://github.com/pstengel -[@miguelfteixeira]: https://github.com/miguelfteixeira -[@mlarraz]: https://github.com/mlarraz -[@renanborgescampos]: https://github.com/renanborgescampos [@jaredmoody]: https://github.com/jaredmoody -[@baberthal]: https://github.com/baberthal [@jeffreyc]: https://github.com/jeffreyc -[@clupprich]: https://github.com/clupprich -[@onk]: https://github.com/onk -[@Darhazer]: https://github.com/Darhazer -[@redross]: https://github.com/redross -[@cfabianski]: https://github.com/cfabianski -[@dgollahon]: https://github.com/dgollahon -[@rspeicher]: https://github.com/rspeicher -[@jonatas]: https://github.com/jonatas -[@pocke]: https://github.com/pocke -[@bmorrall]: https://github.com/bmorrall -[@zverok]: https://github.com/zverok -[@timrogers]: https://github.com/timrogers -[@yevhene]: https://github.com/yevhene -[@walf443]: https://github.com/walf443 -[@pirj]: https://github.com/pirj -[@telmofcosta]: https://github.com/telmofcosta -[@EliseFitz15]: https://github.com/EliseFitz15 -[@anthony-robin]: https://github.com/anthony-robin +[@jfragoulis]: https://github.com/jfragoulis +[@johnny-miyake]: https://github.com/johnny-miyake [@jojos003]: https://github.com/jojos003 -[@abrom]: https://github.com/abrom -[@patrickomatic]: https://github.com/patrickomatic -[@tdeo]: https://github.com/tdeo -[@composerinteralia]: https://github.com/composerinteralia -[@seanpdoyle]: https://github.com/seanpdoyle -[@vzvu3k6k]: https://github.com/vzvu3k6k -[@BrentWheeldon]: https://github.com/BrentWheeldon -[@daveworth]: https://github.com/daveworth -[@RST-J]: https://github.com/RST-J -[@ypresto]: https://github.com/ypresto +[@jonatas]: https://github.com/jonatas +[@jtannas]: https://github.com/jtannas +[@kellysutton]: https://github.com/kellysutton +[@koic]: https://github.com/koic +[@lazycoder9]: https://github.com/lazycoder9 +[@leoarnold]: https://github.com/leoarnold +[@lokhi]: https://github.com/lokhi +[@luke-hill]: https://github.com/luke-hill +[@M-Yamashita01]: https://github.com/M-Yamashita01 +[@miguelfteixeira]: https://github.com/miguelfteixeira [@mkenyon]: https://github.com/mkenyon -[@gsamokovarov]: https://github.com/gsamokovarov -[@schmijos]: https://github.com/schmijos -[@foton]: https://github.com/foton +[@mkrawc]: https://github.com/mkrawc +[@mlarraz]: https://github.com/mlarraz +[@mockdeep]: https://github.com/mockdeep +[@MothOnMars]: https://github.com/MothOnMars [@nc-holodakg]: https://github.com/nc-holodakg -[@onumis]: https://github.com/onumis +[@nevir]: https://github.com/nevir +[@ngouy]: https://github.com/ngouy [@nickcampbell18]: https://github.com/nickcampbell18 +[@nijikon]: https://github.com/nijikon +[@onk]: https://github.com/onk +[@onumis]: https://github.com/onumis +[@oshiro3]: https://github.com/oshiro3 +[@patrickomatic]: https://github.com/patrickomatic +[@paydaylight]: https://github.com/paydaylight +[@PhilCoggins]: https://github.com/PhilCoggins +[@pirj]: https://github.com/pirj +[@pocke]: https://github.com/pocke +[@pstengel]: https://github.com/pstengel [@QQism]: https://github.com/QQism -[@kellysutton]: https://github.com/kellysutton -[@mkrawc]: https://github.com/mkrawc -[@jfragoulis]: https://github.com/jfragoulis -[@ybiquitous]: https://github.com/ybiquitous -[@dduugg]: https://github.com/dduugg -[@lazycoder9]: https://github.com/lazycoder9 -[@elebow]: https://github.com/elebow -[@eitoball]: https://github.com/eitoball -[@aried3r]: https://github.com/aried3r -[@AlexWayfer]: https://github.com/AlexWayfer -[@tejasbubane]: https://github.com/tejasbubane -[@twalpole]: https://github.com/twalpole -[@zdennis]: https://github.com/zdennis +[@r7kamura]: https://github.com/r7kamura +[@Rafix02]: https://github.com/Rafix02 +[@redross]: https://github.com/redross +[@renanborgescampos]: https://github.com/renanborgescampos [@robotdana]: https://github.com/robotdana [@rolfschmidt]: https://github.com/rolfschmidt -[@andrykonchin]: https://github.com/andrykonchin -[@harrylewis]: https://github.com/harrylewis -[@elliterate]: https://github.com/elliterate -[@jtannas]: https://github.com/jtannas -[@mockdeep]: https://github.com/mockdeep -[@biinari]: https://github.com/biinari -[@koic]: https://github.com/koic -[@Rafix02]: https://github.com/Rafix02 -[@PhilCoggins]: https://github.com/PhilCoggins +[@rrosenblum]: https://github.com/rrosenblum +[@rspeicher]: https://github.com/rspeicher +[@RST-J]: https://github.com/RST-J +[@schmijos]: https://github.com/schmijos +[@seanpdoyle]: https://github.com/seanpdoyle [@sl4vr]: https://github.com/sl4vr -[@ahukkanen]: https://github.com/ahukkanen -[@dvandersluis]: https://github.com/dvandersluis -[@hosamaly]: https://github.com/hosamaly [@stephannv]: https://github.com/stephannv +[@t3h2mas]: https://github.com/t3h2mas +[@tdeo]: https://github.com/tdeo +[@tejasbubane]: https://github.com/tejasbubane +[@telmofcosta]: https://github.com/telmofcosta [@Tietew]: https://github.com/Tietew -[@rrosenblum]: https://github.com/rrosenblum -[@paydaylight]: https://github.com/paydaylight +[@timrogers]: https://github.com/timrogers [@topalovic]: https://github.com/topalovic -[@lokhi]: https://github.com/lokhi -[@MothOnMars]: https://github.com/MothOnMars -[@G-Rath]: https://github.com/G-Rath -[@dswij]: https://github.com/dswij -[@francois-ferrandis]: https://github.com/francois-ferrandis -[@r7kamura]: https://github.com/r7kamura -[@leoarnold]: https://github.com/leoarnold -[@harry-graham]: https://github.com/harry-graham -[@oshiro3]: https://github.com/oshiro3 +[@twalpole]: https://github.com/twalpole +[@vzvu3k6k]: https://github.com/vzvu3k6k +[@walf443]: https://github.com/walf443 +[@ybiquitous]: https://github.com/ybiquitous [@ydah]: https://github.com/ydah -[@t3h2mas]: https://github.com/t3h2mas -[@M-Yamashita01]: https://github.com/M-Yamashita01 -[@luke-hill]: https://github.com/luke-hill -[@johnny-miyake]: https://github.com/johnny-miyake -[@ngouy]: https://github.com/ngouy -[@edgibbs]: https://github.com/edgibbs -[@Drowze]: https://github.com/Drowze -[@akiomik]: https://github.com/akiomik +[@yevhene]: https://github.com/yevhene +[@ypresto]: https://github.com/ypresto +[@zdennis]: https://github.com/zdennis +[@zverok]: https://github.com/zverok