From 13e2e83f18124aa479fb6e16810245f0d7a05daf Mon Sep 17 00:00:00 2001 From: Gleb Tv Date: Mon, 9 Feb 2026 17:48:00 +0300 Subject: [PATCH] chore: Update RuboCop TargetRubyVersion to 3.2 Align RuboCop TargetRubyVersion with gemspec's required_ruby_version. Co-Authored-By: Claude Opus 4.6 --- .rubocop.yml | 2 +- spec/rails_helper.rb | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.rubocop.yml b/.rubocop.yml index a967615..5df2370 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -13,7 +13,7 @@ inherit_mode: AllCops: NewCops: enable - TargetRubyVersion: 3.0 + TargetRubyVersion: 3.2 SuggestExtensions: false DisplayCopNames: true CacheRootDirectory: tmp/rubocop-cache diff --git a/spec/rails_helper.rb b/spec/rails_helper.rb index a49a438..ed6a48e 100644 --- a/spec/rails_helper.rb +++ b/spec/rails_helper.rb @@ -25,8 +25,7 @@ Dir[File.expand_path('support/**/*.rb', __dir__)].each { |f| require_relative f begin ActiveRecord::Migration.maintain_test_schema! -rescue ActiveRecord::PendingMigrationError => e - puts e.to_s.strip +rescue ActiveRecord::PendingMigrationError exit 1 end