example/config.ru in puma-daemon-0.2.2 vs example/config.ru in puma-daemon-0.2.3
- old
+ new
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
# config.ru
-run Proc.new { |_env| ['200', {'Content-Type' => 'text/html'}, ['Hello World']] }
+run(proc { |*| ['200', { 'Content-Type' => 'text/html' }, ['Hello World']] })
# run this with rackup command