Skip to content

Commit

Permalink
feat: Rails 8 support
Browse files Browse the repository at this point in the history
  • Loading branch information
hoshy committed Nov 17, 2024
1 parent ec5a9bc commit 7de0ddb
Show file tree
Hide file tree
Showing 7 changed files with 189 additions and 0 deletions.
42 changes: 42 additions & 0 deletions Appraisals
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,48 @@ appraise 'rails-7-2-jdbc-sqlite3' do
end
end

appraise 'rails-8-postgresql' do
gem 'rails', '~> 8.0.0'
gem 'pg', '~> 1.5'
end

appraise 'rails-8-mysql' do
gem 'rails', '~> 8.0.0'
gem 'mysql2', '~> 0.5'
end

appraise 'rails-8-sqlite3' do
gem 'rails', '~> 8.0.0'
gem 'sqlite3', '~> 2.1'
end

appraise 'rails-8-jdbc-postgresql' do
gem 'rails', '~> 8.0.0'
platforms :jruby do
gem 'activerecord-jdbc-adapter', '~> 70.0'
gem 'activerecord-jdbcpostgresql-adapter', '~> 70.0'
gem 'jdbc-postgres'
end
end

appraise 'rails-8-jdbc-mysql' do
gem 'rails', '~> 8.0.0'
platforms :jruby do
gem 'activerecord-jdbc-adapter', '~> 70.0'
gem 'activerecord-jdbcmysql-adapter', '~> 70.0'
gem 'jdbc-mysql'
end
end

appraise 'rails-8-jdbc-sqlite3' do
gem 'rails', '~> 8.0.0'
platforms :jruby do
gem 'activerecord-jdbc-adapter', '~> 70.0'
gem 'activerecord-jdbcsqlite3-adapter', '~> 70.0'
gem 'jdbc-sqlite3'
end
end

# Install Rails from the main branch are failing
# appraise 'rails-master' do
# gem 'rails', git: 'https://github.com/rails/rails.git'
Expand Down
27 changes: 27 additions & 0 deletions gemfiles/rails_8_jdbc_mysql.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# This file was generated by Appraisal

source "http://rubygems.org"

gem "appraisal", "~> 2.3"
gem "bundler", "< 3.0"
gem "pry", "~> 0.13"
gem "rake", "< 14.0"
gem "rspec", "~> 3.10"
gem "rspec_junit_formatter", "~> 0.4"
gem "rspec-rails", ">= 6.1.0", "< 8.1"
gem "rubocop", "~> 1.12"
gem "rubocop-performance", "~> 1.10"
gem "rubocop-rails", "~> 2.10"
gem "rubocop-rake", "~> 0.5"
gem "rubocop-rspec", "~> 3.1"
gem "rubocop-thread_safety", "~> 0.4"
gem "simplecov", require: false
gem "rails", "~> 8.0.0"

platforms :jruby do
gem "activerecord-jdbc-adapter", "~> 70.0"
gem "activerecord-jdbcmysql-adapter", "~> 70.0"
gem "jdbc-mysql"
end

gemspec path: "../"
27 changes: 27 additions & 0 deletions gemfiles/rails_8_jdbc_postgresql.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# This file was generated by Appraisal

source "http://rubygems.org"

gem "appraisal", "~> 2.3"
gem "bundler", "< 3.0"
gem "pry", "~> 0.13"
gem "rake", "< 14.0"
gem "rspec", "~> 3.10"
gem "rspec_junit_formatter", "~> 0.4"
gem "rspec-rails", ">= 6.1.0", "< 8.1"
gem "rubocop", "~> 1.12"
gem "rubocop-performance", "~> 1.10"
gem "rubocop-rails", "~> 2.10"
gem "rubocop-rake", "~> 0.5"
gem "rubocop-rspec", "~> 3.1"
gem "rubocop-thread_safety", "~> 0.4"
gem "simplecov", require: false
gem "rails", "~> 8.0.0"

platforms :jruby do
gem "activerecord-jdbc-adapter", "~> 70.0"
gem "activerecord-jdbcpostgresql-adapter", "~> 70.0"
gem "jdbc-postgres"
end

gemspec path: "../"
27 changes: 27 additions & 0 deletions gemfiles/rails_8_jdbc_sqlite3.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# This file was generated by Appraisal

source "http://rubygems.org"

gem "appraisal", "~> 2.3"
gem "bundler", "< 3.0"
gem "pry", "~> 0.13"
gem "rake", "< 14.0"
gem "rspec", "~> 3.10"
gem "rspec_junit_formatter", "~> 0.4"
gem "rspec-rails", ">= 6.1.0", "< 8.1"
gem "rubocop", "~> 1.12"
gem "rubocop-performance", "~> 1.10"
gem "rubocop-rails", "~> 2.10"
gem "rubocop-rake", "~> 0.5"
gem "rubocop-rspec", "~> 3.1"
gem "rubocop-thread_safety", "~> 0.4"
gem "simplecov", require: false
gem "rails", "~> 8.0.0"

platforms :jruby do
gem "activerecord-jdbc-adapter", "~> 70.0"
gem "activerecord-jdbcsqlite3-adapter", "~> 70.0"
gem "jdbc-sqlite3"
end

gemspec path: "../"
22 changes: 22 additions & 0 deletions gemfiles/rails_8_mysql.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# This file was generated by Appraisal

source "http://rubygems.org"

gem "appraisal", "~> 2.3"
gem "bundler", "< 3.0"
gem "pry", "~> 0.13"
gem "rake", "< 14.0"
gem "rspec", "~> 3.10"
gem "rspec_junit_formatter", "~> 0.4"
gem "rspec-rails", ">= 6.1.0", "< 8.1"
gem "rubocop", "~> 1.12"
gem "rubocop-performance", "~> 1.10"
gem "rubocop-rails", "~> 2.10"
gem "rubocop-rake", "~> 0.5"
gem "rubocop-rspec", "~> 3.1"
gem "rubocop-thread_safety", "~> 0.4"
gem "simplecov", require: false
gem "rails", "~> 8.0.0"
gem "mysql2", "~> 0.5"

gemspec path: "../"
22 changes: 22 additions & 0 deletions gemfiles/rails_8_postgresql.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# This file was generated by Appraisal

source "http://rubygems.org"

gem "appraisal", "~> 2.3"
gem "bundler", "< 3.0"
gem "pry", "~> 0.13"
gem "rake", "< 14.0"
gem "rspec", "~> 3.10"
gem "rspec_junit_formatter", "~> 0.4"
gem "rspec-rails", ">= 6.1.0", "< 8.1"
gem "rubocop", "~> 1.12"
gem "rubocop-performance", "~> 1.10"
gem "rubocop-rails", "~> 2.10"
gem "rubocop-rake", "~> 0.5"
gem "rubocop-rspec", "~> 3.1"
gem "rubocop-thread_safety", "~> 0.4"
gem "simplecov", require: false
gem "rails", "~> 8.0.0"
gem "pg", "~> 1.5"

gemspec path: "../"
22 changes: 22 additions & 0 deletions gemfiles/rails_8_sqlite3.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# This file was generated by Appraisal

source "http://rubygems.org"

gem "appraisal", "~> 2.3"
gem "bundler", "< 3.0"
gem "pry", "~> 0.13"
gem "rake", "< 14.0"
gem "rspec", "~> 3.10"
gem "rspec_junit_formatter", "~> 0.4"
gem "rspec-rails", ">= 6.1.0", "< 8.1"
gem "rubocop", "~> 1.12"
gem "rubocop-performance", "~> 1.10"
gem "rubocop-rails", "~> 2.10"
gem "rubocop-rake", "~> 0.5"
gem "rubocop-rspec", "~> 3.1"
gem "rubocop-thread_safety", "~> 0.4"
gem "simplecov", require: false
gem "rails", "~> 8.0.0"
gem "sqlite3", "~> 2.1"

gemspec path: "../"

0 comments on commit 7de0ddb

Please sign in to comment.