chore: 開発用 gem と Ruby 4.0.6 を更新 - #19
Merged
nemuvski merged 2 commits intoSep 10, 2026
Merged
Conversation
Keep .ruby-version and the devcontainer image on the latest stable patch of the CI 4.0 series. required_ruby_version is unchanged.
Raise development gem floors to the current stable minors. rspec already tracks 3.13. Gemfile.lock remains gitignored.
nemuvski
marked this pull request as ready for review
September 10, 2026 00:35
nemuvski
self-requested a review
September 10, 2026 00:36
nemuvski
approved these changes
Sep 10, 2026
nemuvski
deleted the
cursor/bc-24e72158-8d1b-4c3b-8de8-749722a9982d-3831
branch
September 10, 2026 00:37
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
公開 gem としての互換性を維持しつつ、開発環境の gem 制約と開発用 Ruby を現行の安定マイナー/パッチに追従させます。
更新前の
mainでbin/setup/bundle exec rubocop/bundle exec rspecを実行し、既存の検証失敗はありませんでした。Open PR もなく、重複はありません。概要
rakeを 12.x から 13.4 系に上げますrubocopの制約を、既にインストールされる現行の安定マイナー 1.90 に揃えます.ruby-versionと devcontainer イメージ)を CI 最新系列の安定パッチ 4.0.6 に追従させますGemfile.lockは.gitignore対象のため追加していません何をアップデートしたか
~> 12.0→~> 13.4(解決 13.4.2)~> 1.81→~> 1.90(解決 1.90.0).ruby-version/ghcr.io/rails/devcontainer/images/ruby:4.0.6)Breaking Changes / Migration
Rakefileはbundler/gem_tasksのみで、タスク定義の変更は不要でした。rake 13.4 は Ruby >= 2.3NewCops: enableのまま設定緩和なしで通過。実行時 Ruby 要件は >= 2.7。CI の 3.4 / 4.0 と両立.rubocop.ymlの変更はありません見送り
microcms.gemspecのadd_dependency(ostruct): 公開パッケージ互換のため対象外required_ruby_version/TargetRubyVersion/ CI マトリクスからのバージョン削除: サポート下限を変えないVERSION/ GitHub Actions: 対象外Gemfile.lockの新規追加:.gitignore済みのため追加しない~> 3.13のまま(解決 3.13.2 が latest)。RSpec 4.0.0.beta1 は実験的リリースで、大規模な移行が必要検証
Ruby 4.0.6(CI 最新系列)と Ruby 3.4.10(CI 下限)の両方で実行し、すべて成功しました。
bin/setup(またはbundle install)bundle exec rubocopbundle exec rspec(9 examples, 0 failures)