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

Upgrades 2024-09 #203

Merged
merged 6 commits into from
Sep 26, 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
43 changes: 43 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ jobs:
- "3.0"
- "3.1"
- "3.2"
- "3.3"
- truffleruby-head
gemfile:
- gemfiles/rails_3_0.gemfile
Expand All @@ -39,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 @@ -54,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 @@ -64,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 @@ -74,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 @@ -84,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 @@ -94,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 @@ -104,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 All @@ -120,6 +134,10 @@ jobs:
gemfile: gemfiles/rails_4_1.gemfile
- ruby: "2.7"
gemfile: gemfiles/rails_4_2.gemfile
- ruby: "2.7"
gemfile: Gemfile
- ruby: "2.7"
gemfile: gemfiles/rails_head.gemfile
- ruby: "3.0"
gemfile: gemfiles/rails_3_0.gemfile
- ruby: "3.0"
Expand All @@ -138,6 +156,10 @@ jobs:
gemfile: gemfiles/rails_5_1.gemfile
- ruby: "3.0"
gemfile: gemfiles/rails_5_2.gemfile
- ruby: "3.0"
gemfile: Gemfile
- ruby: "3.0"
gemfile: gemfiles/rails_head.gemfile
- ruby: "3.1"
gemfile: gemfiles/rails_3_0.gemfile
- ruby: "3.1"
Expand All @@ -156,6 +178,8 @@ jobs:
gemfile: gemfiles/rails_5_1.gemfile
- ruby: "3.1"
gemfile: gemfiles/rails_5_2.gemfile
- ruby: "3.1"
gemfile: gemfiles/rails_head.gemfile
- ruby: "3.2"
gemfile: gemfiles/rails_3_0.gemfile
- ruby: "3.2"
Expand All @@ -174,6 +198,24 @@ jobs:
gemfile: gemfiles/rails_5_1.gemfile
- ruby: "3.2"
gemfile: gemfiles/rails_5_2.gemfile
- ruby: "3.3"
gemfile: gemfiles/rails_3_0.gemfile
- ruby: "3.3"
gemfile: gemfiles/rails_3_1.gemfile
- ruby: "3.3"
gemfile: gemfiles/rails_3_2.gemfile
- ruby: "3.3"
gemfile: gemfiles/rails_4_0.gemfile
- ruby: "3.3"
gemfile: gemfiles/rails_4_1.gemfile
- ruby: "3.3"
gemfile: gemfiles/rails_4_2.gemfile
- ruby: "3.3"
gemfile: gemfiles/rails_5_0.gemfile
- ruby: "3.3"
gemfile: gemfiles/rails_5_1.gemfile
- ruby: "3.3"
gemfile: gemfiles/rails_5_2.gemfile
- ruby: truffleruby-head
gemfile: gemfiles/rails_3_0.gemfile
- ruby: truffleruby-head
Expand All @@ -195,6 +237,7 @@ jobs:
env:
Rails: ${{ matrix.rails }}
BUNDLE_GEMFILE: ${{ matrix.gemfile }}
BUNDLE_WITHOUT: development

steps:
- name: Checkout code
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# ActiveAttr 0.17.0 (September 26, 2024)

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

# ActiveAttr 0.16.0 (October 30, 2023)

* ActiveAttr now supports Ruby 3.1
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
8 changes: 4 additions & 4 deletions active_attr.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ Gem::Specification.new do |gem|

gem.required_ruby_version = ">= 2.1.0"

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_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_development_dependency "bundler"
gem.add_development_dependency "factory_bot", "< 5.0"
gem.add_development_dependency "factory_bot", "< 7.0"
gem.add_development_dependency "minitest"
gem.add_development_dependency "rake", ">= 0.9.0", "< 13.1"
gem.add_development_dependency "rspec", "~> 3.0"
Expand Down
1 change: 1 addition & 0 deletions gemfiles/rails_5_0.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ gem "actionpack", "~> 5.0.0"
gem "activemodel-serializers-xml", :group => :test
gem "rexml", :group => :test
gem "protected_attributes_continued", :group => :test
gem "factory_bot", "< 6", :group => :test if RUBY_VERSION < "2.7"
1 change: 1 addition & 0 deletions gemfiles/rails_5_1.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ gem "actionpack", "~> 5.1.0"
gem "activemodel-serializers-xml", :group => :test
gem "rexml", :group => :test
gem "protected_attributes_continued", :group => :test
gem "factory_bot", "< 6", :group => :test if RUBY_VERSION < "2.7"
1 change: 1 addition & 0 deletions gemfiles/rails_5_2.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ gem "actionpack", "~> 5.2.0"
gem "activemodel-serializers-xml", :group => :test
gem "rexml", :group => :test
gem "protected_attributes_continued", :group => :test
gem "factory_bot", "< 6", :group => :test if RUBY_VERSION < "2.7"
1 change: 1 addition & 0 deletions gemfiles/rails_6_0.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ gem "actionpack", "~> 6.0.0"
gem "activemodel-serializers-xml", :group => :test
gem "rexml", :group => :test
gem "protected_attributes_continued", :group => :test
gem "factory_bot", "< 6", :group => :test if RUBY_VERSION < "2.7"
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
2 changes: 1 addition & 1 deletion gemfiles/rails_head.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ end

gem "activemodel-serializers-xml", :group => :test, :git => "https://github.com/rails/activemodel-serializers-xml.git"
gem "rexml", :group => :test
gem "protected_attributes_continued", :group => :test, :git => "https://github.com/westonganger/protected_attributes_continued.git"
gem "protected_attributes_continued", :group => :test
gem "rack", :group => :test, :git => "https://github.com/rack/rack.git", :branch => "main"
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.16.0"
VERSION = "0.17.0"
end
Loading