[ruby/rubygems] Reject Bundler redirects that downgrade https to http
The redirect handling only compared hosts, so an https source redirecting to http on the same host had the request's user and password c
The redirect handling only compared hosts, so an https source redirecting to http on the same host had the request's user and password c
heap_pages_free_batch locked page_pool.lock once per page on the non-mmap path, through global_page_index_remove.
This commit initializes the page_pool.lock with PTHREAD_MUTEX_ERRORCHECK in RGENGC_CHECK_MODE builds and asserts that the the mutex lock is
heap_pages_free_unused_pages called heap_page_free once per empty page, and each call took page_pool.lock twice: once in global_page_index_r
Ruby on Rails. Contribute to rails/rails development by creating an account on GitHub.
はじめに こんにちは!貴重な週末の夜を訳のわからないことに費やしている Shunta です。 ABC474 で 2 年 9 ヶ月も続いた 深緑コーダー から抜け出して、水色コーダーになりました! 深緑コーダーの頃に取り組んでいたことについて記事にしようと思います。 最後ま...
前書き 最近、AIエージェント関連の文脈でオントロジーという言葉をよく見かけるようになりました。元々は哲学の 「存在論」 ですが、現在では AIエージェントが理解・共有できる形式の設計図 として解釈されることが多いです。 この記事では、オントロジーとは何か、なぜ必要なの...
Fix Active Support loading on JRuby without Ractor
…Ruby #58654
HTMLに属性を追加するだけで、Webページにサーバと連動した動的なアプリケーションの機能を追加できるJavaScriptライブラリ「HTMX」の最新バージョンとなる「HTMX 4.0」正式版のリリースが発表されました。 very happ...
Upgrade rubocop
The Ruby Programming Language. Contribute to ruby/ruby development by creating an account on GitHub.
ExceptionWrapper: build backtrace lazily
Skip testing Action Mailbox and Active Storage scripts
They run using `rails 8.1.3` and `json 3.0` which aren't compatible. We can unskip them once `8.1.4` is released.
Building the backtrace is expensive, and there's a decent chance we won't need it, so it's better to do it lazily.
はじめに SwitchではなくRoutesを使うようになっていたので、今の方法を調べた 問題 ネストしたルーティングを書きたいが書き方不明 解決 親コンポーネント 以下のようにすると /dashboard/settings のパスで見た時に子コンポーネント...
GPT-6 Astraがリリースされ、XはAstraが作ったハイクオリティ3Dシーンの動画であふれています。それらの多くは、MCP経由でAstraにBlenderなどの3Dモデリングソフトを使わせ実現されたものです。アプリの中で直接コードによって3Dシーンを作らせればより手軽です
If the `NoDefaultCurrentDirectoryInExePath` environment variable is set, the current directory won't be part of the search path for the
sizeof(((rb_method_entry_t *)obj)->def) returned the size of the pointer (8 bytes) and not the size of the rb_method_entry_t.
`.deps/depend` depends on `$(REVISION_H)`, so make makes it while remaking the included makefiles, before `update-src` removes it. As make
短くしたコードは、どこまで元と同じ結果を返すのでしょうか。 削り方の一覧はよく見かけます。ただ、どれが何文字減るのか、そしてどこから結果が変わるのかを並べたものが見当たりませんでした。 なので測りました。Node.js v22.22.2 で、変換前と変換後を両方実行して、返...
Co-authored-by: Petrik de Heus <petrik@deheus.net>
Use `Regexp#source` instead of `Regexp#to_s` to detect deep filters
■ この記事はこんな人におすすめ AWSを勉強し始めたけど、サービスが多すぎて何から学べばいいか分からない人 AWSの個々のサービスは知っているけど、全体の構成のイメージがつかめない人 ECS・Lambda・RDSなどの言葉を聞いたことはあるが、なぜそれを使うのか説明で...
The Ruby Programming Language. Contribute to ruby/ruby development by creating an account on GitHub.
The Ruby Programming Language. Contribute to ruby/ruby development by creating an account on GitHub.
https://github.com/ruby/json/commit/9427d36671
…n string values The C parser guards leading-first surrogate pairs but silently accepts a lone trailing surrogate, encoding U+DC00..U+DFFF
Since the main/root box separation ([Feature #21881]), code running in the main box also fails to call box-local methods via Symbol#to_proc.
Remove comments that lost context after the final changes.
Per review feedback, a TOP frame in the middle of a method call is misleading. Push a VM_FRAME_MAGIC_BLOCK frame whose outer env points to t
[Bug #22015] During a normal method call, the VM creates a control frame, and the Ruby::Box associated with that frame determines the execut
… test output Three tests feed rubygems something they expect it to reject: two write a gemspec that cannot be loaded, one asks git for a r
SimpleCov writes its summary to stderr, so the redirection meant to keep the collate quiet never caught it and every run ended with the same
… resolve The content addressing resolver tests built a "~> X.Y.0" requirement from the running Ruby, which a prerelease Ruby
…tor_child recursion doctor_child took a single extension when the ABI-scoped recursion was written, and gained a splat in the same release
An ifunc proc created by Method#to_proc and invoked directly via Proc#call has no enclosing CFUNC frame. The IFUNC skip loop in VM_EP_RUBY_L
[Bug #21977] When `RUBY_BOX=1` is set, combining `binding` with `Symbol#to_proc` causes a crash (`[BUG] BUG: Local ep without cme/box`). Th
Where a build log goes is decided by the RubyGems running the install, and under RGV=system that is an older one which writes a bare gem_mak
base_dir for a git source points at the directory holding every checkout, so logs keyed by full_name collided between revisions of the same
The git extension spec overwrote the C source after build_git had already committed the checkout, so bundle installed the original working s
Preserving a log happens while a build failure is being reported, so a filesystem error there replaced the compile output the user needed wi
An extconf that exits cleanly without generating a Makefile leaves the extension unbuilt while the install still reports success. That case
build_info entries are matched by stripping ".info", so the new <full_name>.mkmf.log and <full_name>.gem_make.out neve
Logs for a git source land in bundler/gems/build_info, which `bundle clean` globs as a git checkout and reports as "Removing (build_in
Two behaviours regressed against the extension directory the logs used to live in. "clean" is the first make target and mkmf lists
Older system RubyGems writes the build log to the extension directory, so under RGV=system the example read the new build_info path and hit
… installed These specs read the `make -jN` command line from `gem_make.out`, which a successful build no longer writes. The integration sp
Clean up the per-gem mkmf.log and gem_make.out left in build_info by a failed extension build when the gem is uninstalled. https://github.c
Bumps the github-actions group with 1 update in the / directory: [taiki-e/install-action](https://github.com/taiki-e/install-action). Upda
こんにちは!QAエンジニアのAyakaです。 2026年9月5日の XP祭り2026 にプロポーザル採択いただいたので、参加してきました。私はオンラインDの13:00枠で「社内ナレッジをAIに読ませて、QAのテスト設計を任せてみた話」を話しました。 午前の基調講演、自分の登壇とそ
https://github.com/ruby/rubygems/commit/8c646202df
https://github.com/ruby/rubygems/commit/2222146df1
はじめに 弊社では Web エンジニアがモバイルアプリを開発しており、Web の React + Tailwind CSS の知見をそのまま応用できるよう React Native + NativeWind を採用しています。 NativeWind は書き味こそ Web の Ta
GPT-6 Astra がリリースされましたね。 新しいモデルがリリースされたらAGENTS.mdを新しいモデルの特性に合うように調整する作業をする人も多いのではないでしょうか? よくやる手法が公式のベストプラクティスやガイダンスのページをAIに渡して、「これ読んで修正して」みた
これはなに? この記事は、「コードを読まなくても大丈夫」という話ではありません。コードを読まないと決めたぼくが、何につまずき、どんな仕組みを足し、何を作りすぎて捨てたのか。その試行錯誤から残った、仕様と実装のレビューループの話です。 HTMLを社内だけで安全に共有するWebサービ
これはなに AIにコーディングを丸投げするなら、テストコードくらい確認しろという愚痴。 背景 | ただの愚痴 私はここ1年ほど毎日のように、コードの構造や仕様をAIへ与え、それに基づいてテストケースを作らせている。もちろんコード自体も書かせている。そしてAIに書かせたコードを