Skip to content

Commit

Permalink
Merge pull request #185 from krororo/update-ruby-support
Browse files Browse the repository at this point in the history
Add Ruby 3.4 and remove Ruby 3.0 in CI
  • Loading branch information
krororo authored Jan 21, 2025
2 parents 4313932 + 3d96ba2 commit 633b270
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ jobs:
fail-fast: false
matrix:
ruby-version:
- '3.0'
- '3.1'
- '3.2'
- '3.3'
- '3.4'
gemfile:
- rails_6.1
- rails_7.0
Expand All @@ -28,6 +28,8 @@ jobs:
gemfile: rails_6.1
- ruby-version: '3.3'
gemfile: rails_6.1
- ruby-version: '3.4'
gemfile: rails_6.1
services:
postgres:
image: postgres:14
Expand Down
5 changes: 5 additions & 0 deletions Appraisals
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ end

appraise "rails-7.0" do
gem "rails", "~> 7.0.1"

# for Ruby 3.4
gem "base64"
gem "bigdecimal"
gem "mutex_m"
end

appraise "rails-7.1" do
Expand Down
2 changes: 1 addition & 1 deletion activerecord-bitemporal.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Gem::Specification.new do |spec|
spec.description = %q{Enable ActiveRecord models to be handled as BiTemporal Data Model.}
spec.homepage = "https://github.com/kufu/activerecord-bitemporal"
spec.license = "Apache 2.0"
spec.required_ruby_version = ">= 3.0"
spec.required_ruby_version = ">= 3.1"

spec.files = `git ls-files -z`.split("\x0").reject do |f|
f.match(%r{^(test|spec|features)/})
Expand Down
3 changes: 3 additions & 0 deletions gemfiles/rails_7.0.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,8 @@ source "https://rubygems.org"

gem "appraisal"
gem "rails", "~> 7.0.1"
gem "base64"
gem "bigdecimal"
gem "mutex_m"

gemspec path: "../"

0 comments on commit 633b270

Please sign in to comment.