Emit NoEPEscape patch point after every non-leaf instruction
`local_inval` was inherited only from the first-visited predecessor, so a merge point after `eval` in one branch could read a stale local. P
`local_inval` was inherited only from the first-visited predecessor, so a merge point after `eval` in one branch could read a stale local. P
https://github.com/ruby/prism/commit/7f276e542c
https://github.com/ruby/prism/commit/9c9474fdcd
https://github.com/ruby/prism/commit/6a44a3698d
https://github.com/ruby/prism/commit/b81d200453
The fully-stacked web framework. Contribute to remix-run/remix development by creating an account on GitHub.
https://github.com/ruby/un/commit/c2b6ffd2dc
…block With safe navigation operator (Ruby 2.3) and split with block (Ruby 2.6) it is possible to avoid the intermediate variable ``opt``an
Clean up how a relation's join values are sorted into the query
`select_named_joins` returned the association names, filled an array of stashed join dependencies passed to it as an out parameter, and yiel
Return a `JoinBuckets` struct instead of a hash with a default block and the join type as a tuple, build the order of the stashed joins in o
Fix `eager_load` with a `limit` on a relation that joins a CTE
https://github.com/ruby/prism/commit/bdf15c7566
Working out whether the limit can be applied to the query the eager load joins into ran the relation's own join values through `select_a
Because of the `^^^` hints, it's not valid ruby and so rdoc gives it no syntax highlighting. We can convince it otherwise and syntax-hig
Any iseq created inside an eval, class_eval or module_eval had its `location.pathobj` set to an Array of 2 elements where the 2nd element wa
https://github.com/ruby/prism/commit/b2cb61deb0
https://github.com/ruby/prism/commit/fb2fea4cb2
https://github.com/ruby/prism/commit/aa0ebe032a
https://github.com/ruby/prism/commit/de9a651018
https://github.com/ruby/prism/commit/3ea17ccfec
https://github.com/ruby/prism/commit/cad38e9ce5
https://github.com/ruby/prism/commit/c1964c8a20
https://github.com/ruby/prism/commit/534b370fff
https://github.com/ruby/prism/commit/28ea3c6505
https://github.com/ruby/prism/commit/b3b27e8000
https://github.com/ruby/prism/commit/18f579ed31
https://github.com/ruby/prism/commit/046f9a1df8
https://github.com/ruby/prism/commit/3ca14b6f3b
https://github.com/ruby/prism/commit/b24fc8dca3
https://github.com/ruby/prism/commit/e86036d1e4
https://github.com/ruby/prism/commit/212e446966
https://github.com/ruby/prism/commit/3eddf3a81c
https://github.com/ruby/prism/commit/7b781b1fa3
https://github.com/ruby/prism/commit/72298a210e
The `JoinDependency` built from the association names passed to `left_joins` is rooted at the base table, so it never depends on any other j
When named captures were present we would reprocess the regexp and accidentally report errors twice. https://github.com/ruby/prism/commit/e
It returns an autoload_const, not an autoload_data. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Ruby::Prism is autoloaded when it is first referenced. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
An autoload registration has been kept in a per-module table under the hidden instance variable __autoload__, in addition to the Qundef entr
With Ruby::Box, requiring "ruby/prism" explicitly in a user box loads it in that box. As its C extension is statically linked and
A constant entry whose value is Qundef always holds the autoload registration, so check its type only by VM_ASSERT instead of handling other
Fix join order when `eager_load` is combined with merged joins
Add the method. OpenSSL::Buffering already supports other character-oriented methods such as #getc, #ungetc, or #readchar, and this is the o
Handle nested arrays in the arguments, similar to how IO#puts behaves. https://github.com/ruby/openssl/commit/d87ebfe0a1
Run assertions in test_pair.rb against a pair of real socket objects to catch unintended differences between SSLSocket and core IO behavior.
IO#write and IO#<< convert the arguments to String with #to_s. RDoc comments for OpenSSL::Buffering#write also stated this, but they d
IO#syswrite converts the argument with #to_s rather than #to_str. https://github.com/ruby/openssl/commit/25a57af17f
Let OpenSSL::Buffering#each_byte return an Enumerator if called without a block. Also add the #each_char variant. https://github.com/ruby/
Passing a String to #ungetc should use the entire content, not just the first character. Also add OpenSSL::Buffering#ungetbyte for symmetry
The `JoinDependency` built by `eager_load` is rooted at the base table, so it never depends on any other join, while joins merged in from a
SSLSocket#sysread and #syswrite never raise Errno::EAGAIN. It appears to me that commit https://github.com/ruby/ruby/commit/a9fb0817a154 (s
Webアプリケーションフレームワーク「SvelteKit 3」正式版がリリースされました。 SvelteKitは、Web UIフレームワークの「Svelte」とビルドツールの「Vite」を基盤とし、ルーティング、サーバサイドレンダリング(S...
Move adapter-specific migration compatibility into per-adapter behaviors
Since a1efb9ae6b (Promote prism to a bundled gem), the prism extension is also built with gcov under .bundle/gems/prism-1.9.0/ext/prism. Its
Only consult the connection pools the execution context has used
Avoid database collisions for concurrent AR test runs
Migration::Compatibility branched on connection.adapter_name. Instead, the connection's compatibility_behavior_for(migration_class) reso
This commit removes RubyUpcalls and instead directly calls functions in the C binding from Rust. This also allows LTO to inline C calls from
AWS Community Builder Serverlessカテゴリの @Kanahiro です。 Lambdaでコンテナを動かすことに心血を注いでいます。 AWS Lambda と Web Functions AWS Lambda Web Functionsは...
初級資格だからと思って舐めていましたが、想像より大分難しかったです。 10月の3連休を使って、AWS Certified Cloud Practitioner(CLF-C02)にようやく合格しました。点数は798点(1000点満点)、勉強時間は合わせて15時間くらいです。...
io_getpartial() and io_read_nonblock() are now almost identical.
Commit 1bafa4a59b29 (Ignore failure to set nonblock mode. (#6524), 2022-10-11) changed IO#read_nonblock to work with files on Windows, but d
Fix an rb_off_t value being implicitly converted to off_t and then back to rb_off_t.
Where rb_len_t is wider than long, a heredoc opener past column LONG_MAX made the long offset negative, and the identifier and the restored
Token columns are int, so a token past column INT_MAX got a negative column, and the excerpt shown for a syntax error there was read from be
rb_parser_string_t kept its length in a long, so rb_str_to_parser_string had to reject a String longer than LONG_MAX where rb_len_t is wider
The Ruby Programming Language. Contribute to ruby/ruby development by creating an account on GitHub.
https://github.com/ruby/json/commit/a15b2ba603
We already check for broken anchor links in the same guide. We should also warn if an anchor link in a guide to another guide is broken. Br
https://github.com/ruby/json/commit/d09e383d19
Fix broken anchor links in composite primary keys guide cross-references [ci skip]
https://github.com/ruby/mmtk/commit/2dbb8005aa
An int counter overflows once an array has more than INT_MAX elements. On LP64, product with a block then yielded the element at index 1 aft
RARRAY_LENINT raises RangeError for an Array longer than INT_MAX. Ractor.make_shareable failed on one after freezing it, and so did Ractor.s
The int cast turned a remainder longer than INT_MAX into a wrong or negative number. https://github.com/ruby/zlib/commit/d23d925f67 Co-Aut