From bed42f3be756eaa3c660169f2de437cacd934e6e Mon Sep 17 00:00:00 2001 From: Nate Berkopec Date: Thu, 27 Feb 2020 14:19:43 -0600 Subject: [PATCH] Remove worker_directory config --- History.md | 1 + lib/puma/dsl.rb | 6 ------ 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/History.md b/History.md index aa84ca2913..e2f17dab7b 100644 --- a/History.md +++ b/History.md @@ -9,6 +9,7 @@ * Add `requests_count` to workers stats. (#2106) * Changed #connected_port to #connected_ports (#2076) * `--control` has been removed. Use `--control-url` (#1487) + * `worker_directory` has been removed. Use `directory` * Bugfixes * Windows update extconf.rb for use with ssp and varied Ruby/MSYS2 combinations (#2069) diff --git a/lib/puma/dsl.rb b/lib/puma/dsl.rb index d2d97620f3..064ca26560 100644 --- a/lib/puma/dsl.rb +++ b/lib/puma/dsl.rb @@ -536,12 +536,6 @@ def directory(dir) @options[:directory] = dir.to_s end - # DEPRECATED: The directory to operate out of. - def worker_directory(dir) - $stderr.puts "worker_directory is deprecated. Please use `directory`" - directory dir - end - # Run the app as a raw TCP app instead of an HTTP rack app. def tcp_mode @options[:mode] = :tcp