Skip to content

Commit

Permalink
Drop support of Ruby 2.6, test with latest Rails versions
Browse files Browse the repository at this point in the history
  • Loading branch information
n-rodriguez committed Dec 18, 2022
1 parent 8c906e4 commit 8d73e45
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 19 deletions.
15 changes: 6 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,24 +55,21 @@ jobs:
- '3.1'
- '3.0'
- '2.7'
- '2.6'
rails:
- rails_5.2.6
- rails_6.0.4
- rails_6.1.4
- rails_7.0.1
- rails_5.2.8
- rails_6.0.6
- rails_6.1.7
- rails_7.0.4
adapter:
- sqlite3
- postgresql
- mysql2
- oracle_enhanced
exclude:
- ruby: '2.6'
rails: rails_7.0.1
- ruby: '3.0'
rails: rails_5.2.6
rails: rails_5.2.8
- ruby: '3.1'
rails: rails_5.2.6
rails: rails_5.2.8

steps:
- name: Checkout
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.6
TargetRubyVersion: 2.7
Exclude:
- bin/*
- lib/generators/**/*.rb
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.6.0'
s.required_ruby_version = '>= 2.7.0'

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

Expand Down
8 changes: 4 additions & 4 deletions appraisal.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
5.2.6:
5.2.8:
sqlite3:
version: ~> 1.3.0
install_if: '-> { ENV["DB_ADAPTER"] == "sqlite3" }'
Expand All @@ -13,7 +13,7 @@
version: ''
install_if: '-> { ENV["DB_ADAPTER"] == "oracle_enhanced" }'

6.0.4:
6.0.6:
sqlite3:
version: ~> 1.4.0
install_if: '-> { ENV["DB_ADAPTER"] == "sqlite3" }'
Expand All @@ -27,7 +27,7 @@
version: ''
install_if: '-> { ENV["DB_ADAPTER"] == "oracle_enhanced" }'

6.1.4:
6.1.7:
sqlite3:
version: ~> 1.4.0
install_if: '-> { ENV["DB_ADAPTER"] == "sqlite3" }'
Expand All @@ -41,7 +41,7 @@
version: ''
install_if: '-> { ENV["DB_ADAPTER"] == "oracle_enhanced" }'

7.0.1:
7.0.4:
sqlite3:
version: ~> 1.4.0
install_if: '-> { ENV["DB_ADAPTER"] == "sqlite3" }'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
source "https://rubygems.org"

gem "appraisal", git: "https://github.com/n-rodriguez/appraisal.git", branch: "wip/combustion"
gem "rails", "5.2.6"
gem "rails", "5.2.8"

install_if -> { ENV["DB_ADAPTER"] == "sqlite3" } do
gem "sqlite3", "~> 1.3.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
source "https://rubygems.org"

gem "appraisal", git: "https://github.com/n-rodriguez/appraisal.git", branch: "wip/combustion"
gem "rails", "6.0.4"
gem "rails", "6.0.6"

install_if -> { ENV["DB_ADAPTER"] == "sqlite3" } do
gem "sqlite3", "~> 1.4.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
source "https://rubygems.org"

gem "appraisal", git: "https://github.com/n-rodriguez/appraisal.git", branch: "wip/combustion"
gem "rails", "6.1.4"
gem "rails", "6.1.7"

install_if -> { ENV["DB_ADAPTER"] == "sqlite3" } do
gem "sqlite3", "~> 1.4.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
source "https://rubygems.org"

gem "appraisal", git: "https://github.com/n-rodriguez/appraisal.git", branch: "wip/combustion"
gem "rails", "7.0.1"
gem "rails", "7.0.4"

install_if -> { ENV["DB_ADAPTER"] == "sqlite3" } do
gem "sqlite3", "~> 1.4.0"
Expand Down

0 comments on commit 8d73e45

Please sign in to comment.