Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Rails 8.0 #207

Merged
merged 1 commit into from
Nov 12, 2024
Merged
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: 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