From c3b34b1693e7b35841d87dae0dce8ccecebe9008 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Thu, 20 Jan 2022 18:34:16 +0000 Subject: require Ruby 2.3+ This allows us to jettison a bunch of compatibility code since we've started using Etc.nprocessors and String#- (uminus) in more places. The Ruby core team doesn't support <= 2.5, even. --- bin/dtas-readahead | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'bin/dtas-readahead') diff --git a/bin/dtas-readahead b/bin/dtas-readahead index 3eedd86..a1971bd 100755 --- a/bin/dtas-readahead +++ b/bin/dtas-readahead @@ -1,5 +1,5 @@ #!/usr/bin/env ruby -# Copyright (C) 2015-2020 all contributors +# Copyright (C) all contributors # License: GPL-3.0+ # frozen_string_literal: true # @@ -18,7 +18,6 @@ require 'dtas/unix_client' require 'dtas/process' include DTAS::Process -include DTAS::SpawnFix trap(:CHLD) { DTAS::Process.reaper {} } trap(:INT) { exit(0) } trap(:TERM) { exit(0) } -- cgit v1.2.3-24-ge0c7