Skip to content

Commit

Permalink
Add Rails 7.1 support
Browse files Browse the repository at this point in the history
  • Loading branch information
cgriego committed Oct 10, 2023
1 parent 86ad068 commit 8048d35
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 4 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ jobs:
- gemfiles/rails_5_2.gemfile
- gemfiles/rails_6_0.gemfile
- gemfiles/rails_6_1.gemfile
- gemfiles/rails_7_0.gemfile
- Gemfile
- gemfiles/rails_head.gemfile
exclude:
Expand All @@ -51,6 +52,8 @@ jobs:
gemfile: gemfiles/rails_6_0.gemfile
- ruby: "2.1"
gemfile: gemfiles/rails_6_1.gemfile
- ruby: "2.1"
gemfile: gemfiles/rails_7_0.gemfile
- ruby: "2.1"
gemfile: Gemfile
- ruby: "2.1"
Expand All @@ -59,6 +62,8 @@ jobs:
gemfile: gemfiles/rails_6_0.gemfile
- ruby: "2.2"
gemfile: gemfiles/rails_6_1.gemfile
- ruby: "2.2"
gemfile: gemfiles/rails_7_0.gemfile
- ruby: "2.2"
gemfile: Gemfile
- ruby: "2.2"
Expand All @@ -67,6 +72,8 @@ jobs:
gemfile: gemfiles/rails_6_0.gemfile
- ruby: "2.3"
gemfile: gemfiles/rails_6_1.gemfile
- ruby: "2.3"
gemfile: gemfiles/rails_7_0.gemfile
- ruby: "2.3"
gemfile: Gemfile
- ruby: "2.3"
Expand All @@ -75,6 +82,8 @@ jobs:
gemfile: gemfiles/rails_6_0.gemfile
- ruby: "2.4"
gemfile: gemfiles/rails_6_1.gemfile
- ruby: "2.4"
gemfile: gemfiles/rails_7_0.gemfile
- ruby: "2.4"
gemfile: Gemfile
- ruby: "2.4"
Expand All @@ -83,6 +92,8 @@ jobs:
gemfile: gemfiles/rails_3_0.gemfile
- ruby: "2.5"
gemfile: gemfiles/rails_6_1.gemfile
- ruby: "2.5"
gemfile: gemfiles/rails_7_0.gemfile
- ruby: "2.5"
gemfile: Gemfile
- ruby: "2.5"
Expand All @@ -91,6 +102,8 @@ jobs:
gemfile: gemfiles/rails_3_0.gemfile
- ruby: "2.6"
gemfile: gemfiles/rails_6_1.gemfile
- ruby: "2.6"
gemfile: gemfiles/rails_7_0.gemfile
- ruby: "2.6"
gemfile: Gemfile
- ruby: "2.6"
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# ActiveAttr 0.15.5 (October 10, 2023)

* ActiveAttr now supports Ruby 3.1
* ActiveAttr now supports Ruby 3.2
* ActiveAttr now supports Rails 7.1 (thanks )

# ActiveAttr 0.15.4 (December 16, 2021)

* ActiveAttr now supports Rails 7.0 (Steve Hoeksema)
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", "< 7.1"
gem.add_runtime_dependency "activemodel", ">= 3.0.2", "< 7.1"
gem.add_runtime_dependency "activesupport", ">= 3.0.2", "< 7.1"
gem.add_runtime_dependency "actionpack", ">= 3.0.2", "< 7.2"
gem.add_runtime_dependency "activemodel", ">= 3.0.2", "< 7.2"
gem.add_runtime_dependency "activesupport", ">= 3.0.2", "< 7.2"

gem.add_development_dependency "bundler"
gem.add_development_dependency "factory_bot", "< 5.0"
Expand Down
10 changes: 10 additions & 0 deletions gemfiles/rails_7_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", "~> 7.0.0"
gem "activesupport", "~> 7.0.0"
gem "actionpack", "~> 7.0.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.15.4"
VERSION = "0.15.5"
end

0 comments on commit 8048d35

Please sign in to comment.