Update rubocop-rspec 3.1.0 → 3.2.0 (minor) #934
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request.
What changed?
✳️ rubocop-rspec (3.1.0 → 3.2.0) · Repo · Changelog
Release Notes
3.2.0
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 30 commits:
Merge pull request #1987 from rubocop/release
Release v3.2.0
Merge pull request #1985 from rubocop/revert-unwanted-change
Merge pull request #1975 from corsonknowles/require_void_expect_acts_inside_an_example_block
Update CHANGELOG.md
Revert an change that would conceal unintentional RSpec syntax
Merge branch 'master' into require_void_expect_acts_inside_an_example_block
Merge pull request #1984 from rubocop/fixcbz
Fix an error for `RSpec/ChangeByZero` when `change (...) .by (0)` and `change (...)`, concatenated with `and` and `or`
Merge pull request #1982 from rubocop/improve-cwc
Change `RSpec/ContextWording` cop to always report an offense when both `Prefixes` and `AllowedPatterns` are empty
Merge pull request #1972 from corsonknowles/add_branch_coverage
Require VoidExpect operate inside an example block
Merge pull request #1978 from rubocop/add-issue-templete
Merge pull request #1977 from rubocop/fix-typo
Add issue templates for bug reports and feature requests
Fix typo in example_without_description_spec.rb
Merge pull request #1979 from rubocop/fix-wait
Merge pull request #1970 from corsonknowles/complete_line_coverage_for_rubocop_rspec
bundle exec rake generate_cops_documentation
Improve `confirm_documentation` task to display out-of-sync documentation
Fix problem with `Open3.popen3` where `confirm_documentation` task never finishes waiting for child processes
Complete 100 line coverage for Metadata mixin
Complete branch coverage for VoidExpect and ContextWording
Merge pull request #1974 from rubocop/fix-test-in-head
Fix a failed test in hook_spec.rb use ruby-head
Merge pull request #1967 from splattael/example-without-description-styleguide
Link related style guide for RSpec/ExampleWithoutDescription
Merge pull request #1964 from rubocop/switch-docs-version-v3.1.0
Switch docs version back
✳️ rubocop (1.67.0 → 1.68.0) · Repo · Changelog
Release Notes
1.68.0
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 71 commits:
Cut 1.68
Update Changelog
[Fix #12140] Add new `Style/CombinableDefined` cop.
Fix a false negative for `Style/RedundantLineContinuation`
Merge pull request #13400 from Earlopain/offense-cop-name-docs
Fix docs for `Offense.cop_name`
Fix deserialization of unknown encoding offenses
[Fix #13387] Fix false positives for `Style/RedundantParentheses`
Merge pull request #13399 from dvandersluis/fix-and-offense-typo
Fix typos `and offense` instead of `an offense`.
Merge pull request #13397 from dvandersluis/percent-literal-corrector-brace-pairs
Update `PercentLiteralCorrector` to be able to write pairs of delimiters without excessive escaping.
Merge pull request #13393 from koic/fix_false_positives_for_style_guard_clause
[Fix #13390] Fix false positives for `Style/GuardClause`
Merge pull request #13325 from kotaro0522/fix_the_autocorrect_of_non_atomic_file_operation
Merge pull request #13389 from pCosta99/issue/13309
Use RuboCop RSpec 3.2 for development
Fix the autocorrect of non_atomic_file_operation
[Fix #13309] Fix false negative for Lint/UselessAssignment
Merge pull request #13388 from Earlopain/generate-docs-2.7
Fix another error for the documentation generator on Ruby 2.7
Add new `Style/SafeNavigationChainLength` cop
Merge pull request #13386 from dvandersluis/fix-unescaped-bracket-in-regexp-docs
Fix documentation for `Lint/UnescapedBracketInRegexp`.
[Fix #11514] Add new `Lint/UnescapedBracketInRegexp` cop.
Handle error in extractors when the extractor is a class
Fix a wrongly memoized method in `VariableForce`
Merge pull request #13381 from dvandersluis/issue/13378
[Fix #13378] When removing parens in `Style/TernaryParentheses` with a `send` node condition, ensure its arguments are parenthesized.
Merge pull request #13375 from dvandersluis/issue/13374
Merge pull request #13379 from Earlopain/ruby-3.4-stringio
Fix an error when running with Ruby 3.4-dev
Merge pull request #13370 from dvandersluis/issue/13364
[Fix #13374] Return exit code 0 with `--display-only-correctable` and `--display-only-safe-correctable` when no offenses are displayed.
[Fix #13365] Fix false positives for `Lint/SafeNavigationConsistency`
[Fix #13364] Fix incorrect autocorrect with `Lint/UselessAssignment` a multiple assignment or `for` contains an inner assignment.
Fix an incorrect issue number
Merge pull request #13369 from koic/fix_an_incorrect_autocorrect_for_naming_block_forwarding
[Fix #13368] Fix an incorrect autocorrect for `Naming/BlockForwarding`
Merge pull request #13363 from masato-bkn/fix-cyclomatic-complexity-doc
[Doc] Fix the broken example in the `Metrics/CyclomaticComplexity` document
Fix false positive in `Style/MultipleComparison` when `ComparisonsThreshold` exceeds 2
Add new `IgnoreDuplicateElseBranch` option to `Lint/DuplicateBranch`
Merge pull request #13255 from vlad-pisanov/vp_map_into_array_3
[Fix #13050] Add new `Style/BitwisePredicate` cop
Fix false negatives for `Style/MapIntoArray` when using non-splatted arguments
Merge pull request #13362 from vlad-pisanov/vp_redundant_freeze_1
Fix false positives for `Style/RedundantInterpolationUnfreeze` and `Style/RedundantFreeze` when strings contain interpolated global, instance, and class variables
Add AllowSteepAnnotation option to Layout/LeadingCommentSpace
Merge pull request #13355 from koic/fix_incorrect_autocorrect_for_style_block_delimiters_cop
Merge pull request #13358 from Earlopain/false-positive-space-before-brackets
[Fix #13356] Fix a false positive for `Layout/SpaceBeforeBrackets` when there is a dot before `[]=`
[Fix #13353] Fix an incorrect autocorrect for `Style/BlockDelimiters`
Add style guide URL to `Style/AmbiguousEndlessMethodDefinition`
[Fix #12988] Add new `Style/AmbiguousEndlessMethodDefinition` cop.
Add a basic test for the docs generator
[Fix #13336] Update `Style/SafeNavigation` to not autocorrect if the RHS of an `and` node is an `or` node.
[Fix #13324] Fix `--disable-uncorrectable` to not insert a comment inside a string continuation.
Show Ruby version of the current dir for `rubocop -V`
Clearly distinguish between the version string and verbose version output
Merge pull request #13349 from dvandersluis/block-delim-bug
[Fix #13348] Ensure `Style/BlockDelimiters` autocorrection does not move other code between the block and comment.
Merge pull request #13345 from dvandersluis/issue/13343
[Fix #13343] Prevent `Layout/LineLength` from breaking up a method with arguments chained onto a heredoc delimiter.
Merge pull request #13342 from koic/fix_false_positves_for_lint_safe_navigation_chain
[Fix #13341] Fix false positives for `Lint/SafeNavigationChain`
[Fix #13337] Fix false positives for `Style/RedundantLineContinuation`
Add new `Style/KeywordArgumentsMerging` cop
Merge pull request #13333 from Earlopain/server-cli-specs
Fix test failures caused by changes to the rubocop version
Reset the docs version
Release Notes
2.7.5
2.7.4
2.7.3
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by more commits than we can show here.
Release Notes
3.3.5.1 (from changelog)
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 5 commits:
Update changelog.
Bump version.
* Bump maintenance branches to 3.2.6 (#1044)
Update my name and copyright.
Update changelog.
Release Notes
1.33.0 (from changelog)
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 14 commits:
Cut 1.33.0
Update Changelog
Add classes for `masgn` and `mlhs` nodes.
Add `VarNode` class for `lvar`, `ivar`, `cvar` and `gvar` node types.
Refactor `CasgnNode` and `ConstNode` to extract common functionality to `ConstantNode` mixin.
Fix warning when executing `rubocop` with `bundle exec`
Enhance rake debug tasks
Document named captures
Fix RuboCop offense (#321)
Remove useless "&". Thanks @dvandersluis
Use Prism 1.1+
Suppress RuboCop offenses
Bump `simplecov` (#316)
Restore docs/antora.yml
Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with
@depfu rebase
.All Depfu comment commands