Skip to content

Commit

Permalink
Support Rails 7.2
Browse files Browse the repository at this point in the history
  • Loading branch information
cgriego committed Sep 26, 2024
1 parent 3e46281 commit 88082d4
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 6 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ jobs:
- gemfiles/rails_6_0.gemfile
- gemfiles/rails_6_1.gemfile
- gemfiles/rails_7_0.gemfile
- gemfiles/rails_7_1.gemfile
- Gemfile
- gemfiles/rails_head.gemfile
exclude:
Expand All @@ -55,6 +56,8 @@ jobs:
gemfile: gemfiles/rails_6_1.gemfile
- ruby: "2.1"
gemfile: gemfiles/rails_7_0.gemfile
- ruby: "2.1"
gemfile: gemfiles/rails_7_1.gemfile
- ruby: "2.1"
gemfile: Gemfile
- ruby: "2.1"
Expand All @@ -65,6 +68,8 @@ jobs:
gemfile: gemfiles/rails_6_1.gemfile
- ruby: "2.2"
gemfile: gemfiles/rails_7_0.gemfile
- ruby: "2.2"
gemfile: gemfiles/rails_7_1.gemfile
- ruby: "2.2"
gemfile: Gemfile
- ruby: "2.2"
Expand All @@ -75,6 +80,8 @@ jobs:
gemfile: gemfiles/rails_6_1.gemfile
- ruby: "2.3"
gemfile: gemfiles/rails_7_0.gemfile
- ruby: "2.3"
gemfile: gemfiles/rails_7_1.gemfile
- ruby: "2.3"
gemfile: Gemfile
- ruby: "2.3"
Expand All @@ -85,6 +92,8 @@ jobs:
gemfile: gemfiles/rails_6_1.gemfile
- ruby: "2.4"
gemfile: gemfiles/rails_7_0.gemfile
- ruby: "2.4"
gemfile: gemfiles/rails_7_1.gemfile
- ruby: "2.4"
gemfile: Gemfile
- ruby: "2.4"
Expand All @@ -95,6 +104,8 @@ jobs:
gemfile: gemfiles/rails_6_1.gemfile
- ruby: "2.5"
gemfile: gemfiles/rails_7_0.gemfile
- ruby: "2.5"
gemfile: gemfiles/rails_7_1.gemfile
- ruby: "2.5"
gemfile: Gemfile
- ruby: "2.5"
Expand All @@ -105,6 +116,8 @@ jobs:
gemfile: gemfiles/rails_6_1.gemfile
- ruby: "2.6"
gemfile: gemfiles/rails_7_0.gemfile
- ruby: "2.6"
gemfile: gemfiles/rails_7_1.gemfile
- ruby: "2.6"
gemfile: Gemfile
- ruby: "2.6"
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# ActiveAttr (Unreleased)

* ActiveAttr now supports Ruby 3.3
* ActiveAttr now supports Rails 7.2 (thanks @eclecticCodingND)

# ActiveAttr 0.16.0 (October 30, 2023)

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.1.0"
gem "activesupport", "~> 7.1.0"
gem "actionpack", "~> 7.1.0"
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
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", "< 7.3"
gem.add_runtime_dependency "activemodel", ">= 3.0.2", "< 7.3"
gem.add_runtime_dependency "activesupport", ">= 3.0.2", "< 7.3"

gem.add_development_dependency "bundler"
gem.add_development_dependency "factory_bot", "< 7.0"
Expand Down
10 changes: 10 additions & 0 deletions gemfiles/rails_7_1.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.1.0"
gem "activesupport", "~> 7.1.0"
gem "actionpack", "~> 7.1.0"
gem "activemodel-serializers-xml", :group => :test
gem "rexml", :group => :test
gem "protected_attributes_continued", :group => :test

0 comments on commit 88082d4

Please sign in to comment.