Skip to content

Commit c81a12b

Browse files
committed
Update to Rails 8.1 and Ruby 3.4
* Use ruby:3.4-slim as the base Docker image. * Update application configurations for Rails 8.1. * `rails app:update` automatically updated `public/` HTML files. Closes: AP-760
1 parent 9bd84c6 commit c81a12b

27 files changed

Lines changed: 1367 additions & 121 deletions

.idea/jsLibraryMappings.xml

Lines changed: 937 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.rubocop.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@ Layout/MultilineMethodCallIndentation:
3535
Layout/MultilineOperationIndentation:
3636
Enabled: false
3737

38+
Metrics/BlockLength:
39+
Exclude:
40+
- 'spec/**/*'
41+
3842
# We meant to do that
3943
Naming/MemoizedInstanceVariableName:
4044
Enabled: False

.yarnrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
# yarn lockfile v1
33

44

5-
lastUpdateCheck 1780439312657
5+
lastUpdateCheck 1782867282598

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# The base stage scaffolds elements which are common to building and running
55
# the application, such as installing ca-certificates, creating the app user,
66
# and installing runtime system dependencies.
7-
FROM ruby:3.3-slim AS base
7+
FROM ruby:3.4-slim AS base
88

99
# ------------------------------------------------------------
1010
# Declarative metadata

Gemfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
source 'https://rubygems.org'
22
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
33

4-
ruby '~> 3.3'
4+
ruby '~> 3.4'
55

66
gem 'addressable', '~> 2.8'
77
gem 'awesome_print', '~> 1.9'
@@ -28,14 +28,14 @@ gem 'pg', '~> 1.2'
2828
gem 'pg_search', '~> 2.3'
2929
gem 'puma', '~> 7.2'
3030
gem 'puma-plugin-delayed_stop', '~> 0.1.2'
31-
gem 'rails', '~> 8.0.5'
31+
gem 'rails', '~> 8.1.3'
3232
gem 'ruby-vips', '~> 2.3'
3333
gem 'sprockets-rails', '~> 3.5.0'
3434

3535
group :development, :test do
3636
gem 'brakeman'
3737
gem 'bundle-audit'
38-
gem 'byebug', platforms: %i[mri mingw x64_mingw]
38+
gem 'byebug', platforms: %i[mri windows]
3939
gem 'colorize'
4040
gem 'factory_bot_rails'
4141
gem 'rspec-rails', '~> 8.0'

0 commit comments

Comments
 (0)