Skip to content

chore: 開発用 gem と Ruby 4.0.6 を更新 - #19

Merged
nemuvski merged 2 commits into
mainfrom
cursor/bc-24e72158-8d1b-4c3b-8de8-749722a9982d-3831
Sep 10, 2026
Merged

chore: 開発用 gem と Ruby 4.0.6 を更新#19
nemuvski merged 2 commits into
mainfrom
cursor/bc-24e72158-8d1b-4c3b-8de8-749722a9982d-3831

Conversation

@cursor

@cursor cursor Bot commented Sep 10, 2026

Copy link
Copy Markdown

公開 gem としての互換性を維持しつつ、開発環境の gem 制約と開発用 Ruby を現行の安定マイナー/パッチに追従させます。
更新前の mainbin/setup / bundle exec rubocop / bundle exec rspec を実行し、既存の検証失敗はありませんでした。Open PR もなく、重複はありません。

概要

  • rake を 12.x から 13.4 系に上げます
  • rubocop の制約を、既にインストールされる現行の安定マイナー 1.90 に揃えます
  • 開発用 Ruby(.ruby-version と devcontainer イメージ)を CI 最新系列の安定パッチ 4.0.6 に追従させます
  • Gemfile.lock.gitignore 対象のため追加していません

何をアップデートしたか

対象 変更
rake ~> 12.0~> 13.4(解決 13.4.2)
rubocop ~> 1.81~> 1.90(解決 1.90.0)
開発用 Ruby 4.0.5 → 4.0.6(.ruby-version / ghcr.io/rails/devcontainer/images/ruby:4.0.6

Breaking Changes / Migration

  • rake 13.0: 互換変更は Ruby < 2.2 のサポート終了のみ。このリポの Rakefilebundler/gem_tasks のみで、タスク定義の変更は不要でした。rake 13.4 は Ruby >= 2.3
  • rubocop 1.81 → 1.90: 1.x 内の制約底上げ。NewCops: enable のまま設定緩和なしで通過。実行時 Ruby 要件は >= 2.7。CI の 3.4 / 4.0 と両立
  • ソース・テスト・.rubocop.yml の変更はありません

見送り

  • microcms.gemspecadd_dependencyostruct): 公開パッケージ互換のため対象外
  • required_ruby_version / TargetRubyVersion / CI マトリクスからのバージョン削除: サポート下限を変えない
  • パッケージ VERSION / GitHub Actions: 対象外
  • Gemfile.lock の新規追加: .gitignore 済みのため追加しない
  • rspec: ~> 3.13 のまま(解決 3.13.2 が latest)。RSpec 4.0.0.beta1 は実験的リリースで、大規模な移行が必要
  • Ruby 4.1: 未リリース。CI に新しいメジャーは追加しない

検証

Ruby 4.0.6(CI 最新系列)と Ruby 3.4.10(CI 下限)の両方で実行し、すべて成功しました。

  • bin/setup(または bundle install
  • bundle exec rubocop
  • bundle exec rspec(9 examples, 0 failures)
Open in Web View Automation 

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
nemuvski marked this pull request as ready for review September 10, 2026 00:35
@nemuvski
nemuvski self-requested a review September 10, 2026 00:36
@nemuvski
nemuvski merged commit d78dfe8 into main Sep 10, 2026
3 checks passed
@nemuvski
nemuvski deleted the cursor/bc-24e72158-8d1b-4c3b-8de8-749722a9982d-3831 branch September 10, 2026 00:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants