We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 99a2e99 + 937b93f commit 35958b5Copy full SHA for 35958b5
CHANGELOG.md
@@ -6,6 +6,7 @@
6
7
* Support Rails 8.1 scaffolding which disables system tests by default. #585 @flavorjones
8
* Puma plugin now has experimental support for Rails engines. #567 @bopm
9
+* Puma plugin uses Puma 7's `after_stopped` callback, quashing a deprecation warning. #578 @rono23
10
11
12
## v4.3.0 / 2025-07-06
lib/puma/plugin/tailwindcss.rb
@@ -20,7 +20,11 @@ def start(launcher)
20
end
21
22
23
- launcher.events.on_stopped { stop_tailwind }
+ if Gem::Version.new(Puma::Const::PUMA_VERSION) >= Gem::Version.new("7")
24
+ launcher.events.after_stopped { stop_tailwind }
25
+ else
26
+ launcher.events.on_stopped { stop_tailwind }
27
+ end
28
29
in_background do
30
monitor_tailwind
0 commit comments