|
|
|
|
Changelog for ruby2.5-rubygem-rubocop-rspec-2.10.0-lp153.1.2.x86_64.rpm :
* Thu Apr 28 2022 Stephan Kulow updated to version 2.10.0 see installed CHANGELOG.md [#]# 2.10.0 (2022-04-19) * Fix a false positive for `RSpec/EmptyExampleGroup` when expectations in case statement. ([AATTydah][]) * Add `RSpec/VerifiedDoubleReference` cop. ([AATTt3h2mas][]) * Make `RSpec/BeNil` cop configurable with a `be_nil` style and a `be` style. ([AATTbquorning][]) * Fix `Capybara/CurrentPathExpectation` autocorrect incompatible with `Style/TrailingCommaInArguments` autocorrect. ([AATTydah][]) [#]# 2.9.0 (2022-02-28) * Add new `RSpec/BeNil` cop. ([AATTbquorning][]) * Add new `RSpec/BeEq` cop. ([AATTbquorning][]) * Tue Jan 25 2022 Stephan Kulow updated to version 2.8.0 see installed CHANGELOG.md [#]# 2.8.0 (2022-01-24) * Fix `RSpec/FactoryBot/SyntaxMethods` and `RSpec/Capybara/FeatureMethods` to inspect shared groups. ([AATTpirj][]) * Fix `RSpec/LeadingSubject` failure in non-spec code. ([AATTpirj][]) * Add bad example to `RSpec/SubjectStub` cop. ([AATToshiro3][]) * Replace non-styleguide cops `StyleGuide` attribute with `Reference`. ([AATTpirj][]) * Fix `RSpec/SubjectStub` to disallow stubbing of subjects defined in parent example groups. ([AATTpirj][]) [#]# 2.7.0 (2021-12-26) * Add new `RSpec/FactoryBot/SyntaxMethods` cop. ([AATTleoarnold][]) * Exclude `task` type specs from `RSpec/DescribeClass` cop. ([AATTharry-graham][]) [#]# 2.6.0 (2021-11-08) * Fix merging RSpec DSL configuration from third-party gems. ([AATTpirj][]) * Fix `RSpec/ExcessiveDocstringSpacing` false positive for multi-line indented strings. ([AATTG-Rath][]) * Fix `Include` configuration for sub-departments. ([AATTpirj][]) * Ignore heredocs in `RSpec/ExcessiveDocstringSpacing`. ([AATTG-Rath][]) * Stop `RSpec/ExampleWording` from trying to correct heredocs. ([AATTG-Rath][]) * Add autocorrect support for `RSpec/VariableDefinition`. ([AATTr7kamura][]) [#]# 2.5.0 (2021-09-21) * Declare autocorrect as unsafe for `ExpectChange`. ([AATTfrancois-ferrandis][]) * Fix each example for `RSpec/HookArgument`. ([AATTlokhi][]) * Exclude unrelated Rails directories from `RSpec/DescribeClass`. ([AATTMothOnMars][]) * Add `RSpec/ExcessiveDocstringSpacing` cop. ([AATTG-Rath][]) * Add `RSpec/SubjectDeclaration` cop. ([AATTdswij][]) * Fix excessive whitespace removal in `RSpec/EmptyHook` autocorrection. ([AATTpirj][]) * Bump RuboCop requirement to v1.19.0. ([AATTpirj][]) * Fix false positive in `RSpec/IteratedExpectation` when there is single, non-expectation statement in the block body. ([AATTDarhazer][]) * Thu Jun 24 2021 Stephan Kulow updated to version 2.4.0 see installed CHANGELOG.md [#]# 2.4.0 (2021-06-09) * Update `RSpec/FilePath` to check suffix when given a non-constant top-level node (e.g. features). ([AATTtopalovic][]) * Add missing documentation for `single_statement_only` style of `RSpec/ImplicitSubject` cop. ([AATTtejasbubane][]) * Fix an exception in `DescribedClass` when accessing a constant on a variable in a spec that is nested in a namespace. ([AATTrrosenblum][]) * Add new `RSpec/IdenticalEqualityAssertion` cop. ([AATTtejasbubane][]) * Add `RSpec/Rails/AvoidSetupHook` cop. ([AATTpaydaylight][]) * Fix false negative in `RSpec/ExpectChange` cop with block style and chained method call. ([AATTtejasbubane][]) [#]# 2.3.0 (2021-04-28) * Allow `RSpec/ContextWording` to accept multi-word prefixes. ([AATThosamaly][]) * Drop support for ruby 2.4. ([AATTbquorning][]) * Add `CountAsOne` configuration option to `RSpec/ExampleLength`. ([AATTstephannv][]) * Fix a false positive for `RSpec/RepeatedExampleGroupBody` when `pending` or `skip` have argument(s). ([AATTTietew][]) [#]# 2.2.0 (2021-02-02) * Fix `HooksBeforeExamples`, `LeadingSubject`, `LetBeforeExamples` and `ScatteredLet` autocorrection to take into account inline comments and comments immediately before the moved node. ([AATTDarhazer][]) * Improve rubocop-rspec performance. ([AATTDarhazer][], [AATTbquorning][]) * Include `Enabled: true` to prevent a mismatched configuration parameter warning when `RSpec` cops are explicitly enabled in the user configuration. ([AATTpirj][]) * Wed Jan 20 2021 Stephan Kulow updated to version 2.1.0 see installed CHANGELOG.md * Fri Sep 25 2020 Stephan Kulow updated to version 1.43.2 see installed CHANGELOG.md [#]# 1.43.2 (2020-08-25) * Fix `RSpec/FilePath` when checking a file with a shared example. ([AATTpirj][]) * Fix subject nesting detection in `RSpec/LeadingSubject`. ([AATTpirj][]) [#]# 1.43.1 (2020-08-17) * Fix `RSpec/FilePath` when checking a file defining e.g. an empty class. ([AATTbquorning][]) [#]# 1.43.0 (2020-08-17) * Add a new base cop class `::RuboCop::Cop::RSpec::Base`. The old base class `::RuboCop::Cop::RSpec::Cop` is deprecated, and will be removed in the next major release. ([AATTbquorning][]) * Add support for subject detection after includes and example groups in `RSpec/LeadingSubject`. ([AATTpirj][]) * Ignore trailing punctuation in context description prefix. ([AATTelliterate][]) * Relax `RSpec/VariableDefinition` cop so interpolated and multiline strings are accepted even when configured to enforce the `symbol` style. ([AATTbquorning][]) * Fix `RSpec/EmptyExampleGroup` to flag example groups with examples in invalid scopes. ([AATTmlarraz][]) * Fix `RSpec/EmptyExampleGroup` to ignore examples groups with examples defined inside iterators. ([AATTpirj][]) * Improve `RSpec/NestedGroups`, `RSpec/FilePath`, `RSpec/DescribeMethod`, `RSpec/MultipleDescribes`, `RSpec/DescribeClass`\'s top-level example group detection. ([AATTpirj][]) * Add detection of `let!` with a block-pass or a string literal to `RSpec/LetSetup`. ([AATTpirj][]) * Add `IgnoredPatterns` configuration option to `RSpec/VariableName`. ([AATTjtannas][]) * Add `RSpec/MultipleMemoizedHelpers` cop. ([AATTmockdeep][]) [#]# 1.42.0 (2020-07-09) * Update RuboCop dependency to 0.87.0 because of changes to internal APIs. ([AATTbquorning][], [AATTDarhazer][]) [#]# 1.41.0 (2020-07-03) * Extend the list of Rails spec types for `RSpec/DescribeClass`. ([AATTpirj][]) * Fix `FactoryBot/AttributeDefinedStatically` to allow `#traits_for_enum` without a block. ([AATTharrylewis][]) * Improve the performance of `FactoryBot/AttributeDefinedStatically`, `RSpec/InstanceVariable`, `RSpec/LetSetup`, `RSpec/NestedGroups` and `RSpec/ReturnFromStub`. ([AATTandrykonchin][]) [#]# 1.40.0 (2020-06-11) * Add new `RSpec/VariableName` cop. ([AATTtejasbubane][]) * Add new `RSpec/VariableDefinition` cop. ([AATTtejasbubane][]) * Expand `Capybara/VisibilityMatcher` to support more than just `have_selector`. ([AATTtwalpole][]) * Add new `SpecSuffixOnly` option to `RSpec/FilePath` cop. ([AATTzdennis][]) * Allow `RSpec/RepeatedExampleGroupBody` to differ only by described_class. ([AATTrobotdana][]) * Fix `RSpec/FilePath` detection across sibling directories. ([AATTrolfschmidt][]) * Improve the performance of `RSpec/SubjectStub` by an order of magnitude. ([AATTandrykonchin][]) * Thu May 07 2020 Stephan Kulow - updated to version 1.39.0 see installed CHANGELOG.md [#]# 1.39.0 (2020-05-01) * Fix `RSpec/FilePath` detection when absolute path includes test subject. ([AATTeitoball][]) * Add new `Capybara/VisibilityMatcher` cop. ([AATTaried3r][]) * Ignore String constants by `RSpec/Describe`. ([AATTAlexWayfer][]) * Drop support for ruby 2.3. ([AATTbquorning][]) * Fix multiple cops to detect `let` with proc argument. ([AATTtejasbubane][]) * Add autocorrect support for `RSpec/ScatteredLet`. ([AATTDarhazer][]) * Add new `RSpec/EmptyHook` cop. ([AATTtejasbubane][]) [#]# 1.38.1 (2020-02-15) * Fix `RSpec/RepeatedDescription` to detect descriptions with interpolation and methods. ([AATTlazycoder9][]) [#]# 1.38.0 (2020-02-11) * Fix `RSpec/InstanceVariable` detection inside custom matchers. ([AATTpirj][]) * Fix `RSpec/ScatteredSetup` to distinguish hooks with different metadata. ([AATTpirj][]) * Add autocorrect support for `RSpec/ExpectActual` cop. ([AATTdduugg][], [AATTpirj][]) * Add `RSpec/RepeatedExampleGroupBody` cop. ([AATTlazycoder9][]) * Add `RSpec/RepeatedExampleGroupDescription` cop. ([AATTlazycoder9][]) * Add block name and other lines to `RSpec/ScatteredSetup` message. ([AATTelebow][]) * Fix `RSpec/RepeatedDescription` to take into account example metadata. ([AATTlazycoder9][]) * Mon Feb 10 2020 Stephan Kulow - updated to version 1.37.1 see installed CHANGELOG.md [#]# 1.37.1 (2019-12-16) * Improve message and description of `FactoryBot/FactoryClassName`. ([AATTybiquitous][]) * Fix `FactoryBot/FactoryClassName` to ignore `Hash` and `OpenStruct`. ([AATTjfragoulis][]) [#]# 1.37.0 (2019-11-25) * Implement `RSpec/DescribedClassModuleWrapping` to disallow RSpec statements within a module. ([AATTkellysutton][]) * Fix documentation rake task to support Rubocop 0.75. ([AATTnickcampbell18][]) * Fix `RSpec/SubjectStub` to detect implicit subjects stubbed. ([AATTQQism][]) * Fix `RSpec/Pending` not flagging `skip` with string values. ([AATTpirj][]) * Add `AllowedExplicitMatchers` config option for `RSpec/PredicateMatcher`. ([AATTmkrawc][]) * Add `FactoryBot/FactoryClassName` cop. ([AATTjfragoulis][]) [#]# 1.36.0 (2019-09-27) * Fix `RSpec/DescribedClass`\'s error when `described_class` is used as part of a constant. ([AATTpirj][]) * Fix `RSpec/ExampleWording` autocorrect of multi-line docstrings. ([AATTpirj][]) * Add `RSpec/ContextMethod` cop, to detect method names in `context`. ([AATTgeniou][]) * Update RuboCop dependency to 0.68.1 with support for children matching node pattern syntax. ([AATTpirj][]) * Add `RSpec/EmptyLineAfterExample` cop to check that there is an empty line after example blocks. ([AATTpirj][]) * Fix `Capybara/CurrentPathExpectation` auto-corrector, to include option `ignore_query: true`. ([AATTonumis][]) * Fix `RSpec/Focus` detecting mixed array/hash metadata. ([AATTdgollahon][]) * Fix `RSpec/Focus` to also detect `pending` examples. ([AATTdgollahon][]) [#]# 1.35.0 (2019-08-02) * Add `RSpec/ImplicitBlockExpectation` cop. ([AATTpirj][]) [#]# 1.34.1 (2019-07-31) * Fix `RSpec/DescribedClass`\'s error when a local variable is part of the namespace. ([AATTpirj][]) [#]# 1.34.0 (2019-07-23) * Remove `AggregateFailuresByDefault` config option of `RSpec/MultipleExpectations`. ([AATTpirj][]) * Add `RSpec/LeakyConstantDeclaration` cop. ([AATTjonatas][], [AATTpirj][]) * Improve `aggregate_failures` metadata detection of `RSpec/MultipleExpectations`. ([AATTpirj][]) * Improve `RSpec/SubjectStub` detection and message. ([AATTpirj][]) * Change message of `RSpec/LetSetup` cop to be more descriptive. ([AATTfoton][]) * Improve `RSpec/ExampleWording` to handle interpolated example messages. ([AATTnc-holodakg][]) * Improve detection by allowing the use of `RSpec` as a top-level constant. ([AATTpirj][]) * Fix `RSpec/DescribedClass`\'s incorrect detection. ([AATTpirj][]) * Improve `RSpec/DescribedClass`\'s ability to detect inside modules and classes. ([AATTpirj][]) * Fri Jul 19 2019 Stephan Kulow - updated to version 1.33.0 see installed CHANGELOG.md [#]# 1.33.0 (2019-05-13) * Let `RSpec/DescribedClass` pass `Struct` instantiation closures. ([AATTschmijos][]) * Fixed `RSpec/ContextWording` missing `context`s with metadata. ([AATTpirj][]) * Fix `FactoryBot/AttributeDefinedStatically` not working with an explicit receiver. ([AATTcomposerinteralia][]) * Add `RSpec/Dialect` enforces custom RSpec dialects. ([AATTgsamokovarov][]) * Fix redundant blank lines in `RSpec/MultipleSubjects`\'s autocorrect. ([AATTpirj][]) * Drop support for ruby `2.2`. ([AATTbquorning][]) * Sat Mar 02 2019 Stephan Kulow - updated to version 1.32.0 see installed CHANGELOG.md [#]# 1.32.0 (2019-01-27) * Add `RSpec/Yield` cop, suggesting using the `and_yield` method when stubbing a method, accepting a block. ([AATTDarhazer][]) * Fix `FactoryBot/CreateList` autocorrect crashing when the factory is called with a block=. ([AATTDarhazer][]) * Fixed `RSpec/Focus` not flagging some cases of `RSpec.describe` with `focus: true`. ([AATTDarhazer][]) * Fixed `RSpec/Pending` not flagging some cases of `RSpec.describe` with `:skip`. ([AATTDarhazer][]) * Fix false positive in `RSpec/ReceiveCounts` when method name `exactly`, `at_least` or `at_most` is used along with `times`, without being an RSpec API. ([AATTDarhazer][]) * Mon Jan 14 2019 Stephan Kulow - updated to version 1.31.0 see installed CHANGELOG.md [#]# 1.31.0 (2019-01-02) * Add `IgnoreSharedExamples` option for `RSpec/NamedSubject`. ([AATTRST-J][]) * Add autocorrect support for `Capybara/CurrentPathExpectation` cop. ([AATTypresto][]) * Add support for built-in `exists` matcher for `RSpec/PredicateMatcher` cop. ([AATTmkenyon][]) * `SingleArgumentMessageChain` no longer reports an array as it\'s only argument as an offense. ([AATTDarhazer][]) * Thu Nov 22 2018 Stephan Kulow - updated to version 1.30.1 see installed CHANGELOG.md [#]# 1.30.1 (2018-11-01) * `FactoryBot/CreateList` now ignores `times` blocks with an argument. ([AATTDarhazer][]) [#]# 1.30.0 (2018-10-08) * Add config to `RSpec/VerifiedDoubles` to enforcement of verification on unnamed doubles. ([AATTBrentWheeldon][]) * Fix `FactoryBot/AttributeDefinedStatically` not working when there is a non-symbol key. ([AATTvzvu3k6k][]) * Fix false positive in `RSpec/ImplicitSubject` when `is_expected` is used inside `its()` block. ([AATTDarhazer][]) * Add `single_statement_only` style to `RSpec/ImplicitSubject` as a more relaxed alternative to `single_line_only`. ([AATTDarhazer][]) * Add `RSpec/UnspecifiedException` as a default cop to encourage more-specific `expect{}.to raise_error(ExceptionType)`, or `raise_exception` style handling of exceptions. ([AATTdaveworth][]) * Wed Sep 05 2018 cooloAATTsuse.com- updated to version 1.29.1 see installed CHANGELOG.md [#]# 1.29.1 (2018-09-01) * Fix false negative in `FactoryBot/AttributeDefinedStatically` when attribute is defined on `self`. ([AATTDarhazer][]) * `RSpec/FactoryBot` cops will now also inspect the `spec/factories.rb` path by default. ([AATTbquorning][]) [#]# 1.29.0 (2018-08-25) * `RSpec/InstanceVariable` - Recommend local variables in addition to `let`. ([AATTjaredbeck][]) * Add `RSpec/ImplicitSubject` cop. ([AATTDarhazer][]) * Add `RSpec/HooksBeforeExamples` cop. ([AATTDarhazer][]) [#]# 1.28.0 (2018-08-14) * Add `RSpec/ReceiveNever` cop enforcing usage of `not_to receive` instead of `never` matcher. ([AATTDarhazer][]) * Fix false positive in `RSpec/EmptyLineAfterExampleGroup` cop when example is inside `if`. ([AATTDarhazer][]) * Add `RSpec/MissingExampleGroupArgument` to enforce first argument for an example group. ([AATTgeniou][]) * Drop support for ruby `2.1`. ([AATTbquorning][]) * Add `FactoryBot/AttributeDefinedStatically` cop to help FactoryBot users with the deprecation of static attributes. ([AATTcomposerinteralia][], [AATTseanpdoyle][]) * Remove `FactoryBot/DynamicAttributeDefinedStatically` and `FactoryBot/StaticAttributeDefinedDynamically` cops. ([AATTcomposerinteralia][]) * Thu Jun 14 2018 factory-autoAATTkulow.org- updated to version 1.27.0 see installed CHANGELOG.md [#]# 1.27.0 (2018-06-14) * `RSpec/LeadingSubject` now enforces subject to be before any examples, hooks or let declarations. ([AATTDarhazer][]) * Fix `RSpec/NotToNot` to highlight only the selector (`not_to` or `to_not`), so it works also on `expect { ... }` blocks. ([AATTbquorning][]) * Add `RSpec/EmptyLineAfterHook` cop. ([AATTbquorning][]) * Add `RSpec/EmptyLineAfterExampleGroup` cop to check that there is an empty line after example group blocks. ([AATTbquorning][]) * Fix `RSpec/DescribeClass` crashing on `RSpec.describe` without arguments. ([AATTDarhazer][]) * Bump RuboCop requirement to v0.56.0. ([AATTbquorning][]) * Fix `RSpec/OverwritingSetup` crashing if a variable is used as an argument for `let`. ([AATTDarhazer][]) * Wed Jun 06 2018 factory-autoAATTkulow.org- updated to version 1.26.0 see installed CHANGELOG.md [#]# 1.26.0 (2018-06-06) * Fix false positive in `RSpec/EmptyExampleGroup` cop when methods named like a RSpec method are used. ([AATTDarhazer][]) * Fix `Capybara/FeatureMethods` not working when there is require before the spec. ([AATTDarhazer][]) * Fix `RSpec/EmptyLineAfterFinalLet`: allow a comment to be placed after latest let, requiring empty line after the comment. ([AATTDarhazer][]) * Add `RSpec/ReceiveCounts` cop to enforce usage of :once and :twice matchers. ([AATTDarhazer][]) * Tue Apr 10 2018 factory-autoAATTkulow.org- updated to version 1.25.1 see installed CHANGELOG.md [#]# 1.25.1 (2018-04-10) * Fix false positive in `RSpec/Pending` cop when pending is used as a method name. ([AATTDarhazer][]) * Fix `FactoryBot/DynamicAttributeDefinedStatically` false positive when using symbol proc argument for a sequence. ([AATTtdeo][]) * Sun Apr 08 2018 factory-autoAATTkulow.org- updated to version 1.25.0 see installed CHANGELOG.md [#]# 1.25.0 (2018-04-07) * Add `RSpec/SharedExamples` cop to enforce consistent usage of string to titleize shared examples. ([AATTanthony-robin][]) * Add `RSpec/Be` cop to enforce passing argument to the generic `be` matcher. ([AATTDarhazer][]) * Fix false positives in `StaticAttributeDefinedDynamically` and `ReturnFromStub` when a const is used in an array or hash. ([AATTDarhazer][]) * Add `RSpec/Pending` cop to enforce no existing pending or skipped examples. This is disabled by default. ([AATTpatrickomatic][]) * Fix `RSpec/NestedGroups` cop support --auto-gen-config. ([AATTwalf443][]) * Fix false positives in `Capybara/FeatureMethods` when feature methods are used as property names in a factory. ([AATTDarhazer][]) * Allow configuring enabled methods in `Capybara/FeatureMethods`. ([AATTDarhazer][]) * Add `FactoryBot/CreateList` cop. ([AATTDarhazer][]) * Tue Mar 20 2018 factory-autoAATTkulow.org- updated to version 1.24.0 see installed CHANGELOG.md [#]# 1.24.0 (2018-03-06) * Compatibility with RuboCop v0.53.0. ([AATTbquorning][]) * The `Rails/HttpStatus` cop is unavailable if the `rack` gem cannot be loaded. ([AATTbquorning][]) * Fix `Rails/HttpStatus` not working with custom HTTP status codes. ([AATTbquorning][]) * Fix `FactoryBot/StaticAttributeDefinedDynamically` to handle empty block. ([AATTabrom][]) * Fix false positive in `FactoryBot/DynamicAttributeDefinedStatically` when a before/after callback has a symbol proc argument. ([AATTabrom][]) * Sat Feb 24 2018 factory-autoAATTkulow.org- updated to version 1.23.0 see installed CHANGELOG.md [#]# 1.23.0 (2018-02-23) * Add `RSpec/Rails/HttpStatus` cop to enforce consistent usage of the status format (numeric or symbolic). ([AATTanthony-robin][], [AATTjojos003][]) * Fix false negative in `RSpec/ReturnFromStub` when a constant is being returned by the stub. ([AATTDarhazer][]) * Fix `FactoryBot/DynamicAttributeDefinedStatically` to handle dynamic attributes inside arrays/hashes. ([AATTabrom][]) * Add `FactoryBot/StaticAttributeDefinedDynamically` (based on dynamic attribute cop). ([AATTabrom][]) * Thu Feb 08 2018 cooloAATTsuse.com- updated to version 1.22.2 see installed CHANGELOG.md [#]# 1.22.2 (2018-02-01) * Fix error in `RSpec/DescribedClass` when working on an empty `describe` block. ([AATTbquorning][]) [#]# 1.22.1 (2018-01-17) * Fix false positives in `RSpec/ReturnFromStub`. ([AATTDarhazer][]) [#]# 1.22.0 (2018-01-10) * Updates `describe_class` to account for RSpecs `:system` wrapper of rails system tests. ([AATTEliseFitz15][]) * Add `RSpec/ExpectChange` cop to enforce consistent usage of the change matcher. ([AATTDarhazer][]) * Add autocorrect support to `RSpec/LetBeforeExamples`. ([AATTDarhazer][]) * Fix `RSpec/InstanceVariable` flagging instance variables inside dynamically defined class. ([AATTDarhazer][]) * Add autocorrect support for `RSpec/ReturnFromStub` cop. ([AATTbquorning][]) * Add `RSpec/ExampleWithoutDescription` cop. ([AATTDarhazer][]) [#]# 1.21.0 (2017-12-13) * Compatibility with RuboCop v0.52.0. ([AATTbquorning][]) * Improve performance when user does not override default RSpec Pattern config. ([AATTwalf443][]) * Add `AggregateFailuresByDefault` configuration for `RSpec/MultipleExpectations` cop. ([AATTonk][]) * Fri Jan 26 2018 dkangAATTsuse.com- Add initial version 1.20.1
|
|
|