Skip to content

Commit

Permalink
Support Rails 8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
cgriego committed Nov 12, 2024
1 parent 0e29c02 commit e951216
Show file tree
Hide file tree
Showing 6 changed files with 40 additions and 7 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ jobs:
- gemfiles/rails_6_1.gemfile
- gemfiles/rails_7_0.gemfile
- gemfiles/rails_7_1.gemfile
- gemfiles/rails_7_2.gemfile
- Gemfile
- gemfiles/rails_head.gemfile
exclude:
Expand All @@ -58,6 +59,8 @@ jobs:
gemfile: gemfiles/rails_7_0.gemfile
- ruby: "2.1"
gemfile: gemfiles/rails_7_1.gemfile
- ruby: "2.1"
gemfile: gemfiles/rails_7_2.gemfile
- ruby: "2.1"
gemfile: Gemfile
- ruby: "2.1"
Expand All @@ -70,6 +73,8 @@ jobs:
gemfile: gemfiles/rails_7_0.gemfile
- ruby: "2.2"
gemfile: gemfiles/rails_7_1.gemfile
- ruby: "2.2"
gemfile: gemfiles/rails_7_2.gemfile
- ruby: "2.2"
gemfile: Gemfile
- ruby: "2.2"
Expand All @@ -82,6 +87,8 @@ jobs:
gemfile: gemfiles/rails_7_0.gemfile
- ruby: "2.3"
gemfile: gemfiles/rails_7_1.gemfile
- ruby: "2.3"
gemfile: gemfiles/rails_7_2.gemfile
- ruby: "2.3"
gemfile: Gemfile
- ruby: "2.3"
Expand All @@ -94,6 +101,8 @@ jobs:
gemfile: gemfiles/rails_7_0.gemfile
- ruby: "2.4"
gemfile: gemfiles/rails_7_1.gemfile
- ruby: "2.4"
gemfile: gemfiles/rails_7_2.gemfile
- ruby: "2.4"
gemfile: Gemfile
- ruby: "2.4"
Expand All @@ -106,6 +115,8 @@ jobs:
gemfile: gemfiles/rails_7_0.gemfile
- ruby: "2.5"
gemfile: gemfiles/rails_7_1.gemfile
- ruby: "2.5"
gemfile: gemfiles/rails_7_2.gemfile
- ruby: "2.5"
gemfile: Gemfile
- ruby: "2.5"
Expand All @@ -118,6 +129,8 @@ jobs:
gemfile: gemfiles/rails_7_0.gemfile
- ruby: "2.6"
gemfile: gemfiles/rails_7_1.gemfile
- ruby: "2.6"
gemfile: gemfiles/rails_7_2.gemfile
- ruby: "2.6"
gemfile: Gemfile
- ruby: "2.6"
Expand All @@ -134,6 +147,8 @@ jobs:
gemfile: gemfiles/rails_4_1.gemfile
- ruby: "2.7"
gemfile: gemfiles/rails_4_2.gemfile
- ruby: "2.7"
gemfile: gemfiles/rails_7_2.gemfile
- ruby: "2.7"
gemfile: Gemfile
- ruby: "2.7"
Expand All @@ -156,6 +171,8 @@ jobs:
gemfile: gemfiles/rails_5_1.gemfile
- ruby: "3.0"
gemfile: gemfiles/rails_5_2.gemfile
- ruby: "3.0"
gemfile: gemfiles/rails_7_2.gemfile
- ruby: "3.0"
gemfile: Gemfile
- ruby: "3.0"
Expand All @@ -178,6 +195,8 @@ jobs:
gemfile: gemfiles/rails_5_1.gemfile
- ruby: "3.1"
gemfile: gemfiles/rails_5_2.gemfile
- ruby: "3.1"
gemfile: Gemfile
- ruby: "3.1"
gemfile: gemfiles/rails_head.gemfile
- ruby: "3.2"
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# ActiveAttr 0.17.1 (November 12, 2024)

* ActiveAttr now supports Rails 8.0

# ActiveAttr 0.17.0 (September 26, 2024)

* ActiveAttr now supports Ruby 3.3
Expand Down
6 changes: 3 additions & 3 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ source "https://rubygems.org"

gemspec :development_group => :test

gem "activemodel", "~> 7.2.0"
gem "activesupport", "~> 7.2.0"
gem "actionpack", "~> 7.2.0"
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
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", "< 8.1"
gem.add_runtime_dependency "activemodel", ">= 3.0.2", "< 8.1"
gem.add_runtime_dependency "activesupport", ">= 3.0.2", "< 8.1"

gem.add_development_dependency "bundler"
gem.add_development_dependency "factory_bot", "< 7.0"
Expand Down
10 changes: 10 additions & 0 deletions gemfiles/rails_7_2.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", "~> 7.2.0"
gem "activesupport", "~> 7.2.0"
gem "actionpack", "~> 7.2.0"
gem "activemodel-serializers-xml", :group => :test
gem "rexml", :group => :test
gem "protected_attributes_continued", :group => :test
2 changes: 1 addition & 1 deletion lib/active_attr/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module ActiveAttr
# Complete version string
# @since 0.1.0
VERSION = "0.17.0"
VERSION = "0.17.1"
end

0 comments on commit e951216

Please sign in to comment.