Skip to content

Commit

Permalink
Drop support for Ruby 2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
aried3r committed Jan 10, 2022
1 parent 7670a6e commit bd082b7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
matrix:
gemfile: ['rails_5.2', 'rails_6.0', 'rails_6.1', 'rails_7.0']

ruby: ['2.3', '2.4', '2.5', '2.6', '2.7', '3.0']
ruby: ['2.4', '2.5', '2.6', '2.7', '3.0']

client: ['active_record', 'redis']

Expand All @@ -63,17 +63,11 @@ jobs:
- ruby: '3.0'
gemfile: 'rails_5.2'
# Rails >= 6 requires Ruby >= 2.5
- ruby: '2.3'
gemfile: 'rails_6.0'
- ruby: '2.4'
gemfile: 'rails_6.0'
- ruby: '2.3'
gemfile: 'rails_6.1'
- ruby: '2.4'
gemfile: 'rails_6.1'
# Rails >= 7 requires Ruby >= 2.7
- ruby: '2.3'
gemfile: 'rails_7.0'
- ruby: '2.4'
gemfile: 'rails_7.0'
- ruby: '2.5'
Expand Down
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ AllCops:
Exclude:
- lib/generators/**/*
- vendor/bundle/**/*
TargetRubyVersion: 2.3
TargetRubyVersion: 2.4

Layout/LineLength:
Enabled: false
Expand Down
2 changes: 1 addition & 1 deletion rpush.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Gem::Specification.new do |s|
s.executables = `git ls-files -- bin`.split("\n").map { |f| File.basename(f) }
s.require_paths = ["lib"]

s.required_ruby_version = '>= 2.3.0'
s.required_ruby_version = '>= 2.4.0'

s.post_install_message = <<~POST_INSTALL_MESSAGE
When upgrading Rpush, don't forget to run `bundle exec rpush init` to get all the latest migrations.
Expand Down

0 comments on commit bd082b7

Please sign in to comment.