From baa383bb0837bcf4c0a5e4bbbdb0365be34c9268 Mon Sep 17 00:00:00 2001 From: Renzo Minelli Date: Wed, 22 Feb 2023 15:33:34 -0300 Subject: [PATCH] v6.0.0 bump rubocop to 1.32.0, drop ruby2.5 (#194) --- .github/workflows/rspec_rubocop.yml | 2 -- rubocop-airbnb/CHANGELOG.md | 5 +++++ rubocop-airbnb/lib/rubocop/airbnb/version.rb | 2 +- rubocop-airbnb/rubocop-airbnb.gemspec | 2 +- 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/rspec_rubocop.yml b/.github/workflows/rspec_rubocop.yml index 28c7c6e..a901587 100644 --- a/.github/workflows/rspec_rubocop.yml +++ b/.github/workflows/rspec_rubocop.yml @@ -18,8 +18,6 @@ jobs: strategy: matrix: include: # use bundler 2.3 for ruby versions < 2.6 (https://bundler.io/compatibility.html) - - ruby-version: 2.5 - bundler-version: 2.3 - ruby-version: 2.6 bundler-version: latest - ruby-version: 2.7 diff --git a/rubocop-airbnb/CHANGELOG.md b/rubocop-airbnb/CHANGELOG.md index 27975f3..5f03cac 100644 --- a/rubocop-airbnb/CHANGELOG.md +++ b/rubocop-airbnb/CHANGELOG.md @@ -1,3 +1,8 @@ +# 6.0.0 +* Recover code analysis using `TargetRubyVersion` from Ruby 2.0 to 2.4 +* Drop support for Ruby 2.5 +* Update rubocop to 1.32.0 + # 5.0.0 * Add support for Ruby 3.1 * Drop support for Ruby 2.4 diff --git a/rubocop-airbnb/lib/rubocop/airbnb/version.rb b/rubocop-airbnb/lib/rubocop/airbnb/version.rb index b6c61e2..e6e5d9d 100644 --- a/rubocop-airbnb/lib/rubocop/airbnb/version.rb +++ b/rubocop-airbnb/lib/rubocop/airbnb/version.rb @@ -3,6 +3,6 @@ module RuboCop module Airbnb # Version information for the the Airbnb RuboCop plugin. - VERSION = '5.0.0' + VERSION = '6.0.0' end end diff --git a/rubocop-airbnb/rubocop-airbnb.gemspec b/rubocop-airbnb/rubocop-airbnb.gemspec index c549687..07612f3 100644 --- a/rubocop-airbnb/rubocop-airbnb.gemspec +++ b/rubocop-airbnb/rubocop-airbnb.gemspec @@ -25,7 +25,7 @@ Gem::Specification.new do |spec| 'Gemfile', ] - spec.add_dependency('rubocop', '~> 1.22.0') + spec.add_dependency('rubocop', '~> 1.32.0') spec.add_dependency('rubocop-performance', '~> 1.10.2') spec.add_dependency('rubocop-rails', '~> 2.9.1') spec.add_dependency('rubocop-rspec', '~> 2.0.0')