SUSE / hackweek

SUSE Hack Week tools and data
https://hackweek.opensuse.org/
MIT License
64 stars 53 forks source link

Update ruby_parser 3.20.3 → 3.21.0 (minor) #1447

Closed depfu[bot] closed 7 months ago

depfu[bot] commented 7 months ago

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?

↗️ ruby_parser (indirect, 3.20.3 → 3.21.0) · Repo · Changelog

Release Notes

3.21.0 (from changelog)

  • 18 minor enhancements:

    • (internal) Added simple RubyLexer#comment.

    • (internal) Removed RubyLexer#comments and #ignore_body_comments.

    • (internal) Removed RubyParser#comments.

    • (internal) Renamed files from lib/ruby##_parser.* to lib/ruby_parser##.*

    • (internal) Renamed lib/ruby3_parser.yy to lib/ruby_parser3.yy

    • (internal) Renamed lib/ruby_parser.yy to lib/ruby_parser2.yy

    • Added tentative 3.2 support. (torrocus)

    • Made ‘rake compare` a multitask (28s -> 10s!!).

    • Made ‘rake compare` depend on `generate` (from clean: 28s -> 18s).

    • No longer package versioned .y files.

    • Overhaul of parser/lexer comment processing.

    • Parser productions for k_class/k_module/k_def carry their comment with them.

    • Restructured build tasks to utilize Hoe’s .yy support! 8.5s -> 1.2s!!!

    • RubyParser new_(class|module|defn|defs) handle comment processing via sexp.

    • RubyParser new_(class|module|defn|defs) handle normalizing production sexps.

    • RubyParser#next_token clears out lexer’s comment when applicable.

    • Simplified parser productions for defn_head, defs_head. No more normalizing.

    • Updated ‘rake compare` steps for lrama in ruby 3.3+.

  • 6 bug fixes:

    • Cleaned out cruft from ‘rake compare` code.

    • Fixed compare/normalize.rb for lrama differences.

    • Made ‘parser` task depend on `isolate` task to pick up racc generator.

    • Made racc a runtime dependency (was dev only) now that ruby 3.3 doesn’t ship with the racc runtime. (wildmaples)

    • Updated README.rdoc updating instructions to match current filenames.

    • Updated compare versions and added 3.3.

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

Commits

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


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)