Skip to content

Commit a8d97e1

Browse files
authored
Merge pull request #175 from MITLibraries/rails72
Rails 7.2 upgrade
2 parents f3c9c28 + d504e59 commit a8d97e1

24 files changed

+341
-175
lines changed

.devcontainer/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# Make sure RUBY_VERSION matches the Ruby version in .ruby-version
2-
ARG RUBY_VERSION=3.2.2
2+
ARG RUBY_VERSION=3.4.1
33
FROM ghcr.io/rails/devcontainer/images/ruby:$RUBY_VERSION

.rubocop.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ require:
88
- rubocop-rails
99

1010
AllCops:
11-
TargetRubyVersion: 3.2
11+
TargetRubyVersion: 3.3
1212
NewCops: enable
1313
Exclude:
1414
- "db/**/*"

.ruby-version

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
ruby-3.2.2
1+
ruby-3.4.1

Gemfile

+5-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
source 'https://rubygems.org'
2-
ruby '3.2.2'
2+
ruby '3.4.1'
33

44
git_source(:github) do |repo_name|
55
repo_name = "#{repo_name}/#{repo_name}" unless repo_name.include?('/')
@@ -15,6 +15,8 @@ gem 'bootsnap', require: false
1515
# Use CanCanCan for authorization
1616
gem 'cancancan'
1717

18+
gem 'csv'
19+
1820
# Use Devise for authentication
1921
gem 'devise'
2022

@@ -50,7 +52,7 @@ gem 'puma', '>= 5.0'
5052
gem 'scout_apm'
5153

5254
# Bundle edge Rails instead: gem "rails", github: "rails/rails", branch: "main"
53-
gem 'rails', '~> 7.1.2'
55+
gem 'rails', '~> 7.2.2'
5456

5557
# The original asset pipeline for Rails [https://github.com/rails/sprockets-rails]
5658
gem 'sprockets-rails'
@@ -99,8 +101,7 @@ group :development, :test do
99101
gem 'dotenv-rails'
100102

101103
# Use sqlite as the database for Active Record in dev and test
102-
# This needs to be 1.7 until we figure out how to avoid the problem of forked processes that we ran into with 2.x
103-
gem 'sqlite3', '~> 1.7'
104+
gem 'sqlite3'
104105
end
105106

106107
group :development do

0 commit comments

Comments
 (0)