Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
devel:languages:ruby:extensions
rubygem-rubocop-rspec
rubygem-rubocop-rspec.changes
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File rubygem-rubocop-rspec.changes of Package rubygem-rubocop-rspec
------------------------------------------------------------------- Mon Jan 29 14:31:05 UTC 2024 - Dan Čermák <dan.cermak@posteo.net> - New upstream release 2.26.1, see bundled CHANGELOG.md ------------------------------------------------------------------- Tue Nov 14 15:34:22 UTC 2023 - Dan Čermák <dan.cermak@posteo.net> - New upstream release 2.25.0, see bundled CHANGELOG.md ------------------------------------------------------------------- Wed Dec 7 11:33:57 UTC 2022 - Stephan Kulow <coolo@suse.com> updated to version 2.15.0 see installed CHANGELOG.md ## 2.15.0 (2022-11-03) - Fix a false positive for `RSpec/RepeatedDescription` when different its block expectations are used. ([@ydah]) - Add `named_only` style to `RSpec/NamedSubject`. ([@kuahyeow]) - Fix `RSpec/FactoryBot/ConsistentParenthesesStyle` to ignore calls without the first positional argument. ([@pirj]) - Fix `RSpec/FactoryBot/ConsistentParenthesesStyle` to ignore calls inside a Hash or an Array. ([@pirj]) - Fix `RSpec/NestedGroups` to correctly use `AllowedGroups` config. ([@samrjenkins]) - Remove `Runners` and `HookScopes` RSpec DSL elements from configuration. ([@pirj]) - Add `with default RSpec/Language config` helper to `lib` (under `rubocop/rspec/shared_contexts/default_rspec_language_config_context`), to allow use for downstream cops based on `RuboCop::Cop::RSpec::Base`. ([@smcgivern]) ------------------------------------------------------------------- Fri Oct 28 05:07:22 UTC 2022 - Stephan Kulow <coolo@suse.com> updated to version 2.14.2 see installed CHANGELOG.md ## 2.14.2 (2022-10-25) - Fix an incorrect autocorrect for `FactoryBot/ConsistentParenthesesStyle` with `omit_parentheses` option when method name and first argument are not on same line. ([@ydah]) - Fix autocorrection loop in `RSpec/ExampleWording` for insufficient example wording. ([@pirj]) - Fix `RSpec/SortMetadata` not to reorder arguments of `include_`/`it_behaves_like`. ([@pirj]) - Fix a false positive for `RSpec/NoExpectationExample` when allowed pattern methods with arguments. ([@ydah]) - Change `RSpec/FilePath` so that it only checks suffix when path is under spec/routing or type is defined as routing. ([@r7kamura]) ## 2.14.1 (2022-10-24) - Fix an error for `RSpec/Rails/InferredSpecType` with redundant type before other Hash metadata. ([@ydah]) ## 2.14.0 (2022-10-23) - Add `require_implicit` style to `RSpec/ImplicitSubject`. ([@r7kamura]) - Fix a false positive for `RSpec/Capybara/SpecificMatcher` when `have_css("a")` without attribute. ([@ydah]) - Update `RSpec/ExampleWording` cop to raise error for insufficient descriptions. ([@akrox58]) - Add new `RSpec/Capybara/NegationMatcher` cop. ([@ydah]) - Add `AllowedPatterns` configuration option to `RSpec/NoExpectationExample`. ([@ydah]) - Improve `RSpec/NoExpectationExample` cop to ignore examples skipped or pending via metadata. ([@pirj]) - Add `RSpec/FactoryBot/ConsistentParenthesesStyle` cop. ([@Liberatys]) - Add `RSpec/Rails/InferredSpecType` cop. ([@r7kamura]) - Add new `RSpec/Capybara/SpecificActions` cop. ([@ydah]) - Update `config/default.yml` removing deprecated option to make the config correctable by users. ([@ignaciovillaverde]) - Do not attempt to auto-correct example groups with `include_examples` in `RSpec/LetBeforeExamples`. ([@pirj]) - Add new `RSpec/SortMetadata` cop. ([@leoarnold]) - Add support for subject! method to `RSpec/SubjectDeclaration`. ([@ydah]) ------------------------------------------------------------------- Mon Oct 10 13:20:16 UTC 2022 - Stephan Kulow <coolo@suse.com> updated to version 2.13.2 see installed CHANGELOG.md ## 2.13.2 (2022-09-23) * Fix an error for `RSpec/Capybara/SpecificFinders` with no parentheses. ([@ydah][]) * Fix a false positive for `RSpec/NoExpectationExample` with pending using `skip` or `pending` inside an example. ([@ydah][]) * Exclude `have_text` and `have_content` that raise `ArgumentError` with `RSpec/Capybara/VisibilityMatcher` where `:visible` is an invalid option. ([@ydah][]) * Fix a false negative for `RSpec/Capybara/VisibilityMatcher` with negative matchers. ([@ydah][]) ## 2.13.1 (2022-09-12) * Include config/obsoletion.yml in the gemspec. ([@hosamaly][]) ## 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][]) ------------------------------------------------------------------- Thu Aug 4 13:26:55 UTC 2022 - Stephan Kulow <coolo@suse.com> updated to version 2.12.1 see installed CHANGELOG.md ## 2.12.1 (2022-07-03) * Fix a false positive for `RSpec/Capybara/SpecificMatcher`. ([@ydah][]) ## 2.12.0 (2022-07-02) * Fix incorrect path suggested by `RSpec/FilePath` cop when second argument contains spaces. ([@tejasbubane][]) * Fix autocorrect for EmptyLineSeparation. ([@johnny-miyake][]) * Add new `RSpec/Capybara/SpecificMatcher` cop. ([@ydah][]) * Fixed false offense detection in `FactoryBot/CreateList` when a n.times block is including method calls in the factory create arguments. ([@ngouy][]) * Fix error in `RSpec/RSpec/FactoryBot/CreateList` cop for empty block. ([@tejasbubane][]) * Update `RSpec/MultipleExpectations` cop documentation with examples of aggregate_failures use. ([@edgibbs][]) * Declare autocorrect as unsafe for `RSpec/VerifiedDoubleReference`. ([@Drowze][]) * Add new `RSpec/Rails/HaveHttpStatus` cop. ([@akiomik][]) ## 2.11.1 (2022-05-18) * Fix a regression in `RSpec/ExpectChange` flagging chained method calls. ([@pirj][]) ## 2.11.0 (2022-05-18) * Drop Ruby 2.5 support. ([@ydah][]) * Add new `RSpec/ChangeByZero` cop. ([@ydah][]) * Improve `RSpec/ExpectChange` to detect namespaced and top-level constants. ([@M-Yamashita01][]) * Introduce an amendment to `Metrics/BlockLength` to exclude spec files. ([@luke-hill][]) ------------------------------------------------------------------- Thu Apr 28 05:47:34 UTC 2022 - Stephan Kulow <coolo@suse.com> 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. ([@ydah][]) * Add `RSpec/VerifiedDoubleReference` cop. ([@t3h2mas][]) * Make `RSpec/BeNil` cop configurable with a `be_nil` style and a `be` style. ([@bquorning][]) * Fix `Capybara/CurrentPathExpectation` autocorrect incompatible with `Style/TrailingCommaInArguments` autocorrect. ([@ydah][]) ## 2.9.0 (2022-02-28) * Add new `RSpec/BeNil` cop. ([@bquorning][]) * Add new `RSpec/BeEq` cop. ([@bquorning][]) ------------------------------------------------------------------- Tue Jan 25 07:31:25 UTC 2022 - Stephan Kulow <coolo@suse.com> 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. ([@pirj][]) * Fix `RSpec/LeadingSubject` failure in non-spec code. ([@pirj][]) * Add bad example to `RSpec/SubjectStub` cop. ([@oshiro3][]) * Replace non-styleguide cops `StyleGuide` attribute with `Reference`. ([@pirj][]) * Fix `RSpec/SubjectStub` to disallow stubbing of subjects defined in parent example groups. ([@pirj][]) ## 2.7.0 (2021-12-26) * Add new `RSpec/FactoryBot/SyntaxMethods` cop. ([@leoarnold][]) * Exclude `task` type specs from `RSpec/DescribeClass` cop. ([@harry-graham][]) ## 2.6.0 (2021-11-08) * Fix merging RSpec DSL configuration from third-party gems. ([@pirj][]) * Fix `RSpec/ExcessiveDocstringSpacing` false positive for multi-line indented strings. ([@G-Rath][]) * Fix `Include` configuration for sub-departments. ([@pirj][]) * Ignore heredocs in `RSpec/ExcessiveDocstringSpacing`. ([@G-Rath][]) * Stop `RSpec/ExampleWording` from trying to correct heredocs. ([@G-Rath][]) * Add autocorrect support for `RSpec/VariableDefinition`. ([@r7kamura][]) ## 2.5.0 (2021-09-21) * Declare autocorrect as unsafe for `ExpectChange`. ([@francois-ferrandis][]) * Fix each example for `RSpec/HookArgument`. ([@lokhi][]) * Exclude unrelated Rails directories from `RSpec/DescribeClass`. ([@MothOnMars][]) * Add `RSpec/ExcessiveDocstringSpacing` cop. ([@G-Rath][]) * Add `RSpec/SubjectDeclaration` cop. ([@dswij][]) * Fix excessive whitespace removal in `RSpec/EmptyHook` autocorrection. ([@pirj][]) * Bump RuboCop requirement to v1.19.0. ([@pirj][]) * Fix false positive in `RSpec/IteratedExpectation` when there is single, non-expectation statement in the block body. ([@Darhazer][]) ------------------------------------------------------------------- Thu Jun 24 17:55:56 UTC 2021 - Stephan Kulow <coolo@suse.com> 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). ([@topalovic][]) * Add missing documentation for `single_statement_only` style of `RSpec/ImplicitSubject` cop. ([@tejasbubane][]) * Fix an exception in `DescribedClass` when accessing a constant on a variable in a spec that is nested in a namespace. ([@rrosenblum][]) * Add new `RSpec/IdenticalEqualityAssertion` cop. ([@tejasbubane][]) * Add `RSpec/Rails/AvoidSetupHook` cop. ([@paydaylight][]) * Fix false negative in `RSpec/ExpectChange` cop with block style and chained method call. ([@tejasbubane][]) ## 2.3.0 (2021-04-28) * Allow `RSpec/ContextWording` to accept multi-word prefixes. ([@hosamaly][]) * Drop support for ruby 2.4. ([@bquorning][]) * Add `CountAsOne` configuration option to `RSpec/ExampleLength`. ([@stephannv][]) * Fix a false positive for `RSpec/RepeatedExampleGroupBody` when `pending` or `skip` have argument(s). ([@Tietew][]) ## 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. ([@Darhazer][]) * Improve rubocop-rspec performance. ([@Darhazer][], [@bquorning][]) * Include `Enabled: true` to prevent a mismatched configuration parameter warning when `RSpec` cops are explicitly enabled in the user configuration. ([@pirj][]) ------------------------------------------------------------------- Wed Jan 20 13:17:00 UTC 2021 - Stephan Kulow <coolo@suse.com> updated to version 2.1.0 see installed CHANGELOG.md ------------------------------------------------------------------- Fri Sep 25 14:51:12 UTC 2020 - Stephan Kulow <coolo@suse.com> 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. ([@pirj][]) * Fix subject nesting detection in `RSpec/LeadingSubject`. ([@pirj][]) ## 1.43.1 (2020-08-17) * Fix `RSpec/FilePath` when checking a file defining e.g. an empty class. ([@bquorning][]) ## 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. ([@bquorning][]) * Add support for subject detection after includes and example groups in `RSpec/LeadingSubject`. ([@pirj][]) * Ignore trailing punctuation in context description prefix. ([@elliterate][]) * Relax `RSpec/VariableDefinition` cop so interpolated and multiline strings are accepted even when configured to enforce the `symbol` style. ([@bquorning][]) * Fix `RSpec/EmptyExampleGroup` to flag example groups with examples in invalid scopes. ([@mlarraz][]) * Fix `RSpec/EmptyExampleGroup` to ignore examples groups with examples defined inside iterators. ([@pirj][]) * Improve `RSpec/NestedGroups`, `RSpec/FilePath`, `RSpec/DescribeMethod`, `RSpec/MultipleDescribes`, `RSpec/DescribeClass`'s top-level example group detection. ([@pirj][]) * Add detection of `let!` with a block-pass or a string literal to `RSpec/LetSetup`. ([@pirj][]) * Add `IgnoredPatterns` configuration option to `RSpec/VariableName`. ([@jtannas][]) * Add `RSpec/MultipleMemoizedHelpers` cop. ([@mockdeep][]) ## 1.42.0 (2020-07-09) * Update RuboCop dependency to 0.87.0 because of changes to internal APIs. ([@bquorning][], [@Darhazer][]) ## 1.41.0 (2020-07-03) * Extend the list of Rails spec types for `RSpec/DescribeClass`. ([@pirj][]) * Fix `FactoryBot/AttributeDefinedStatically` to allow `#traits_for_enum` without a block. ([@harrylewis][]) * Improve the performance of `FactoryBot/AttributeDefinedStatically`, `RSpec/InstanceVariable`, `RSpec/LetSetup`, `RSpec/NestedGroups` and `RSpec/ReturnFromStub`. ([@andrykonchin][]) ## 1.40.0 (2020-06-11) * Add new `RSpec/VariableName` cop. ([@tejasbubane][]) * Add new `RSpec/VariableDefinition` cop. ([@tejasbubane][]) * Expand `Capybara/VisibilityMatcher` to support more than just `have_selector`. ([@twalpole][]) * Add new `SpecSuffixOnly` option to `RSpec/FilePath` cop. ([@zdennis][]) * Allow `RSpec/RepeatedExampleGroupBody` to differ only by described_class. ([@robotdana][]) * Fix `RSpec/FilePath` detection across sibling directories. ([@rolfschmidt][]) * Improve the performance of `RSpec/SubjectStub` by an order of magnitude. ([@andrykonchin][]) ------------------------------------------------------------------- Thu May 7 21:26:19 UTC 2020 - Stephan Kulow <coolo@suse.com> - 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. ([@eitoball][]) * Add new `Capybara/VisibilityMatcher` cop. ([@aried3r][]) * Ignore String constants by `RSpec/Describe`. ([@AlexWayfer][]) * Drop support for ruby 2.3. ([@bquorning][]) * Fix multiple cops to detect `let` with proc argument. ([@tejasbubane][]) * Add autocorrect support for `RSpec/ScatteredLet`. ([@Darhazer][]) * Add new `RSpec/EmptyHook` cop. ([@tejasbubane][]) ## 1.38.1 (2020-02-15) * Fix `RSpec/RepeatedDescription` to detect descriptions with interpolation and methods. ([@lazycoder9][]) ## 1.38.0 (2020-02-11) * Fix `RSpec/InstanceVariable` detection inside custom matchers. ([@pirj][]) * Fix `RSpec/ScatteredSetup` to distinguish hooks with different metadata. ([@pirj][]) * Add autocorrect support for `RSpec/ExpectActual` cop. ([@dduugg][], [@pirj][]) * Add `RSpec/RepeatedExampleGroupBody` cop. ([@lazycoder9][]) * Add `RSpec/RepeatedExampleGroupDescription` cop. ([@lazycoder9][]) * Add block name and other lines to `RSpec/ScatteredSetup` message. ([@elebow][]) * Fix `RSpec/RepeatedDescription` to take into account example metadata. ([@lazycoder9][]) ------------------------------------------------------------------- Mon Feb 10 15:41:15 UTC 2020 - Stephan Kulow <coolo@suse.com> - updated to version 1.37.1 see installed CHANGELOG.md ## 1.37.1 (2019-12-16) * Improve message and description of `FactoryBot/FactoryClassName`. ([@ybiquitous][]) * 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 `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][]) ## 1.36.0 (2019-09-27) * Fix `RSpec/DescribedClass`'s error when `described_class` is used as part of a constant. ([@pirj][]) * Fix `RSpec/ExampleWording` autocorrect of multi-line docstrings. ([@pirj][]) * Add `RSpec/ContextMethod` cop, to detect method names in `context`. ([@geniou][]) * Update RuboCop dependency to 0.68.1 with support for children matching node pattern syntax. ([@pirj][]) * Add `RSpec/EmptyLineAfterExample` cop to check that there is an empty line after example blocks. ([@pirj][]) * Fix `Capybara/CurrentPathExpectation` auto-corrector, to include option `ignore_query: true`. ([@onumis][]) * Fix `RSpec/Focus` detecting mixed array/hash metadata. ([@dgollahon][]) * Fix `RSpec/Focus` to also detect `pending` examples. ([@dgollahon][]) ## 1.35.0 (2019-08-02) * Add `RSpec/ImplicitBlockExpectation` cop. ([@pirj][]) ## 1.34.1 (2019-07-31) * Fix `RSpec/DescribedClass`'s error when a local variable is part of the namespace. ([@pirj][]) ## 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][]) ------------------------------------------------------------------- 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
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor