diff --git a/History.md b/History.md index aa84ca29..e2f17dab 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 d2d97620..064ca265 100644 --- a/lib/puma/dsl.rb +++ b/lib/puma/dsl.rb @@ -536,12 +536,6 @@ module Puma @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