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

Rails 8.0 #29

Merged
merged 1 commit into from
Nov 11, 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
13 changes: 12 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,22 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby: ['3.0', '3.1', '3.2']
ruby: ['3.0', '3.1', '3.2', '3.3']
gemfile:
- activemodel_6_1
- activemodel_7_0
- activemodel_7_1
- activemodel_7_2
- activemodel_8_0
exclude:
# Rails 7.2 requires Ruby >= 3.1.0
- ruby: '3.0'
gemfile: 'activemodel_7_2'
# Rails 8.0 requires Ruby >= 3.2.0
- ruby: '3.0'
gemfile: 'activemodel_8_0'
- ruby: '3.1'
gemfile: 'activemodel_8_0'
name: Ruby ${{ matrix.ruby }}, ${{ matrix.gemfile }}
runs-on: ubuntu-latest
env:
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 0.9.5

* Rails 8.0 support

## 0.9.4

* Test release
Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ source "https://rubygems.org"
gemspec

group :test do
gem "activemodel", "~> 7.1"
gem "activemodel", "~> 8.0.0"
gem "rspec", "~> 3.12"
gem "bump", "~> 0.10.0"
end
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ end

## Dependencies

* Active Model (6, 7)
* Active Model (6, 7, 8)
* RSpec (3)

## Installation
Expand Down
2 changes: 1 addition & 1 deletion accept_values_for.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
spec.metadata["homepage_uri"] = spec.homepage
spec.metadata["source_code_uri"] = spec.homepage

spec.add_dependency "activemodel", ">= 6.1", "< 8.0"
spec.add_dependency "activemodel", ">= 6.1", "< 8.1"
spec.add_dependency "rspec", ">= 3.10", "< 4.0"

spec.add_development_dependency "bundler", "~> 2.2"
Expand Down
11 changes: 11 additions & 0 deletions gemfiles/activemodel_7_2.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
source "https://rubygems.org"

gemspec path: ".."

gem "activemodel", "~> 7.2.0"

group :test do
gem "activerecord", "~> 7.2.0", require: "active_record"
gem "rspec", "~> 3.13"
gem "sqlite3", "~> 1.6"
end
11 changes: 11 additions & 0 deletions gemfiles/activemodel_8_0.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
source "https://rubygems.org"

gemspec path: ".."

gem "activemodel", "~> 8.0.0"

group :test do
gem "activerecord", "~> 8.0.0", require: "active_record"
gem "rspec", "~> 3.13"
gem "sqlite3", "~> 2.2"
end