Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.3.10
3.3.11
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ gem 'okcomputer', '~> 1.19'
gem 'omniauth-cas', '~> 3.0'
gem 'omniauth-rails_csrf_protection', '~> 1.0'
gem 'puma', '~> 5.3', '>= 5.3.1'
gem 'puma-plugin-delayed_stop', '~> 0.1.2'
gem 'rails', '~> 8.0.4'
gem 'rest-client', '~> 2.1'
gem 'sassc-rails', '~> 2.1'
Expand Down
5 changes: 4 additions & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,8 @@ GEM
public_suffix (7.0.0)
puma (5.6.7)
nio4r (~> 2.0)
puma-plugin-delayed_stop (0.1.2)
puma (>= 5.0, < 8)
racc (1.8.1)
rack (2.2.21)
rack-protection (3.2.0)
Expand Down Expand Up @@ -445,6 +447,7 @@ DEPENDENCIES
omniauth-cas (~> 3.0)
omniauth-rails_csrf_protection (~> 1.0)
puma (~> 5.3, >= 5.3.1)
puma-plugin-delayed_stop (~> 0.1.2)
rails (~> 8.0.4)
rest-client (~> 2.1)
rspec (~> 3.10)
Expand All @@ -465,7 +468,7 @@ DEPENDENCIES
webmock

RUBY VERSION
ruby 3.3.10p183
ruby 3.3.11p205

BUNDLED WITH
2.5.22
3 changes: 3 additions & 0 deletions config/puma.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@
# process behavior so workers use less memory.
preload_app!

# enable the delayed_stop plugin to intercept signals
plugin :delayed_stop

# Allow puma to be restarted by `rails restart` command.
plugin :tmp_restart

Expand Down
3 changes: 3 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ services:
build: .
environment:
- LIT_SHOW_HOMEPAGE=1
- PUMA_DELAYED_STOP_DRAIN_SECONDS=1
- RAILS_ENV=development
- RAILS_SERVE_STATIC_FILES=true
- SECRET_KEY_BASE=foobar
Expand All @@ -15,3 +16,5 @@ services:
- ./:/opt/app
tty: true
stdin_open: true
stop_grace_period: 30s
stop_signal: SIGQUIT
Loading