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

[pull] master from ruby:master #355

Merged
merged 63 commits into from
Aug 22, 2023
Merged

[pull] master from ruby:master #355

merged 63 commits into from
Aug 22, 2023

Conversation

pull[bot]
Copy link

@pull pull bot commented Aug 20, 2023

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

@pull pull bot added the ⤵️ pull label Aug 20, 2023
amatsuda and others added 27 commits August 20, 2023 09:04
… YAML class references does not warn

Before this, you would get constant redefinition warnings on Psych::DefaultKey

Additionally, ensure the retries wont continue infinitely in the case of the ArgumentError not being caused by Marshal trying to load the undefined classes

rubygems/rubygems@919e8c2de4
Co-authored-by: David Rodríguez <deivid.rodriguez@riseup.net>
…it to avoid allocating another hash.

`String#start_with?` is faster than regex that is bound to the start of
a string.

rubygems/rubygems@9b2006ef09
…Array. that means we can use bang methods to avoid allocating new copies

rubygems/rubygems@8bc13fa55f
…. The individual keys are also new, so we can use ! methods on each individual one as well.

rubygems/rubygems@f2e912b9bb
(ruby/reline#580)

Timeout's implementation relies on Thread, which would conflict with
`ruby/debug`'s thread-freezing implementation and has casued issues like

- ruby/debug#877
- ruby/debug#934
- ruby/debug#1000

This commit avoids the issue by completely removing the use of Timeout.

ruby/reline@d4f0cd3fe1
(ruby/irb#686)

* Support `VISUAL` env var, and prefer it over `EDITOR`

* Update test/irb/test_cmd.rb

---------

ruby/irb@399b872c31

Co-authored-by: Stan Lo <stan001212@gmail.com>
* For example in ProgramNode:
  # attr_reader statements: Node
  =>
  # attr_reader statements: StatementsNode

ruby/prism@ffed35238c
flavorjones and others added 29 commits August 21, 2023 12:22
Previously, parsing a snippet like this:

    %r\nfoo\n

would result in tracking the second newline twice, resulting in a
failed runtime assertion.

Fixing that issue reveals another bug, which is that the _first_
newline was not being tracked at all. So we introduce a call to
yp_newline_list right when we construct the REGEXP_BEGIN token.

ruby/prism@0d5d759091
…ntain write nodes

It makes it more difficult to find all locations where a variable
is written to if they're just read nodes. To keep things consistent
we should make them write nodes.

ruby/prism@840e094045
Previously, parsing a snippet like this:

    %r\nfoo\n

would result in tracking the second newline twice, resulting in a
failed runtime assertion.

Fixing that issue reveals another bug, which is that the _first_
newline was not being tracked at all. So we introduce a call to
yp_newline_list right when we construct the REGEXP_BEGIN token.

ruby/prism@0d5d759091
YARP commits were synced out of order. We are doing this reset
commit to ensure that all files are currently correct and we can
proceed with monitoring syncs so this doesn't happen again.
integration
(ruby/irb#688)

* Avoid overriding user's irb_name setting in debugger integration

Instead of always setting `irb_name` to `irb:rdbg`, it should respect
the user's setting and only append `:rdbg` to it.

* Introduce write_rc test helper

ruby/irb@2ce7593351
(rubygems/rubygems#6898)

Supports .tool-versions (ASDF) by checking for a line starting with "ruby"
before falling back to reading the entire file, as in .ruby-version.

rubygems/rubygems@6c0a3e793a
(ruby/erb#49)

I was surprised to see erb show up when I was using memory_profiler on
my app. ERB::Compiler#compile has a blank string literal, and it
ended up allocating some 41532 blank strings for a relatively small surface
area.

ruby/erb@b7e45c2bdc
It doesn't use optparse, so the location is not flexible.
@pull pull bot merged commit ceafdb5 into wapm-packages:master Aug 22, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.