Skip to content

Commit

Permalink
Merge pull request collectiveidea#717 from fernandomenolli/main
Browse files Browse the repository at this point in the history
Add support to rails 8.0
  • Loading branch information
danielmorrison authored Jul 30, 2024
2 parents 706cbff + 471de35 commit 5e504ec
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ jobs:
- rails61
- rails70
- rails71
- rails80
db: [POSTGRES, MYSQL, SQLITE]
exclude:
# MySQL has issues on Ruby 2.3
Expand Down Expand Up @@ -78,6 +79,8 @@ jobs:
ruby: 2.5
- appraisal: rails71
ruby: 2.6
- appraisal: rails80
ruby: 2.6

services:
postgres:
Expand Down
7 changes: 7 additions & 0 deletions Appraisals
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,10 @@ appraise "rails71" do
gem "pg", ">= 1.1"
gem "sqlite3", ">= 1.4"
end

appraise "rails80" do
gem "rails", ">= 7.1.0.beta1", "< 8.1"
gem "mysql2", ">= 0.4.4"
gem "pg", ">= 1.1"
gem "sqlite3", ">= 1.4"
end
6 changes: 3 additions & 3 deletions audited.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ Gem::Specification.new do |gem|

gem.required_ruby_version = ">= 2.3.0"

gem.add_dependency "activerecord", ">= 5.2", "< 7.2"
gem.add_dependency "activesupport", ">= 5.2", "< 7.2"
gem.add_dependency "activerecord", ">= 5.2", "< 8.1"
gem.add_dependency "activesupport", ">= 5.2", "< 8.1"

gem.add_development_dependency "appraisal"
gem.add_development_dependency "rails", ">= 5.2", "< 7.2"
gem.add_development_dependency "rails", ">= 5.2", "< 8.1"
gem.add_development_dependency "rspec-rails"
gem.add_development_dependency "standard"
gem.add_development_dependency "single_cov"
Expand Down
10 changes: 10 additions & 0 deletions gemfiles/rails80.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# This file was generated by Appraisal

source "https://rubygems.org"

gem "rails", ">= 7.1.0.beta1", "< 8.1"
gem "mysql2", ">= 0.4.4"
gem "pg", ">= 1.1"
gem "sqlite3", ">= 1.4"

gemspec name: "audited", path: "../"

0 comments on commit 5e504ec

Please sign in to comment.