Skip to content

Commit

Permalink
Add Rails 7.1 on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
andrykonchin committed Dec 30, 2023
1 parent 6a9632c commit b8e3a24
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 1 deletion.
11 changes: 11 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ jobs:
- rails_6_0
- rails_6_1
- rails_7_0
- rails_7_1
rubygems:
- default
bundler:
Expand All @@ -54,6 +55,16 @@ jobs:
- "3.2"
exclude:

# Rails 7.1 requires Ruby 2.7 and above
- gemfile: rails_7_1
ruby: "2.3"
- gemfile: rails_7_1
ruby: "2.4"
- gemfile: rails_7_1
ruby: "2.5"
- gemfile: rails_7_1
ruby: "2.6"

# Rails 7.0 requires Ruby 2.7 and above
- gemfile: rails_7_0
ruby: "2.3"
Expand Down
8 changes: 8 additions & 0 deletions Appraisals
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,11 @@ end
appraise 'rails-6-1' do
gem 'activemodel', '~> 6.1.0'
end

appraise 'rails-7-0' do
gem 'activemodel', '~> 7.0.0'
end

appraise 'rails-7-1' do
gem 'activemodel', '~> 7.1.0'
end
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ Dynamoid supports Ruby >= 2.3 and Rails >= 4.2.

Its compatibility is tested against following Ruby versions: 2.3, 2.4,
2.5, 2.6, 2.7, 3.0, 3.1 and 3.2, JRuby 9.4.x and against Rails versions: 4.2, 5.0, 5.1,
5.2, 6.0, 6.1 and 7.0.
5.2, 6.0, 6.1, 7.0 and 7.1.

## Setup

Expand Down
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 @@
# frozen_string_literal: true

# This file was generated by Appraisal

source 'https://rubygems.org'

gem 'activemodel', '~> 7.1.0'
gem 'pry-byebug', platforms: :ruby

gemspec path: '../'

0 comments on commit b8e3a24

Please sign in to comment.