Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update rubocop-rspec 2.20.0 → 2.23.0 (minor) #3252

Merged
merged 1 commit into from
Mar 4, 2024

Conversation

depfu[bot]
Copy link
Contributor

@depfu depfu bot commented Aug 11, 2023

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 (2.20.0 → 2.23.0) · Repo · Changelog

Release Notes

2.23.0

  • Add new RSpec/Rails/NegationBeValid cop. (@ydah)
  • Fix a false negative for RSpec/ExcessiveDocstringSpacing when finds description with em space. (@ydah)
  • Fix a false positive for RSpec/EmptyExampleGroup when example group with examples defined in if branch inside iterator. (@ydah)
  • Update the message output of RSpec/ExpectActual to include the word 'value'. (@corydiamand)
  • Fix a false negative for RSpec/Pending when it without body. (@ydah)
  • Add new RSpec/ReceiveMessages cop. (@ydah)
  • Change default.yml path to use **/spec/* instead of spec/*. (@ydah)
  • Add AllowedIdentifiers and AllowedPatterns configuration option to RSpec/IndexedLet. (@ydah)
  • Fix RSpec/NamedSubject when block has no body. (@splattael)
  • Fix RSpec/LetBeforeExamples autocorrect incompatible with RSpec/ScatteredLet autocorrect. (@ydah)
  • Update RSpec/Focus to support shared_context and shared_examples (@tmaier)

2.22.0

  • Extract factory_bot cops to a separate repository, rubocop-factory_bot. The rubocop-factory_bot repository is a dependency of rubocop-rspec and the factory_bot cops are aliased (RSpec/FactoryBot/Foo == FactoryBot/Foo) until v3.0 is released, so the change will be invisible to users until then. (@ydah)

2.21.0

  • Fix a false positive in RSpec/IndexedLet with suffixes after index-like numbers. (@pirj)
  • Fix an error for RSpec/Rails/HaveHttpStatus with comparison with strings containing non-numeric characters. (@ydah)
  • Fix an error for RSpec/MatchArray when match_array with no argument. (@ydah)
  • Add support a_block_changing and changing for RSpec/ChangeByZero. (@ydah)
  • Drop Ruby 2.6 support. (@ydah)

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.

✳️ rubocop (1.51.0 → 1.61.0) · Repo · Changelog

Release Notes

Too many releases to show here. View the full release notes.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

✳️ rubocop-capybara (2.18.0 → 2.20.0) · Repo · Changelog

Release Notes

2.20.0

What's Changed

  • Add new Capybara/RedundantWithinFind cop. (@ydah)
  • Change to default EnforcedStyle: link_or_button for Capybara/ClickLinkOrButtonStyle cop. (@ydah)
  • Change to default EnforcedStyle: have_no for Capybara/NegationMatcher cop. (@ydah)
  • Fix a false negative for RSpec/HaveSelector when first argument is dstr node. (@ydah)
  • Fix an invalid attributes parse when name with multiple [] for Capybara/SpecificFinders and Capybara/SpecificActions and Capybara/SpecificMatcher. (@ydah)
  • Fix a false positive for Capybara/SpecificMatcher when text: or exact_text: with regexp. (@ydah)

Full Changelog: v2.19.0...v2.20.0

2.19.0

What's Changed

  • Add new Capybara/RSpec/PredicateMatcher cop. (@ydah)
  • Add new Capybara/RSpec/HaveSelector cop. (@ydah)
  • Add new Capybara/ClickLinkOrButtonStyle cop. (@ydah)
  • Fix a false positive for Capybara/SpecificFinders when find with kind option. (@ydah)
  • Fix an incorrect autocorrect for Capybara/CurrentPathExpectation. (@ydah)
  • Drop Ruby 2.6 support. (@ydah)

Full Changelog: v2.18.0...v2.19.0

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.

↗️ json (indirect, 2.6.3 → 2.7.1) · Repo · Changelog

Release Notes

2.7.1

What's Changed

Improved

Fixed

Misc

New Contributors

Full Changelog: v2.7.0...v2.7.1

2.7.0

What's Changed

Improved

  • Perf. improvements to Hash#to_json in pure implementation generator. by @vipulnsward in #203
  • Remove unnecessary initialization of create_id in JSON.parse() by @Watson1978 in #454

Added

Fixed

Compatibility changes

  • JRuby requires a minimum of Java 8 by @headius in #516
  • Rename JSON::ParseError to JSON:ParserError by @dalizard in #530
  • Removed code for Ruby 1.8 by @hsbt in #540
  • alias_method is private on Ruby 2.3 and 2.4 by @hsbt in #541
  • remove_method of Module is private at Ruby 2.3 and 2.4 by @hsbt in #544
  • [jruby] avoid using deprecated BigDecimal.new by @kares in #546
  • Always indent even if empty by @headius in #517

Misc

  • Update CI matrix by @hsbt in #521
  • Add missing changelog entries for 1.8.5 and 1.8.6 by @r7kamura in #520
  • Actions workflow - Add new OS's, Ruby 3.1, Ruby master, Windows by @MSP-Greg in #491
  • Skip unsupported test on JRuby by @nobu in #532
  • Skip BigDecimal tests when it's missing to load by @hsbt in #533
  • Simplify by @nobu in #531
  • Load extension ('json/ext') consistently in test_ext by @aeroastro in #536
  • Use test-unit-ruby-core gem by @hsbt in #539
  • [CI] Add Windows mswin job by @MSP-Greg in #545
  • Exclude truffleruby-head from Actions by @hsbt in #551
  • tests/ractor_test.rb: make assert_separately available by @lucaskanashiro in #506
  • Added changes for 2.7.0 and restore entries to 2.6.3 and 2.6.2 by @hsbt in #552

New Contributors

Full Changelog: v2.6.3...v2.7.0

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.

↗️ parallel (indirect, 1.23.0 → 1.24.0) · Repo

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ parser (indirect, 3.2.2.1 → 3.3.0.5) · Repo · Changelog

Release Notes

3.3.0.5 (from changelog)

API modifications:

  • Bump 3.2 branch to 3.2.3 (#993) (Koichi ITO)

3.3.0.4 (from changelog)

Features implemented:

  • Register a Ruby 3.4 parser (#991) (Jean byroot Boussier)

3.3.0.3 (from changelog)

Bugs fixed:

  • lexer.rl: accept tabs before closing heredoc delimiter (#990) (Ilya Bylich)

3.3.0.2 (from changelog)

Bugs fixed:

  • Fix an error when using heredoc with non-word delimiters (#987) (Koichi ITO)

3.3.0.1 (from changelog)

Bugs fixed:

  • Supports Ruby 2.0+ runtime (#986) (Koichi ITO)

3.3.0.0 (from changelog)

API modifications:

  • current.rb: mark 3.3 branch as stable (#984) (Ilya Bylich)
  • ruby33.y: extract string_dend (#969) (Ilya Bylich)
  • lexer.rl: treat numparams as locals (#968) (Ilya Bylich)
  • ruby33.y: extract words_sep (#967) (Ilya Bylich)
  • literal.rb: match heredoc identifier from end of line (#965) (Ilya Bylich)
  • ruby33.y: extract {endless_command,endless_arg} rules (#964) (Ilya Bylich)
  • Bump Racc to 1.7.3 (#954) (Koichi ITO)

Features implemented:

  • ruby33.y: reject ambiguous anonymous arguments (#983) (Ilya Bylich)
  • ruby33.y: extract arg_splat rule. (#981) (Ilya Bylich)
  • builder.rb: warn it in a block with no ordinary params. (#980) (Ilya Bylich)
  • builder.rb: extract named captures only from static regexes. (#979) (Ilya Bylich)
  • ruby33.y: accept expr_value in sclass definition. (#978) (Ilya Bylich)
  • ruby33.y: extract p_in_kwarg (#977) (Ilya Bylich)
  • ruby33.y: extract p_assoc and p_in rules (#976) (Ilya Bylich)
  • ruby33.y: reject invalid gvar as symbol (#974) (Ilya Bylich)
  • ruby33.y: properly restore in_defined flag, extract begin_defined rule (#973) (Ilya Bylich)
  • builder.rb: reject multi-char gvar names starting with 0 (#972) (Ilya Bylich)
  • ruby33.y: allow semicolon in parenthesis at the first argument of command call (#971) (Ilya Bylich)
  • ruby33.y: parse qualified const with brace block as a method call (#970) (Ilya Bylich)

3.2.2.4 (from changelog)

API modifications:

  • bump Racc to 1.7.1 (#930) (Koichi ITO)

Bugs fixed:

  • Fix an error for flip-flop with beginless or endless ranges (#946) (Koichi ITO)

3.2.2.3 (from changelog)

API modifications:

  • Add Racc to runtime dependencies (#929) (Koichi ITO)

3.2.2.2 (from changelog)

API modifications:

  • bump racc to 1.7.0 (#928) (Ilya Bylich)

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.

↗️ regexp_parser (indirect, 2.8.1 → 2.9.0) · Repo · Changelog

Release Notes

2.9.0 (from changelog)

Added

  • all expressions now respond to #negative? / #negated?
    • previously only sets, props, and posix classes did
  • implemented #negative? / #negated? for more applicable expressions
    • \B, \D, \H, \S, \W, (?!...), (?<!...)

Fixed

  • fixed missing support for grapheme cluster break unicode properties
    • e.g. /\p{Grapheme_Cluster_Break=Extend}/

2.8.3 (from changelog)

Fixed

  • fixed scanner errors for insignificant leading zeros in numerical group refs
    • e.g. (a)\k<01>, (a)\g<-01>, (a)?(?(01)b|c)
    • thanks to Markus Schirp for the report

2.8.2 (from changelog)

Fixed

  • handle a corner case where parsing redundant number escapes raised an error
    • e.g. parse(/\99/), which in Ruby is a valid Regexp that matches 99
    • thanks to Markus Schirp for the report

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.

↗️ rubocop-ast (indirect, 1.28.1 → 1.31.1) · Repo · Changelog

Release Notes

1.30.0 (from changelog)

New features

1.29.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 more commits than we can show here.

↗️ unicode-display_width (indirect, 2.4.2 → 2.5.0) · Repo · Changelog

Release Notes

2.5.0 (from changelog)

  • Unicode 15.1

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.

🆕 language_server-protocol (added, 3.17.0.3)

🆕 rubocop-factory_bot (added, 2.25.1)


Depfu Status

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
@​depfu rebase
Rebases against your default branch and redoes this update
@​depfu recreate
Recreates this PR, overwriting any edits that you've made to it
@​depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@​depfu cancel merge
Cancels automatic merging of this PR
@​depfu close
Closes this PR and deletes the branch
@​depfu reopen
Restores the branch and reopens this PR (if it's closed)
@​depfu pause
Ignores all future updates for this dependency and closes this PR
@​depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@​depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)

@depfu depfu bot added the depfu Automatic PRs to update gems label Aug 11, 2023
@hennevogel
Copy link
Member

@depfu rebase

@depfu depfu bot force-pushed the depfu/update/rubocop-rspec-2.23.0 branch from 711bd37 to cdbb1e3 Compare March 4, 2024 15:49
@hennevogel hennevogel force-pushed the depfu/update/rubocop-rspec-2.23.0 branch from cdbb1e3 to 74c2551 Compare March 4, 2024 16:06
@hennevogel hennevogel merged commit c63ed43 into master Mar 4, 2024
8 checks passed
@depfu depfu bot deleted the depfu/update/rubocop-rspec-2.23.0 branch March 4, 2024 16:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
depfu Automatic PRs to update gems
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant