| Age | Commit message (Collapse) | Author |
|
e.g.
```ruby
{ 1 => 2 }
```
The callback will be invoked for `1` as while it has a native JSON
equivalent, it's not legal as an object name.
|
|
Fix: https://github.com/ruby/json/issues/861
It's not incorrect to use scientific notation, but it tend
to throw people off a bit, so it's best to keep it for very large
numbers.
https://github.com/ruby/json/commit/1566cd01a6
|
|
https://github.com/ruby/json/commit/51ce76ea66
|
|
Fix: https://github.com/ruby/json/issues/859
https://github.com/ruby/json/commit/67ebabec75
Co-Authored-By: Jean Boussier <jean.boussier@gmail.com>
|
|
https://github.com/ruby/json/commit/55552cafe2
|
|
https://github.com/ruby/json/commit/08b9eb0ee6
|
|
to prevent implicit file discovery missing files.
https://github.com/ruby/json/commit/6bded942c4
|
|
https://github.com/ruby/json/commit/5855f4f603
|
|
And make it a standard setting.
https://github.com/rubygems/rubygems/commit/17e356fa94
|
|
`normalize_path` is a pretty hot path, it's called many times per file
in each gem. Since the platform isn't going to change from call to call,
we can conditionally define `normalize_path` based on the value of
`Gem.win_platform?`.
https://github.com/rubygems/rubygems/commit/d5e61411f2
|
|
without a value
https://github.com/rubygems/rubygems/commit/9f34bf6854
Co-authored-by: Martin Emde <martinemde@users.noreply.github.com>
|
|
https://github.com/rubygems/rubygems/commit/47c3dc19ee
Co-authored-by: Jonathan Barquero <jonbarlo@hotmail.com>
|
|
https://github.com/rubygems/rubygems/commit/3bbbf4a4e5
|
|
This is where error handling happens in all the other options, so it's
where we'll look when we completely remove error handling for these
removed CLI flags in the next major.
https://github.com/rubygems/rubygems/commit/40d660c607
|
|
an error
https://github.com/rubygems/rubygems/commit/8bfe317e6d
|
|
If using a gem with precompiled versions having different dependencies
than the generic version from a path source, and with a lockfile
including a precompiled version, we would materialize the
generic version, but end up using dependencies for the precompiled
version. That will result in the parallel installer missing the
specifications for the extra dependencies of the generic version,
causing a crash.
If we are materializing for installation, make sure we use the
materialized specification when traversing dependencies.
https://github.com/rubygems/rubygems/commit/5f75d75de7
|
|
|
|
This is a) a lot of memory traffic and b) is another good proxy for our
ability to strength reduce method calls.
|
|
https://github.com/ruby/erb/commit/cb4911f5f0
|
|
https://github.com/ruby/erb/commit/5e6fea0417
|
|
https://github.com/ruby/erb/commit/ad8231cd68
|
|
https://github.com/ruby/erb/commit/b0ccb1e317
|
|
https://github.com/ruby/erb/commit/b629d578c0
|
|
https://github.com/ruby/erb/commit/3e57b27566
|
|
https://github.com/ruby/erb/commit/9b16b2d553
|
|
https://github.com/ruby/erb/commit/dd6db81d43
|
|
https://github.com/ruby/erb/commit/7556e6817c
|
|
* ZJIT: Compile sendforward with dynamic dispatch
* Reload locals only if it has blockiseq
* Add a test case of ... with other args
|
|
If another ractor is calling for GC, we need to prevent the current one
from joining the barrier. Otherwise, our half-built object will be marked.
The repro script was:
test.rb:
```ruby
require "objspace"
1000.times do
ObjectSpace.trace_object_allocations do
r = Ractor.new do
_obj = 'a' * 1024
end
r.join
end
end
```
$ untilfail lldb -b ./exe/ruby -o "target create ./exe/ruby" -o "run test.rb" -o continue
It would fail at `ractor_port_mark`, rp->r was a garbage value. Credit to John for finding the
solution.
Co-authored-by: John Hawthorn <john.hawthorn@shopify.com>
|
|
* ZJIT: Support variadic C calls
This reduces the `dynamic_send_count` in `liquid-render` by ~21%
* ZJIT: Reuse gen_push_frame
* ZJIT: Avoid optimizing variadic C call when tracing is enabled
|
|
https://github.com/ruby/prism/commit/2ddedf650a
|
|
|
|
It's a no-op and always returns `nil`.
Fixes https://github.com/Shopify/ruby/issues/755
|
|
A cross_ractor_require is either a require or an autoload, so we can make
the fields an union. This reduces the size of cross_ractor_require by 8
bytes.
|
|
The test is no longer useful since
5c7dfe85a1dc49334e2828791f0ade42eee662db because Module#initialize_copy
is empty/not defined anymore.
|
|
Bumps the bundler group with 1 update in the /spec/bundler/realworld/fixtures/warbler directory: [rexml](https://github.com/ruby/rexml).
Updates `rexml` from 3.4.1 to 3.4.2
- [Release notes](https://github.com/ruby/rexml/releases)
- [Changelog](https://github.com/ruby/rexml/blob/master/NEWS.md)
- [Commits](https://github.com/ruby/rexml/compare/v3.4.1...v3.4.2)
---
updated-dependencies:
- dependency-name: rexml
dependency-version: 3.4.2
dependency-type: indirect
dependency-group: bundler
...
Signed-off-by: dependabot[bot] <support@github.com>
|
|
https://github.com/ruby/erb/commit/7fed01c4de
|
|
The documentation must be just before the definition.
https://github.com/ruby/erb/commit/62282e32d9
|
|
(https://github.com/ruby/erb/pull/78)
https://github.com/ruby/erb/commit/de0f18579e
|
|
Disallow pending interrupts to be checked during `FiberScheduler#unblock`.
Ractors can send signals at any time, so the previous debug assertion
can fail if a Ractor sends a signal.
Co-authored-by: Luke Gruber <luke.gruber@shopify.com>
|
|
Previously when we copied base_encoding on top of the encoding, other
threads could briefly see the name and ruby_encoding_index of the base
encoding.
|
|
|
|
|
|
|
|
|
|
|
|
This has fewer effects (can be elided!) and will eventually get better
codegen, too.
Fix https://github.com/Shopify/ruby/issues/752
|
|
https://github.com/ruby/erb/commit/dee5dd4da8
|
|
https://github.com/ruby/erb/commit/d5f6f65a89
|
|
https://github.com/ruby/erb/commit/77830cb205
|