From 30cdec9406a5d3216c0e6a9f22d4ed0e11c2dd5d Mon Sep 17 00:00:00 2001 From: Koichi ITO Date: Mon, 13 Apr 2020 21:34:03 +0900 Subject: [PATCH] Drop support for Ruby 2.3 Follow rubocop-hq/rubocop#7869. --- .circleci/config.yml | 3 --- .rubocop.yml | 2 +- CHANGELOG.md | 4 ++++ rubocop-rails.gemspec | 2 +- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 1d93974b1e..2a870baf43 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -23,9 +23,6 @@ jobs: workflows: build: jobs: - - rake_default: - name: Ruby 2.3 - image: circleci/ruby:2.3 - rake_default: name: Ruby 2.4 image: circleci/ruby:2.4 diff --git a/.rubocop.yml b/.rubocop.yml index 628f765390..78124a6377 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -11,7 +11,7 @@ AllCops: - 'vendor/**/*' - 'spec/fixtures/**/*' - 'tmp/**/*' - TargetRubyVersion: 2.3 + TargetRubyVersion: 2.4 Naming/PredicateName: # Method define macros for dynamically generated method. diff --git a/CHANGELOG.md b/CHANGELOG.md index 265cdd2770..e49cdd7dc2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,10 @@ * [#12](https://github.com/rubocop-hq/rubocop-rails/issues/12): Fix a false positive for `Rails/SkipsModelValidations` when passing a boolean literal to `touch`. ([@eugeneius][]) +### Changes + +* [#233](https://github.com/rubocop-hq/rubocop-rails/pull/233): **(BREAKING)** Drop support for Ruby 2.3. ([@koic][]) + ## 2.5.2 (2020-04-09) ### Bug fixes diff --git a/rubocop-rails.gemspec b/rubocop-rails.gemspec index 4080155f3f..1db1efb077 100644 --- a/rubocop-rails.gemspec +++ b/rubocop-rails.gemspec @@ -8,7 +8,7 @@ Gem::Specification.new do |s| s.name = 'rubocop-rails' s.version = RuboCop::Rails::Version::STRING s.platform = Gem::Platform::RUBY - s.required_ruby_version = '>= 2.3.0' + s.required_ruby_version = '>= 2.4.0' s.authors = ['Bozhidar Batsov', 'Jonas Arvidsson', 'Yuji Nakayama'] s.description = <<~DESCRIPTION Automatic Rails code style checking tool.