File rubygem-rubocop-rspec.changes of Package rubygem-rubocop-rspec
-------------------------------------------------------------------
Fri Jul 19 09:34:06 UTC 2019 - Stephan Kulow <coolo@suse.com>
- updated to version 1.33.0
see installed CHANGELOG.md
## 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][])
* Add `RSpec/Dialect` enforces custom RSpec dialects. ([@gsamokovarov][])
* Fix redundant blank lines in `RSpec/MultipleSubjects`'s autocorrect. ([@pirj][])
* Drop support for ruby `2.2`. ([@bquorning][])
-------------------------------------------------------------------
Sat Mar 2 15:36:44 UTC 2019 - Stephan Kulow <coolo@suse.com>
- 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. ([@Darhazer][])
* Fix `FactoryBot/CreateList` autocorrect crashing when the factory is called with a block=. ([@Darhazer][])
* Fixed `RSpec/Focus` not flagging some cases of `RSpec.describe` with `focus: true`. ([@Darhazer][])
* Fixed `RSpec/Pending` not flagging some cases of `RSpec.describe` with `:skip`. ([@Darhazer][])
* 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. ([@Darhazer][])
-------------------------------------------------------------------
Mon Jan 14 13:56:19 UTC 2019 - Stephan Kulow <coolo@suse.com>
- updated to version 1.31.0
see installed CHANGELOG.md
## 1.31.0 (2019-01-02)
* Add `IgnoreSharedExamples` option for `RSpec/NamedSubject`. ([@RST-J][])
* Add autocorrect support for `Capybara/CurrentPathExpectation` cop. ([@ypresto][])
* Add support for built-in `exists` matcher for `RSpec/PredicateMatcher` cop. ([@mkenyon][])
* `SingleArgumentMessageChain` no longer reports an array as it's only argument as an offense. ([@Darhazer][])
-------------------------------------------------------------------
Thu Nov 22 05:34:38 UTC 2018 - Stephan Kulow <coolo@suse.com>
- 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. ([@Darhazer][])
## 1.30.0 (2018-10-08)
* Add config to `RSpec/VerifiedDoubles` to enforcement of verification on unnamed doubles. ([@BrentWheeldon][])
* Fix `FactoryBot/AttributeDefinedStatically` not working when there is a non-symbol key. ([@vzvu3k6k][])
* Fix false positive in `RSpec/ImplicitSubject` when `is_expected` is used inside `its()` block. ([@Darhazer][])
* Add `single_statement_only` style to `RSpec/ImplicitSubject` as a more relaxed alternative to `single_line_only`. ([@Darhazer][])
* Add `RSpec/UnspecifiedException` as a default cop to encourage more-specific `expect{}.to raise_error(ExceptionType)`, or `raise_exception` style handling of exceptions. ([@daveworth][])
-------------------------------------------------------------------
Wed Sep 5 10:39:33 UTC 2018 - coolo@suse.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`. ([@Darhazer][])
* `RSpec/FactoryBot` cops will now also inspect the `spec/factories.rb` path by default. ([@bquorning][])
## 1.29.0 (2018-08-25)
* `RSpec/InstanceVariable` - Recommend local variables in addition to `let`. ([@jaredbeck][])
* Add `RSpec/ImplicitSubject` cop. ([@Darhazer][])
* Add `RSpec/HooksBeforeExamples` cop. ([@Darhazer][])
## 1.28.0 (2018-08-14)
* Add `RSpec/ReceiveNever` cop enforcing usage of `not_to receive` instead of `never` matcher. ([@Darhazer][])
* Fix false positive in `RSpec/EmptyLineAfterExampleGroup` cop when example is inside `if`. ([@Darhazer][])
* Add `RSpec/MissingExampleGroupArgument` to enforce first argument for an example group. ([@geniou][])
* Drop support for ruby `2.1`. ([@bquorning][])
* Add `FactoryBot/AttributeDefinedStatically` cop to help FactoryBot users with the deprecation of static attributes. ([@composerinteralia][], [@seanpdoyle][])
* Remove `FactoryBot/DynamicAttributeDefinedStatically` and `FactoryBot/StaticAttributeDefinedDynamically` cops. ([@composerinteralia][])
-------------------------------------------------------------------
Thu Jun 14 14:11:08 UTC 2018 - factory-auto@kulow.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. ([@Darhazer][])
* Fix `RSpec/NotToNot` to highlight only the selector (`not_to` or `to_not`), so it works also on `expect { ... }` blocks. ([@bquorning][])
* Add `RSpec/EmptyLineAfterHook` cop. ([@bquorning][])
* Add `RSpec/EmptyLineAfterExampleGroup` cop to check that there is an empty line after example group blocks. ([@bquorning][])
* Fix `RSpec/DescribeClass` crashing on `RSpec.describe` without arguments. ([@Darhazer][])
* Bump RuboCop requirement to v0.56.0. ([@bquorning][])
* Fix `RSpec/OverwritingSetup` crashing if a variable is used as an argument for `let`. ([@Darhazer][])
-------------------------------------------------------------------
Wed Jun 6 10:23:41 UTC 2018 - factory-auto@kulow.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. ([@Darhazer][])
* Fix `Capybara/FeatureMethods` not working when there is require before the spec. ([@Darhazer][])
* Fix `RSpec/EmptyLineAfterFinalLet`: allow a comment to be placed after latest let, requiring empty line after the comment. ([@Darhazer][])
* Add `RSpec/ReceiveCounts` cop to enforce usage of :once and :twice matchers. ([@Darhazer][])
-------------------------------------------------------------------
Tue Apr 10 20:48:46 UTC 2018 - factory-auto@kulow.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. ([@Darhazer][])
* Fix `FactoryBot/DynamicAttributeDefinedStatically` false positive when using symbol proc argument for a sequence. ([@tdeo][])
-------------------------------------------------------------------
Sun Apr 8 04:30:30 UTC 2018 - factory-auto@kulow.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. ([@anthony-robin][])
* Add `RSpec/Be` cop to enforce passing argument to the generic `be` matcher. ([@Darhazer][])
* Fix false positives in `StaticAttributeDefinedDynamically` and `ReturnFromStub` when a const is used in an array or hash. ([@Darhazer][])
* Add `RSpec/Pending` cop to enforce no existing pending or skipped examples. This is disabled by default. ([@patrickomatic][])
* Fix `RSpec/NestedGroups` cop support --auto-gen-config. ([@walf443][])
* Fix false positives in `Capybara/FeatureMethods` when feature methods are used as property names in a factory. ([@Darhazer][])
* Allow configuring enabled methods in `Capybara/FeatureMethods`. ([@Darhazer][])
* Add `FactoryBot/CreateList` cop. ([@Darhazer][])
-------------------------------------------------------------------
Tue Mar 20 10:16:34 UTC 2018 - factory-auto@kulow.org
- updated to version 1.24.0
see installed CHANGELOG.md
## 1.24.0 (2018-03-06)
* Compatibility with RuboCop v0.53.0. ([@bquorning][])
* The `Rails/HttpStatus` cop is unavailable if the `rack` gem cannot be loaded. ([@bquorning][])
* Fix `Rails/HttpStatus` not working with custom HTTP status codes. ([@bquorning][])
* Fix `FactoryBot/StaticAttributeDefinedDynamically` to handle empty block. ([@abrom][])
* Fix false positive in `FactoryBot/DynamicAttributeDefinedStatically` when a before/after callback has a symbol proc argument. ([@abrom][])
-------------------------------------------------------------------
Sat Feb 24 05:32:40 UTC 2018 - factory-auto@kulow.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). ([@anthony-robin][], [@jojos003][])
* Fix false negative in `RSpec/ReturnFromStub` when a constant is being returned by the stub. ([@Darhazer][])
* Fix `FactoryBot/DynamicAttributeDefinedStatically` to handle dynamic attributes inside arrays/hashes. ([@abrom][])
* Add `FactoryBot/StaticAttributeDefinedDynamically` (based on dynamic attribute cop). ([@abrom][])
-------------------------------------------------------------------
Thu Feb 8 06:25:35 UTC 2018 - coolo@suse.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. ([@bquorning][])
## 1.22.1 (2018-01-17)
* Fix false positives in `RSpec/ReturnFromStub`. ([@Darhazer][])
## 1.22.0 (2018-01-10)
* Updates `describe_class` to account for RSpecs `:system` wrapper of rails system tests. ([@EliseFitz15][])
* Add `RSpec/ExpectChange` cop to enforce consistent usage of the change matcher. ([@Darhazer][])
* Add autocorrect support to `RSpec/LetBeforeExamples`. ([@Darhazer][])
* Fix `RSpec/InstanceVariable` flagging instance variables inside dynamically defined class. ([@Darhazer][])
* Add autocorrect support for `RSpec/ReturnFromStub` cop. ([@bquorning][])
* Add `RSpec/ExampleWithoutDescription` cop. ([@Darhazer][])
## 1.21.0 (2017-12-13)
* Compatibility with RuboCop v0.52.0. ([@bquorning][])
* Improve performance when user does not override default RSpec Pattern config. ([@walf443][])
* Add `AggregateFailuresByDefault` configuration for `RSpec/MultipleExpectations` cop. ([@onk][])
-------------------------------------------------------------------
Fri Jan 26 16:08:38 UTC 2018 - dkang@suse.com
- Add initial version 1.20.1