Skip to content

Commit

Permalink
Add support for Rails 8
Browse files Browse the repository at this point in the history
  • Loading branch information
rmm5t committed Nov 11, 2024
1 parent 14917f3 commit b13978f
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 3 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ jobs:
- gemfiles/rails_7_0.gemfile
- gemfiles/rails_7_1.gemfile
- gemfiles/rails_7_2.gemfile
- gemfiles/rails_8_0.gemfile
- Gemfile
- gemfiles/rails_head.gemfile
exclude:
Expand All @@ -61,6 +62,8 @@ jobs:
gemfile: gemfiles/rails_7_1.gemfile
- ruby: "2.1"
gemfile: gemfiles/rails_7_2.gemfile
- ruby: "2.1"
gemfile: gemfiles/rails_8_0.gemfile
- ruby: "2.1"
gemfile: Gemfile
- ruby: "2.1"
Expand All @@ -75,6 +78,8 @@ jobs:
gemfile: gemfiles/rails_7_1.gemfile
- ruby: "2.2"
gemfile: gemfiles/rails_7_2.gemfile
- ruby: "2.2"
gemfile: gemfiles/rails_8_0.gemfile
- ruby: "2.2"
gemfile: Gemfile
- ruby: "2.2"
Expand All @@ -89,6 +94,8 @@ jobs:
gemfile: gemfiles/rails_7_1.gemfile
- ruby: "2.3"
gemfile: gemfiles/rails_7_2.gemfile
- ruby: "2.3"
gemfile: gemfiles/rails_8_0.gemfile
- ruby: "2.3"
gemfile: Gemfile
- ruby: "2.3"
Expand All @@ -103,6 +110,8 @@ jobs:
gemfile: gemfiles/rails_7_1.gemfile
- ruby: "2.4"
gemfile: gemfiles/rails_7_2.gemfile
- ruby: "2.4"
gemfile: gemfiles/rails_8_0.gemfile
- ruby: "2.4"
gemfile: Gemfile
- ruby: "2.4"
Expand All @@ -117,6 +126,8 @@ jobs:
gemfile: gemfiles/rails_7_1.gemfile
- ruby: "2.5"
gemfile: gemfiles/rails_7_2.gemfile
- ruby: "2.5"
gemfile: gemfiles/rails_8_0.gemfile
- ruby: "2.5"
gemfile: Gemfile
- ruby: "2.5"
Expand All @@ -131,6 +142,8 @@ jobs:
gemfile: gemfiles/rails_7_1.gemfile
- ruby: "2.6"
gemfile: gemfiles/rails_7_2.gemfile
- ruby: "2.6"
gemfile: gemfiles/rails_8_0.gemfile
- ruby: "2.6"
gemfile: Gemfile
- ruby: "2.6"
Expand All @@ -149,6 +162,8 @@ jobs:
gemfile: gemfiles/rails_4_2.gemfile
- ruby: "2.7"
gemfile: gemfiles/rails_7_2.gemfile
- ruby: "2.7"
gemfile: gemfiles/rails_8_0.gemfile
- ruby: "2.7"
gemfile: Gemfile
- ruby: "2.7"
Expand All @@ -173,6 +188,8 @@ jobs:
gemfile: gemfiles/rails_5_2.gemfile
- ruby: "3.0"
gemfile: gemfiles/rails_7_2.gemfile
- ruby: "3.0"
gemfile: gemfiles/rails_8_0.gemfile
- ruby: "3.0"
gemfile: Gemfile
- ruby: "3.0"
Expand All @@ -195,6 +212,10 @@ jobs:
gemfile: gemfiles/rails_5_1.gemfile
- ruby: "3.1"
gemfile: gemfiles/rails_5_2.gemfile
- ruby: "3.1"
gemfile: gemfiles/rails_8_0.gemfile
- ruby: "3.1"
gemfile: Gemfile
- ruby: "3.1"
gemfile: gemfiles/rails_head.gemfile
- ruby: "3.2"
Expand Down
6 changes: 3 additions & 3 deletions active_attr.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ Gem::Specification.new do |gem|

gem.required_ruby_version = ">= 2.1.0"

gem.add_runtime_dependency "actionpack", ">= 3.0.2", "< 8.0"
gem.add_runtime_dependency "activemodel", ">= 3.0.2", "< 8.0"
gem.add_runtime_dependency "activesupport", ">= 3.0.2", "< 8.0"
gem.add_runtime_dependency "actionpack", ">= 3.0.2", "< 9.0"
gem.add_runtime_dependency "activemodel", ">= 3.0.2", "< 9.0"
gem.add_runtime_dependency "activesupport", ">= 3.0.2", "< 9.0"

gem.add_development_dependency "bundler"
gem.add_development_dependency "factory_bot", "< 7.0"
Expand Down
10 changes: 10 additions & 0 deletions gemfiles/rails_8.0.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
source "https://rubygems.org"

gemspec :development_group => :test, :path => ".."

gem "activemodel", "~> 8.0.0"
gem "activesupport", "~> 8.0.0"
gem "actionpack", "~> 8.0.0"
gem "activemodel-serializers-xml", :group => :test
gem "rexml", :group => :test
gem "protected_attributes_continued", :group => :test

0 comments on commit b13978f

Please sign in to comment.