Skip to content

Commit

Permalink
Drop support for Ruby 2.7
Browse files Browse the repository at this point in the history
  • Loading branch information
n-rodriguez committed Apr 8, 2024
1 parent d104c2c commit 51ce060
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 11 deletions.
9 changes: 1 addition & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ jobs:
- '3.2'
- '3.1'
- '3.0'
- '2.7'
- 'head'
rails:
- rails_7.1.0
Expand All @@ -74,10 +73,6 @@ jobs:
- rails: rails_7.1.0
adapter: oracle_enhanced

- rails: rails_7.1.0
adapter: postgis
ruby: 2.7'

steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down Expand Up @@ -121,9 +116,7 @@ jobs:
DB_ADAPTER: ${{ matrix.adapter }}
BUNDLE_GEMFILE: gemfiles/${{ matrix.rails }}.gemfile
run: |
if [[ "${RUBY_VERSION}" != "2.7" ]]; then
gem install bundler
fi
gem install bundler
bundle config path vendor/bundle
bundle install --jobs 4 --retry 3
Expand Down
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
AllCops:
NewCops: enable
SuggestExtensions: false
TargetRubyVersion: 2.7
TargetRubyVersion: 3.0
Exclude:
- bin/*
- lib/generators/**/*.rb
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
It's tested against :

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

Expand Down
2 changes: 1 addition & 1 deletion ajax-datatables-rails.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Gem::Specification.new do |s|
'bug_tracker_uri' => 'https://github.com/jbox-web/ajax-datatables-rails/issues',
}

s.required_ruby_version = '>= 2.7.0'
s.required_ruby_version = '>= 3.0.0'

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

Expand Down

0 comments on commit 51ce060

Please sign in to comment.