From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS22989 209.51.188.0/24 X-Spam-Status: No, score=-3.9 required=3.0 tests=AWL,BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 334941F852 for ; Thu, 20 Jan 2022 23:33:54 +0000 (UTC) Received: from localhost ([::1]:36132 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nAgwC-00027Q-Rx for e@80x24.org; Thu, 20 Jan 2022 18:33:52 -0500 Received: from eggs.gnu.org ([209.51.188.92]:49566) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nAcGV-0003F7-B4 for dtas-all@nongnu.org; Thu, 20 Jan 2022 13:34:31 -0500 Received: from dcvr.yhbt.net ([64.71.152.64]:47230) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nAcGS-0004jp-Ok for dtas-all@nongnu.org; Thu, 20 Jan 2022 13:34:30 -0500 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 107051F852 for ; Thu, 20 Jan 2022 18:34:20 +0000 (UTC) From: Eric Wong To: dtas-all@nongnu.org Subject: [PATCH 0/4] require Ruby 2.3+, support Ruby 3.1 Date: Thu, 20 Jan 2022 18:34:15 +0000 Message-Id: <20220120183419.2214-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=64.71.152.64; envelope-from=e@80x24.org; helo=dcvr.yhbt.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: dtas-all@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: duct tape audio suite List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dtas-all-bounces+e=80x24.org@nongnu.org Sender: "dtas-all" I figure most workstation and laptop users will have Ruby 2.3+ by now, since the Ruby core team doesn't even support 2.5. In any case, old versions of dtas remain available for users of old Rubies; but AFAIK dtas hardly has users atm and isn't likely to gain more. Psych 4.x (YAML) distributed with Ruby 3.1 breaks some subtle cases for us so 4/4 fixes them. Eric Wong (4): require Ruby 2.3+ get rid of DTAS.dedupe_str wrapper move dtas-graph into script/, support Perl for dtas.sh use YAML.unsafe_load in Psych 4.x (Ruby 3.1+) bin/dtas-console | 4 ++-- bin/dtas-msinkctl | 4 ++-- bin/dtas-partstats | 12 +++--------- bin/dtas-readahead | 11 +++++------ bin/dtas-sinkedit | 7 +++---- bin/dtas-sourceedit | 7 +++---- bin/dtas-splitfx | 6 +++--- bin/dtas-tl | 4 ++-- dtas.gemspec | 4 ++-- dtas.sh | 7 ++++--- lib/dtas.rb | 28 ++++++---------------------- lib/dtas/compat_onenine.rb | 17 ----------------- lib/dtas/fadefx.rb | 4 ++-- lib/dtas/mlib.rb | 12 +++++------- lib/dtas/partstats.rb | 5 ++--- lib/dtas/pipeline.rb | 5 +---- lib/dtas/player.rb | 4 ++-- lib/dtas/player/client_handler.rb | 6 +++--- lib/dtas/process.rb | 3 +-- lib/dtas/rg_state.rb | 4 ++-- lib/dtas/source/av_ff_common.rb | 6 +++--- lib/dtas/source/sox.rb | 6 +++--- lib/dtas/source/splitfx.rb | 4 ++-- lib/dtas/spawn_fix.rb | 10 ---------- lib/dtas/state_file.rb | 4 ++-- lib/dtas/watchable/fiddle_ino.rb | 4 ++-- {perl => script}/dtas-graph | 2 +- test/test_encoding.rb | 4 ++-- test/test_format_change.rb | 4 ++-- test/test_player_client_handler.rb | 4 ++-- test/test_player_integration.rb | 15 +++++++-------- test/test_rg_integration.rb | 18 +++++++++--------- test/test_sink.rb | 4 ++-- test/test_splitfx.rb | 6 ++---- test/test_tfx.rb | 4 ++-- 35 files changed, 94 insertions(+), 155 deletions(-) delete mode 100644 lib/dtas/compat_onenine.rb delete mode 100644 lib/dtas/spawn_fix.rb rename {perl => script}/dtas-graph (97%)