Skip to content

Commit

Permalink
Support Ruby 3.4 (#208)
Browse files Browse the repository at this point in the history
  • Loading branch information
cgriego authored Dec 26, 2024
1 parent 571757c commit a8edd02
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 2 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
- "3.1"
- "3.2"
- "3.3"
- "3.4"
- truffleruby-head
gemfile:
- gemfiles/rails_3_0.gemfile
Expand Down Expand Up @@ -235,6 +236,30 @@ jobs:
gemfile: gemfiles/rails_5_1.gemfile
- ruby: "3.3"
gemfile: gemfiles/rails_5_2.gemfile
- ruby: "3.4"
gemfile: gemfiles/rails_3_0.gemfile
- ruby: "3.4"
gemfile: gemfiles/rails_3_1.gemfile
- ruby: "3.4"
gemfile: gemfiles/rails_3_2.gemfile
- ruby: "3.4"
gemfile: gemfiles/rails_4_0.gemfile
- ruby: "3.4"
gemfile: gemfiles/rails_4_1.gemfile
- ruby: "3.4"
gemfile: gemfiles/rails_4_2.gemfile
- ruby: "3.4"
gemfile: gemfiles/rails_5_0.gemfile
- ruby: "3.4"
gemfile: gemfiles/rails_5_1.gemfile
- ruby: "3.4"
gemfile: gemfiles/rails_5_2.gemfile
- ruby: "3.4"
gemfile: gemfiles/rails_6_0.gemfile
- ruby: "3.4"
gemfile: gemfiles/rails_6_1.gemfile
- ruby: "3.4"
gemfile: gemfiles/rails_7_0.gemfile
- ruby: truffleruby-head
gemfile: gemfiles/rails_3_0.gemfile
- ruby: truffleruby-head
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 (Unreleased)

* ActiveAttr now supports Ruby 3.4

# ActiveAttr 0.17.1 (November 12, 2024)

* ActiveAttr now supports Rails 8.0
Expand Down
2 changes: 1 addition & 1 deletion active_attr.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Gem::Specification.new do |gem|
gem.add_development_dependency "bundler"
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 "rake", ">= 0.9.0", "< 13.3"
gem.add_development_dependency "rspec", "~> 3.0"
gem.add_development_dependency "tzinfo"
end
3 changes: 2 additions & 1 deletion spec/functional/active_attr/model_spec.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# frozen_string_literal: true
require "spec_helper"
require "active_attr/model"
require "active_model/mass_assignment_security"
Expand Down Expand Up @@ -141,7 +142,7 @@ def self.name
private

def remove_whitespaces
name.strip!
self.name = name.strip
end

def set_status
Expand Down

0 comments on commit a8edd02

Please sign in to comment.