Fix lengths of 2**30 or more where long is 32 bits
<pre style='white-space:pre-wrap;width:81ex'>Fix lengths of 2**30 or more where long is 32 bits #rest_size, #skip, #match?, #skip_until and
<pre style='white-space:pre-wrap;width:81ex'>Fix lengths of 2**30 or more where long is 32 bits #rest_size, #skip, #match?, #skip_until and
It falls back to long on Ruby versions that do not define HAVE_RB_LEN_T, so the change also builds there. Co-Authored-By: Claude Opus 5.5 <
<pre style='white-space:pre-wrap;width:81ex'>Drop the ULEN2NUM fallback left in stringio The rb_len_t fallback synced from ruby/stringio al
<pre style='white-space:pre-wrap;width:81ex'>Use rb_len_t for String lengths and positions in json The column of a parse error is a charact
Lengths passed to OpenSSL functions that take a long, such as the d2i_* decoders, stay as they are. It falls back to long on Ruby versions t
<pre style='white-space:pre-wrap;width:81ex'>Use LEN2NUM for the digest length in digest It falls back to LONG2NUM on Ruby versions that do
<pre style='white-space:pre-wrap;width:81ex'>Use rb_len_t for String lengths and Array indices in date It falls back to long on Ruby versio
The lengths that libyaml and libfyaml report as size_t are cast to rb_len_t instead of long when they become String lengths. It falls back t
Clamping lengths to uInt now follows the width of rb_len_t instead of long. The offset GzipReader#rewind passes to IO#seek and the value der
It falls back to long on Ruby versions that do not define HAVE_RB_LEN_T, so the change also builds there. Co-Authored-By: Claude Opus 5.5 <
It falls back to long on Ruby versions that do not define HAVE_RB_LEN_T, so the change also builds there. Co-Authored-By: Claude Opus 5.5 <
Ruby on Rails. Contribute to rails/rails development by creating an account on GitHub.
The Ruby Programming Language. Contribute to ruby/ruby development by creating an account on GitHub.
prism will be built into the interpreter as a plain library under the Ruby::Prism namespace, not as a default gem (the prism gem becomes a b
[Bug #22379] Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
prism is no longer a default gem (the built-in parser is Ruby::Prism now), so add the prism gem to gems/bundled_gems. `require "prism&
This is the output of ruby tool/sync_default_gems.rb prism git rm -r lib/prism.rb lib/prism at https://github.com/ruby/prism/commi
The test checks that extension libraries load inside a box; prism is a statically linked extension reached through "ruby/prism" no
Ruby::Prism itself does not compile the program (prism_compile.c does, and other implementations may not even compile an AST into bytecode).
Method#syntax_tree & co. now parse with Ruby::Prism, the parser built into the interpreter, instead of `require "prism"`. The
Ruby on Rails. Contribute to rails/rails development by creating an account on GitHub.
はじめに 2026年9月下旬以降、国内でもサイバー攻撃による被害が相次いで報道されています。 その侵入経路は、ネットワーク機器の脆弱性を突くものや、フィッシングメールなど、さまざまです。 また今後は、利用者自身だけでなく、AI エージェントが外部のコンテンツやサービスへア...
Bun v1.4.3リリース。TypeScriptの型チェックを行うbun checkを追加し、bun run --check/bun test --check/bun build --checkに対応。--disallow-code-generation-from-string
https://github.com/ruby/stringio/commit/d3c5e6d01e
IO#reopen can make an uninitialized IO object look initialized, which can trigger a crash when IO#close is called. For example, the followi
The length fields of String and Array are rb_len_t, which is not necessarily long. The Fixnum range checks stay based on long. The bindings
unsigned long can be narrower than rb_len_t, which would truncate the length that YJIT and ZJIT read through this function. https://bugs.ru
The tested added when using the refinement iclass as the hash key shows incorrect behavior, because it calls a refinement method that it was
…ment method super Similar to the defined?(super) change, #super_method has a separate lookup path than regular super. It's further rem
The Ruby Programming Language. Contribute to ruby/ruby development by creating an account on GitHub.
Co-authored-by: Shugo Maeda <shugo@ruby-lang.org>
Previously, creating and using an arbitrary number of refinements in a loop would result in a memory leak, since the refinement module iclas
…super
This was previously prohibited as it wasn't handled correctly. The reason it wasn't handled correctly is that at the point of the su
This will be used to make the refinement iclasses cache weak, avoiding a memory leak when creating and using an arbitrary number of refineme
…ion for refined module method Since the fix to make send and symbol proc work correctly with refined module method, the correctly setup ic
Co-authored-by: Shugo Maeda <shugo@ruby-lang.org>
…le method
Method#super_method needs to skip other refinements. The test added when using the refinement iclass as the hash key showed incorrect Method
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The lengths passed to recv(2), send(2) and gethostname(2), and the lengths of sockaddr, are left as they are. Co-Authored-By: Claude Opus 5
Only imemo_count_up and imemo_count_value treat the count as unsigned, so keep cnt as rb_len_t for the other users of MEMO and give them the
The ZJIT bindings are regenerated with make zjit-bindgen. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
rb_int_positive_pow takes the base as long and the exponent as unsigned long, so read the count with NUM2LEN and raise the Integer instead.
It falls back to long on Ruby versions that do not define HAVE_RB_LEN_T, so the change also builds there. Co-Authored-By: Claude Opus 5.5 <
…space ObjectSpace.dump writes the lengths with dump_append_sizet, because dump_append_ld takes a long and is also used for Fixnum values.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
It was int, which overflows on a line longer than INT_MAX bytes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The Ruby Programming Language. Contribute to ruby/ruby development by creating an account on GitHub.
… spec The spec cloned rack from github.com, so it timed out or failed to resolve the host on CI runners with unreliable network access. h
…ddr#to_s IPAddr#to_s ran its zero-compression and IPv4-tail regexps on the output of #to_string, which already ends with the zone ID. That
Unauthenticated pulls of fedora:44 from Docker Hub hit the rate limit and failed the job while initializing the container. The other CI cont
先に前提を書く 私はプログラムが書けない会社員である。楽天証券のマーケットスピードII RSSとClaudeを使って、自動売買の仕組みを作っている。この記事の数字は、すべて次の条件で得たものだ。 戦略の売買では一円も動かしていない。 発注しない常駐エージェントが、実データで売