diff options
author | Eric Wong <bofh@yhbt.net> | 2023-09-05 09:14:11 +0000 |
---|---|---|
committer | Eric Wong <bofh@yhbt.net> | 2024-01-15 01:45:50 +0000 |
commit | d71d3285ea29f0978bd0b35a366a1470ca69be18 (patch) | |
tree | df3f0cef31cc40bb5b6b8fae775ba601db092e41 /lib | |
parent | b652fa51c1342496bdcdecca8e567f1fb46c41c9 (diff) | |
download | unicorn-master.tar.gz |
We actually need Ruby 2.3+ for `accept_nonblock(exception: false)'; and (AFAIK) we can't easily use a subclass of `Socket' while using Socket#accept_nonblock to inject WriteSplat support for `IO#write(*multi_args)' So just depend on Ruby 2.5+ since all my Ruby is already on the already-ancient Ruby 2.7+ anyways.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/unicorn/write_splat.rb | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/unicorn/write_splat.rb b/lib/unicorn/write_splat.rb deleted file mode 100644 index 7e6e363..0000000 --- a/lib/unicorn/write_splat.rb +++ /dev/null @@ -1,7 +0,0 @@ -# -*- encoding: binary -*- -# compatibility module for Ruby <= 2.4, remove when we go Ruby 2.5+ -module Unicorn::WriteSplat # :nodoc: - def write(*arg) # :nodoc: - super(arg.join('')) - end -end |