[pull] master from ruby:master#913
Merged
pull[bot] merged 16 commits intoturkdevops:masterfrom Apr 6, 2026
Merged
Conversation
Bumps the github-actions group with 1 update in the / directory: [taiki-e/install-action](https://github.com/taiki-e/install-action). Updates `taiki-e/install-action` from 2.71.2 to 2.73.0 - [Release notes](https://github.com/taiki-e/install-action/releases) - [Changelog](https://github.com/taiki-e/install-action/blob/main/CHANGELOG.md) - [Commits](taiki-e/install-action@d858f81...7a562df) --- updated-dependencies: - dependency-name: taiki-e/install-action dependency-version: 2.73.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: github-actions ... Signed-off-by: dependabot[bot] <support@github.com>
Using `next` in `-p` mode skips the implicit `print $_`, causing pinned gem lines (e.g. rbs) to be silently dropped from the output. Replace `next` with an `unless` guard so the line is always printed. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…proc`
```ruby
h = {foo: 0, bar: 1, baz: 2}
proc = h.to_proc
proc.call(:nosuch) # => nil
h.default_proc = proc {'wow!'} # This affects `proc` immediately
proc.call(:nosuch) # => 'wow!'
```
This behavior is a bit of surprise to me, and I could not find
any mention to this behavior in current doc.
This method is available since ruby 1.9.0. ruby/resolv@1e05d06fbd
Fix `Resolv::LOC::Coord.create` hemisphere handling for LOC coordinates. `hemi` was always `1` because `m[4]` matched `([NESW])`. ruby/resolv@043b5bf624
Limit the east-west direction to 180 degrees or less and the north-south direction to 90 degrees or less, respectively. ruby/resolv@8075a1fe76
- Leading zeros in fractional part are significant, must not be suppressed. - Use `Integer#divmod` to calculate division and module at once. - Use simple comparison for exact match than regexp. ruby/resolv@0e3109ca3b
Limit the size to between 0cm and less than 100,000km. ruby/resolv@9d9e0c3044
`Size` smaller than 1m was represented as rational.
```ruby
Resolv::LOC::Size.create("0.01m").to_s #=> "1/100m"
```
Fix to represent in the proper form for `create`.
ruby/resolv@2ff9e0585d
Limit the range from -100 km to the upper limit of the 32-bit representation. ruby/resolv@e6dfbe7cb0
Extract the first element instead of `join.to_i` (`String#unpack1` is available since ruby 2.4.0, but this gem still supports 2.3). ruby/resolv@f518da95ae
Mostly the same as for `on_kw`. Stop comparing order for a handful of events. They are emitted by ripper in a order that is not easy for prism to replicate. For example in`foo, bar, baz = 123`, `op` for `=` is emitted before the last mass assign identifier (so `foo`, `bar`, `=`, `baz`. I don't want to replicate that if I don't have to. Same for `::` in `A::B = 123` etc. ruby/prism@4d88aed5e9
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
See Commits and Changes for more details.
Created by
pull[bot] (v2.0.0-alpha.4)
Can you help keep this open source service alive? 💖 Please sponsor : )