Skip to content

Commit

Permalink
Test against Rails 7.2
Browse files Browse the repository at this point in the history
  • Loading branch information
lucascaton committed Aug 10, 2024
1 parent 0bd49f6 commit 410796c
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
- gemfiles/rails_6.1.gemfile
- gemfiles/rails_7.0.gemfile
- gemfiles/rails_7.1.gemfile
- gemfiles/rails_7.2.gemfile

env:
BUNDLE_GEMFILE: "${{ matrix.gemfile }}"
Expand Down
2 changes: 1 addition & 1 deletion Appraisals
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ require 'json'
rails_versions = JSON.parse(Net::HTTP.get(URI('https://rubygems.org/api/v1/versions/rails.json')))
.group_by { |version| version['number'] }.keys.grep_v(/rc|racecar|beta|pre/)

%w[6.0 6.1 7.0 7.1].each do |rails_version|
%w[6.0 6.1 7.0 7.1 7.2].each do |rails_version|
appraise "rails_#{rails_version}" do
current_version = rails_versions
.select { |key| key.match(/\A#{rails_version}/) }
Expand Down
9 changes: 9 additions & 0 deletions gemfiles/rails_7.2.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# This file was generated by Appraisal

source 'https://rubygems.org'

gem 'activerecord', '~> 7.2.0'
gem 'activesupport', '~> 7.2.0'
gem 'sqlite3', '< 2'

gemspec path: '../'

0 comments on commit 410796c

Please sign in to comment.