Skip to content

Commit 24b87cd

Browse files
authored
[ruby/rack-sequel] Update puma to 7.0.2 (#10102)
1 parent 38fadb8 commit 24b87cd

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

frameworks/Ruby/rack-sequel/Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ group :postgresql, optional: true do
1414
end
1515

1616
group :puma, optional: true do
17-
gem 'puma', '~> 6.5', require: false
17+
gem 'puma', '~> 7.0', require: false
1818
end

frameworks/Ruby/rack-sequel/Gemfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ GEM
55
json (2.13.2)
66
nio4r (2.7.4)
77
pg (1.5.9)
8-
puma (6.6.0)
8+
puma (7.0.2)
99
nio4r (~> 2.0)
1010
rack (3.2.0)
1111
sequel (5.90.0)
@@ -23,7 +23,7 @@ PLATFORMS
2323
DEPENDENCIES
2424
json (~> 2.8)
2525
pg (~> 1.5)
26-
puma (~> 6.5)
26+
puma (~> 7.0)
2727
rack (~> 3.1)
2828
sequel (~> 5.0)
2929
sequel_pg (~> 1.6)

frameworks/Ruby/rack-sequel/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ a variety of web platforms.
1313
The tests will be run with:
1414

1515
* [Ruby 3.4](http://www.ruby-lang.org)
16-
* [Puma 6](http://puma.io)
16+
* [Puma 7](http://puma.io)
1717
* [Rack 3](http://rack.rubyforge.org)
1818
* [Sequel 5](http://sequel.jeremyevans.net)
1919
* [MySQL 5.5](https://www.mysql.com)

frameworks/Ruby/rack-sequel/config/mri_puma.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,7 @@
55

66
workers num_workers
77
threads num_threads, num_threads
8+
9+
before_fork do
10+
Sequel::DATABASES.each(&:disconnect)
11+
end

0 commit comments

Comments
 (0)