Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 18 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby: ['2.6', '2.7', '3.0', '3.1', '3.2', '3.3', 'head']
ruby: ['2.6', '2.7', '3.0', '3.1', '3.2', '3.3', '3.4', 'head']
gemfile:
- rails_5_2
- rails_6_0
Expand All @@ -24,6 +24,7 @@ jobs:
- rails_7_1
- rails_7_2
- rails_8_0
- rails_8_1
- rails_main
exclude:
- ruby: 'head'
Expand Down Expand Up @@ -96,6 +97,15 @@ jobs:
- ruby: '3.1'
gemfile: rails_8_0

- ruby: '3.2'
gemfile: rails_8_1

- ruby: '3.3'
gemfile: rails_8_1

- ruby: '3.4'
gemfile: rails_8_1

env:
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile
BUNDLE_PATH_RELATIVE_TO_CWD: true
Expand Down Expand Up @@ -130,6 +140,7 @@ jobs:
- rails_7_1
- rails_7_2
- rails_8_0
- rails_8_1
- rails_main
exclude:
- ruby: 'head'
Expand Down Expand Up @@ -202,6 +213,12 @@ jobs:
- ruby: '3.1'
gemfile: rails_8_0

- ruby: '3.1'
gemfile: rails_8_1

- ruby: '3.2'
gemfile: rails_8_1

env:
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile
BUNDLE_PATH_RELATIVE_TO_CWD: true
Expand Down
3 changes: 2 additions & 1 deletion Appraisals
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"7_0" => "7.0.0",
"7_1" => "7.1.0",
"7_2" => "7.2.0",
"8_0" => "8.0.0.rc1"
"8_0" => "8.0.0.rc1",
"8_1" => "8.1.0"
}.each do |rails, version|
appraise "rails-#{rails}" do
gem "rails", "~> #{version}"
Expand Down
2 changes: 1 addition & 1 deletion awesome_nested_set.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Gem::Specification.new do |s|

s.required_ruby_version = '>= 2.0.0'

s.add_runtime_dependency 'activerecord', '>= 4.0.0', '< 8.1'
s.add_runtime_dependency 'activerecord', '>= 4.0.0', '< 8.2'

s.add_development_dependency 'appraisal'
s.add_development_dependency 'database_cleaner'
Expand Down
13 changes: 13 additions & 0 deletions gemfiles/rails_8_1.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# This file was generated by Appraisal

source "https://rubygems.org"

gem "rails", "~> 8.1.0"

platforms :ruby do
gem "sqlite3"
gem "mysql2", "< 1.0.0"
gem "pg", "< 2.0.0"
end

gemspec path: "../"