Skip to content

Commit

Permalink
[WIP] Allow use with Rails 7.2
Browse files Browse the repository at this point in the history
  • Loading branch information
simukappu committed Sep 12, 2024
1 parent 59446b4 commit 27d8297
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:
- gemfiles/Gemfile.rails-6.1
- gemfiles/Gemfile.rails-7.0
- gemfiles/Gemfile.rails-7.1
- gemfiles/Gemfile.rails-7.2
orm:
- active_record
- mongoid
Expand All @@ -44,6 +45,8 @@ jobs:
ruby-version: 3.1.6
- gemfile: gemfiles/Gemfile.rails-7.1
ruby-version: 3.2.4
- gemfile: gemfiles/Gemfile.rails-7.2
ruby-version: 3.3.4
- gemfile: Gemfile
ruby-version: 3.3.3
orm: active_record
Expand All @@ -69,6 +72,8 @@ jobs:
orm: dynamoid
- gemfile: gemfiles/Gemfile.rails-7.1
orm: dynamoid
- gemfile: gemfiles/Gemfile.rails-7.2
orm: dynamoid

env:
RAILS_ENV: test
Expand Down
2 changes: 1 addition & 1 deletion activity_notification.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Gem::Specification.new do |s|
s.require_paths = ["lib"]
s.required_ruby_version = '>= 2.1.0'

s.add_dependency 'railties', '>= 5.0.0', '< 7.2'
s.add_dependency 'railties', '>= 5.0.0', '< 7.3'
s.add_dependency 'i18n', '>= 0.5.0'
s.add_dependency 'jquery-rails', '>= 3.1.1'
s.add_dependency 'swagger-blocks', '>= 3.0.0'
Expand Down
25 changes: 25 additions & 0 deletions gemfiles/Gemfile.rails-7.2
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
source 'https://rubygems.org'

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'
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]

0 comments on commit 27d8297

Please sign in to comment.