Repository navigation
chore: 開発用 Ruby 4.0.7 と RuboCop 1.92 を追従 - #20
Draft
cursor[bot] wants to merge 2 commits into
Draft
cursor[bot] wants to merge 2 commits into
cursor[bot] wants to merge 2 commits into
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 the development gem floor to the current stable minor. rake and rspec already track their latest stable lines. Gemfile.lock remains gitignored.
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 もなく、重複はありません。概要
rubocopの制約を、既にインストールされる現行の安定マイナー 1.92 に揃えます.ruby-versionと devcontainer イメージ)を CI 最新系列の安定パッチ 4.0.7 に追従させますGemfile.lockは.gitignore対象のため追加していません何をアップデートしたか
~> 1.90→~> 1.92(解決 1.92.0).ruby-version/ghcr.io/rails/devcontainer/images/ruby:4.0.7)CI のテストマトリクスは
4.0のままです。ruby/setup-rubyが系列の最新パッチを使うため、ワークフローの変更は不要です。lint ジョブは.ruby-versionを使います。Breaking Changes / Migration
NewCops: enable、TargetRubyVersion: 2.6)を壊す Breaking Change はありません。新規 cop やLint/UselessAssignmentの拡張も、設定緩和なしでオフェンス 0 でした。実行時 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済みのため追加しない~> 13.4のまま(解決 13.4.2 が latest)~> 3.13のまま(解決 3.13.2 が latest stable)。RSpec 4.0.0.beta1 は実験的リリースで、Ruby < 3.0 のサポート終了を含む大規模な Breaking Changes がある検証
Ruby 4.0.7(CI 最新系列)と Ruby 3.4.11(CI 下限系列の安定パッチ)の両方で実行し、すべて成功しました。
bin/setup(bundle install)bundle exec rubocop(9 files, no offenses)bundle exec rspec(9 examples, 0 failures)