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 1.45.1 → 1.54.1 (minor) #247

Closed
wants to merge 1 commit into from

Conversation

depfu[bot]
Copy link
Contributor

@depfu depfu bot commented Jul 5, 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 (1.45.1 → 1.54.1) · 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.

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

Commits

See the full diff on Github. The new version differs by 10 commits:

↗️ parser (indirect, 3.2.1.0 → 3.2.2.3) · Repo · Changelog

Release Notes

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)

3.2.1.1 (from changelog)

API modifications:

  • bump racc to 1.6.2 (#916) (Ilya Bylich)
  • backport tests for mixed usage of anonymous kwarg/kwrestarg and forwarded-arguments (#915) (Ilya Bylich)
  • add tests for kwopt+kwrest arguments and forwarded_kwrestarg. (#913) (Ilya Bylich)

Bugs fixed:

  • builders/default: allow forwarded_kwrestarg with additional kwargs (#912) (Owen Stephens)

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by 25 commits:

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

Release Notes

2.8.1 (from changelog)

Fixed

  • support for extpict unicode property, added in Ruby 2.6
  • support for 10 unicode script/block properties added in Ruby 3.2

2.8.0 (from changelog)

Added

  • Regexp::Expression::Shared#ends_at
    • e.g. parse(/a +/x)[0].ends_at # => 3
    • e.g. parse(/a +/x)[0].ends_at(include_quantifier = false) # => 1
  • Regexp::Expression::Shared#{capturing?,comment?}
    • previously only available on capturing and comment groups
  • Regexp::Expression::Shared#{decorative?}
    • true for decorations: comment groups as well as comments and whitespace in x-mode
  • Regexp::Expression::Shared#parent
  • new format argument :original for Regexp::Expression::Base#to_s
    • includes decorative elements between node and its quantifier
    • e.g. parse(/a (?#comment) +/x)[0].to_s(:original) # => "a (?#comment) +"
    • using it is not needed when calling Root#to_s as Root can't be quantified
  • support calling Subexpression#{each_expression,flat_map} with a one-argument block
    • in this case, only the expressions are passed to the block, no indices
  • support calling test methods at Expression class level
    • capturing?, comment?, decorative?, referential?, terminal?
    • e.g. Regexp::Expression::CharacterSet.terminal? # => false

Fixed

  • Regexp::Expression::Shared#full_length with whitespace before quantifier
    • e.g. parse(/a +/x)[0].full_length used to yield 2, now it yields 3
  • Subexpression#to_s output with children with whitespace before their quantifier
    • e.g. parse(/a + /x).to_s used to yield "a+ ", now it yields "a + "
    • calling #to_s on sub-nodes still omits such decorative interludes by default
      • use new #to_s format :original to include it
      • e.g. parse(/a + /x)[0].to_s(:original) # => "a +"
  • fixed Subexpression#te behaving differently from other expressions
    • only Subexpression#te used to include the quantifier
    • now #te is the end index without quantifier, as for other expressions
  • fixed NoMethodError when calling #starts_at or #ts on empty sequences
    • e.g. Regexp::Parser.parse(/|/)[0].starts_at
    • e.g. Regexp::Parser.parse(/[&&]/)[0][0].starts_at
  • fixed nested comment groups breaking local x-options
    • e.g. in /(?x:(?#hello)) /, the x-option wrongly applied to the whitespace
  • fixed nested comment groups breaking conditionals
    • e.g. in /(a)(?(1)b|c(?#hello)d)e/, the 2nd conditional branch included "e"
  • fixed quantifiers after comment groups being mis-assigned to that group
    • e.g. in /a(?#foo){3}/ (matches 'aaa')
  • fixed Scanner accepting two cases of invalid Regexp syntax
    • unmatched closing parentheses ()) and k-backrefs with number 0 (\k<0>)
    • these are a SyntaxError in Ruby, so could only be passed as a String
    • they now raise a Regexp::Scanner::ScannerError
  • fixed some scanner errors not inheriting from Regexp::Scanner::ScannerError
  • reduced verbosity of inspect / pretty print output

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by 41 commits:

↗️ rubocop-ast (indirect, 1.26.0 → 1.29.0) · Repo · Changelog

Release Notes

1.29.0 (from changelog)

1.28.1 (from changelog)

Bug fixes

  • #262: Fix an error when parsing non UTF-8 frozen string. (@koic)

1.28.0 (from changelog)

New features

  • #259: Add forwarded_kwrestarg node to AST::Builder. (@koic)

1.27.0 (from changelog)

New features

  • #229: Add source_range method to NodePattern. (@koic)

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by 25 commits:

↗️ ruby-progressbar (indirect, 1.11.0 → 1.13.0) · Repo · Changelog

Release Notes

1.13.0 (from changelog)

Add

  • Ability To Allow Different Projectors To Be Used For Time Estimates
  • Concept Of A Projector
  • Ability To Access Progress Bar Instance Using Enumerator Refinement

Remove

  • smoothing Option

Change

  • Issue Caused By Ruby Bug

1.12.0 (from changelog)

Add

  • Ability To Swap Out Running Average Calculators
  • running_average_rate As Configuration Option
  • Wall Clock Time To Completion To The Format Elements

Change

  • Rename Running Average Calculator To Smoothed Average Calculator
  • Rename smoothing To running_average_rate
  • Rename smoothing_factor To rate
  • Allow Timer's Elapsed Seconds To Calculate Even If Not Started

Does any of this look wrong? Please let us know.

🆕 language_server-protocol (added, 3.17.0.3)


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 label Jul 5, 2023
@depfu
Copy link
Contributor Author

depfu bot commented Jul 14, 2023

Closed in favor of #248.

@depfu depfu bot closed this Jul 14, 2023
@depfu depfu bot deleted the depfu/update/rubocop-1.54.1 branch July 14, 2023 19:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants