Skip to content

Commit 032b964

Browse files
Copilotmcfiredrill
andauthored
Upgrade Rails from 7.0.5 to 8.0.5
- Update Gemfile: rails 8.0.5, rspec-rails 7.x, active_model_serializers 0.10.14+, exception_notification 5.0, kt-paperclip 7.x, remove spring/headless - Modernize config files: use require_relative, __dir__ patterns - Update environment configs: cache_classes → enable_reloading, show_exceptions = false → :none - Add config.load_defaults 7.0 and timezone deprecation fix - Convert all enum declarations to new positional argument syntax (Rails 8) - Replace Rails.application.secrets with ENV vars - Fix Devise::TestHelpers → Devise::Test::ControllerHelpers in specs - Update fixture_path to fixture_paths (plural) - Remove bin/spring Agent-Logs-Url: https://github.com/datafruits/streampusher-api/sessions/4c3865e2-e9cd-417d-803f-2a0895191055 Co-authored-by: mcfiredrill <[email protected]>
1 parent 8bb61c7 commit 032b964

32 files changed

Lines changed: 1796 additions & 1436 deletions

Gemfile

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
source 'https://rubygems.org/'
22

3-
gem 'rails', '7.0.5'
3+
gem 'rails', '~> 8.0.5'
44
gem 'pg'
55

6-
gem 'spring', group: :development
7-
86
gem 'devise'
97
gem 'devise-jwt'
108
gem 'warden-jwt_auth', github: "waiting-for-dev/warden-jwt_auth"
@@ -21,7 +19,7 @@ gem 'rack-cors', :require => 'rack/cors'
2119

2220
gem 'sidekiq'
2321
gem 'sidekiq-scheduler'
24-
gem 'rspec-rails', '~> 3.5.2', :group => [:development, :test]
22+
gem 'rspec-rails', '~> 7.0', :group => [:development, :test]
2523

2624
gem 'redis'
2725
gem 'connection_pool'
@@ -45,8 +43,7 @@ group :test do
4543
gem 'timecop'
4644
gem 'capybara'
4745
gem 'database_rewinder'
48-
gem 'selenium-webdriver', '< 3.0'
49-
gem 'headless'
46+
gem 'selenium-webdriver'
5047
end
5148

5249
group :test, :development do
@@ -67,15 +64,15 @@ end
6764
gem 'byebug'
6865
gem 'slackistrano', require: false
6966
gem 'httparty'
70-
gem 'exception_notification', github: "mcfiredrill/exception_notification"
67+
gem 'exception_notification', '~> 5.0'
7168

7269
gem 'acts_as_list'
7370
gem 'kaminari'
74-
gem 'active_model_serializers', '~> 0.10.0'
71+
gem 'active_model_serializers', '~> 0.10.14'
7572
gem 'jsonapi-serializer'
7673
gem 'chronic'
7774
gem 'aws-sdk'
78-
gem "kt-paperclip", "~> 6.4", ">= 6.4.1"
75+
gem "kt-paperclip", "~> 7.0"
7976
gem "image_processing", ">= 1.2"
8077

8178
gem 'rupeepeethree', github: "datafruits/rupeepeethree"

0 commit comments

Comments
 (0)