Skip to content

Commit 51ce060

Browse files
committed
Drop support for Ruby 2.7
1 parent d104c2c commit 51ce060

File tree

4 files changed

+4
-11
lines changed

4 files changed

+4
-11
lines changed

.github/workflows/ci.yml

+1-8
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ jobs:
5656
- '3.2'
5757
- '3.1'
5858
- '3.0'
59-
- '2.7'
6059
- 'head'
6160
rails:
6261
- rails_7.1.0
@@ -74,10 +73,6 @@ jobs:
7473
- rails: rails_7.1.0
7574
adapter: oracle_enhanced
7675

77-
- rails: rails_7.1.0
78-
adapter: postgis
79-
ruby: 2.7'
80-
8176
steps:
8277
- name: Checkout
8378
uses: actions/checkout@v4
@@ -121,9 +116,7 @@ jobs:
121116
DB_ADAPTER: ${{ matrix.adapter }}
122117
BUNDLE_GEMFILE: gemfiles/${{ matrix.rails }}.gemfile
123118
run: |
124-
if [[ "${RUBY_VERSION}" != "2.7" ]]; then
125-
gem install bundler
126-
fi
119+
gem install bundler
127120
bundle config path vendor/bundle
128121
bundle install --jobs 4 --retry 3
129122

.rubocop.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
AllCops:
22
NewCops: enable
33
SuggestExtensions: false
4-
TargetRubyVersion: 2.7
4+
TargetRubyVersion: 3.0
55
Exclude:
66
- bin/*
77
- lib/generators/**/*.rb

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
It's tested against :
1313

1414
* Rails: 6.0.6 / 6.1.7 / 7.0.4 / 7.1.0
15-
* Ruby: 2.7 / 3.0 / 3.1 / 3.2 / 3.3
15+
* Ruby: 3.0 / 3.1 / 3.2 / 3.3
1616
* Databases: MySQL 8 / SQLite3 / Postgresql 16 / Oracle XE 11.2 (thanks to [travis-oracle](https://github.com/cbandy/travis-oracle))
1717
* Adapters: sqlite / mysql2 / trilogy / postgres / postgis / oracle
1818

ajax-datatables-rails.gemspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Gem::Specification.new do |s|
1919
'bug_tracker_uri' => 'https://github.com/jbox-web/ajax-datatables-rails/issues',
2020
}
2121

22-
s.required_ruby_version = '>= 2.7.0'
22+
s.required_ruby_version = '>= 3.0.0'
2323

2424
s.files = `git ls-files`.split("\n")
2525

0 commit comments

Comments
 (0)