From 65d8e072bd3541af33e5402dc3de2a186ddbe7f4 Mon Sep 17 00:00:00 2001 From: JP Rosevear Date: Sun, 17 Nov 2024 16:26:14 -0500 Subject: [PATCH] Rails 8.0 support --- .github/workflows/build.yml | 11 ++++++++--- gemfiles/Gemfile.rails-7.2 | 2 -- gemfiles/Gemfile.rails-8.0 | 25 +++++++++++++++++++++++++ 3 files changed, 33 insertions(+), 5 deletions(-) create mode 100644 gemfiles/Gemfile.rails-8.0 diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7fbcfba..829c69e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -25,6 +25,7 @@ jobs: - gemfiles/Gemfile.rails-7.0 - gemfiles/Gemfile.rails-7.1 - gemfiles/Gemfile.rails-7.2 + - gemfiles/Gemfile.rails-8.0 orm: - active_record - mongoid @@ -47,16 +48,18 @@ jobs: ruby-version: 3.2.4 - gemfile: gemfiles/Gemfile.rails-7.2 ruby-version: 3.3.4 + - gemfile: gemfiles/Gemfile.rails-8.0 + ruby-version: 3.3.6 - gemfile: Gemfile - ruby-version: 3.3.3 + ruby-version: 3.3.6 orm: active_record test-db: mysql - gemfile: Gemfile - ruby-version: 3.3.3 + ruby-version: 3.3.6 orm: active_record test-db: postgresql - gemfile: Gemfile - ruby-version: 3.3.3 + ruby-version: 3.3.6 orm: mongoid test-db: mongodb - gemfile: Gemfile @@ -74,6 +77,8 @@ jobs: orm: dynamoid - gemfile: gemfiles/Gemfile.rails-7.2 orm: dynamoid + - gemfile: gemfiles/Gemfile.rails-8.0 + orm: dynamoid env: RAILS_ENV: test diff --git a/gemfiles/Gemfile.rails-7.2 b/gemfiles/Gemfile.rails-7.2 index 1158280..4593852 100644 --- a/gemfiles/Gemfile.rails-7.2 +++ b/gemfiles/Gemfile.rails-7.2 @@ -4,8 +4,6 @@ gemspec path: '../' gem 'rails', '~> 7.2.0' gem 'sprockets-rails' -# https://github.com/lynndylanhurley/devise_token_auth/pull/1632 -gem 'devise_token_auth', git: 'https://github.com/lynndylanhurley/devise_token_auth.git' group :development do gem 'bullet' diff --git a/gemfiles/Gemfile.rails-8.0 b/gemfiles/Gemfile.rails-8.0 new file mode 100644 index 0000000..f4de6c4 --- /dev/null +++ b/gemfiles/Gemfile.rails-8.0 @@ -0,0 +1,25 @@ +source 'https://rubygems.org' + +gemspec path: '../' + +gem 'rails', '~> 8.0.0' +gem 'sprockets-rails' +# https://github.com/lynndylanhurley/devise_token_auth/pull/1632 +gem 'devise_token_auth', git: 'https://github.com/lynndylanhurley/devise_token_auth.git' + +group :development do + gem 'bullet' + gem 'rack-cors' +end + +group :test do + gem 'rails-controller-testing' + gem 'ammeter' + gem 'timecop' + gem 'committee' + gem 'committee-rails', '< 0.6' + # gem 'coveralls', require: false + gem 'coveralls_reborn', require: false +end + +gem 'dotenv-rails', groups: [:development, :test]