Skip to content

Commit

Permalink
Add support for Ruby 3.2 and drop support for Ruby 2.6 (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
erikkessler1 authored Jan 9, 2023
1 parent 139de61 commit b0882af
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ version: 2.1
jobs:
lint:
docker:
- image: salsify/ruby_ci:2.6.6
- image: salsify/ruby_ci:2.7.7
working_directory: ~/salsify_rubocop
steps:
- checkout
- restore_cache:
keys:
- v1-gems-ruby-2.6.6-{{ checksum "salsify_rubocop.gemspec" }}-{{ checksum "Gemfile" }}
- v1-gems-ruby-2.6.6-
- v1-gems-ruby-2.7.7-{{ checksum "salsify_rubocop.gemspec" }}-{{ checksum "Gemfile" }}
- v1-gems-ruby-2.7.7-
- run:
name: Install Gems
command: |
Expand Down Expand Up @@ -66,7 +66,7 @@ workflows:
matrix:
parameters:
ruby_version:
- "2.6.6"
- "2.7.2"
- "3.0.0"
- "3.1.1"
- "3.2.0"
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ inherit_from:
- conf/rubocop.yml

AllCops:
TargetRubyVersion: 2.6
TargetRubyVersion: 2.7

Layout/LineLength:
Exclude:
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# salsify_rubocop

## 1.42.1
- Drop support for Ruby 2.6 as it is EOL
- Add support for Ruby 3.2

## 1.42.0
- Upgrade `rubocop` to v1.42.0.
- Upgrade `rubocop-performance` to v1.15.2.
Expand Down
2 changes: 1 addition & 1 deletion lib/salsify_rubocop/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module SalsifyRubocop
VERSION = '1.42.0'
VERSION = '1.42.1'
end
2 changes: 1 addition & 1 deletion salsify_rubocop.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Gem::Specification.new do |spec|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ['lib']

spec.required_ruby_version = '>= 2.6'
spec.required_ruby_version = '>= 2.7'

spec.add_development_dependency 'bundler', '~> 2.0'
spec.add_development_dependency 'rake', '~> 13.0'
Expand Down

0 comments on commit b0882af

Please sign in to comment.