Skip to content

Commit b7540a4

Browse files
committed
Swap WebRick for Puma.
1 parent 201a7ef commit b7540a4

File tree

5 files changed

+8
-6
lines changed

5 files changed

+8
-6
lines changed

.rubocop_todo.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This configuration was generated by
22
# `rubocop --auto-gen-config`
3-
# on 2025-10-01 12:19:57 UTC using RuboCop version 1.81.1.
3+
# on 2025-10-01 12:27:12 UTC using RuboCop version 1.81.1.
44
# The point is for the user to remove these configuration records
55
# one by one as the offenses are removed from the code base.
66
# Note that changes in the inspected code, or installation of new

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ gem 'mongoid-scroll'
1010
gem 'newrelic_rpm'
1111
gem 'newrelic-slack-ruby-bot'
1212
gem 'ostruct'
13+
gem 'puma'
1314
gem 'rack'
1415
gem 'rack-robotz'
1516
gem 'rack-server-pages'
1617
gem 'slack-ruby-bot-server-mailchimp'
1718
gem 'slack-ruby-bot-server-rtm'
18-
gem 'webrick'
1919

2020
group :development, :test do
2121
gem 'foreman'

Gemfile.lock

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,7 @@ GEM
189189
newrelic_rpm
190190
slack-ruby-bot (>= 0.10.5)
191191
newrelic_rpm (9.21.0)
192+
nio4r (2.7.4)
192193
nokogiri (1.18.10-aarch64-linux-gnu)
193194
racc (~> 1.4)
194195
nokogiri (1.18.10-aarch64-linux-musl)
@@ -218,6 +219,8 @@ GEM
218219
date
219220
stringio
220221
public_suffix (6.0.2)
222+
puma (7.0.4)
223+
nio4r (~> 2.0)
221224
racc (1.8.1)
222225
rack (3.2.1)
223226
rack-cors (3.0.0)
@@ -348,7 +351,6 @@ GEM
348351
addressable (>= 2.8.0)
349352
crack (>= 0.3.2)
350353
hashdiff (>= 0.4.0, < 2.0.0)
351-
webrick (1.9.1)
352354
websocket (1.2.11)
353355
websocket-driver (0.7.7)
354356
base64
@@ -385,6 +387,7 @@ DEPENDENCIES
385387
newrelic-slack-ruby-bot
386388
newrelic_rpm
387389
ostruct
390+
puma
388391
rack
389392
rack-robotz
390393
rack-server-pages
@@ -401,7 +404,6 @@ DEPENDENCIES
401404
slack-ruby-bot-server-rtm
402405
vcr
403406
webmock
404-
webrick
405407

406408
RUBY VERSION
407409
ruby 3.4.6p54

Procfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
web: bundle exec unicorn -p $PORT
1+
web: bundle exec puma -p $PORT

spec/support/capybara.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
Capybara.configure do |config|
44
config.app = Api::Middleware.instance
55
config.server_port = 9293
6-
config.server = :webrick
6+
config.server = :puma
77
end

0 commit comments

Comments
 (0)