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: X-Spam-Status: No, score=-4.2 required=3.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, T_SCC_BODY_TEXT_LINE shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 61FE81F59D; Sat, 3 Sep 2022 09:27:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=80x24.org; s=selector1; t=1662197261; bh=FUhR8Dd9KkJ8mx507WNrjuajTgV8FW7nozsnoRyrGfM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=SOuKe2P5DRvcYvDcoRqlysPvs+FvTsTgrJywLMB1TSXoYVGe+7wjgb5N839cLokel 9uZ1vDnFAkPv6mtKvCKFRJXi34v2xCHWFMQpAVBoW3L5Rmd7bq02Ww2KcT95kB/TLR HnYZijDzWHycEHjf/EmjtrvblOmxJamXv7oGclwU= From: Eric Wong To: mwrap-public@80x24.org Cc: Sam Saffron Subject: [PATCH 1/3] extconf.rb: avoid RDoc errors during gem install Date: Sat, 3 Sep 2022 09:27:39 +0000 Message-Id: <20220903092741.2284559-2-e@80x24.org> In-Reply-To: <20220903092741.2284559-1-e@80x24.org> References: <20220903092741.2284559-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: RDoc doesn't seem to like <<'' (blank line) as a heredoc terminator. That said, RDoc scanning extconf.rb during "gem install" is unexpected and make no sense to me. Normal `rdoc' invocations seem to ignore extconf.rb. --- ext/mwrap/extconf.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ext/mwrap/extconf.rb b/ext/mwrap/extconf.rb index 512ab82..1828407 100644 --- a/ext/mwrap/extconf.rb +++ b/ext/mwrap/extconf.rb @@ -11,15 +11,15 @@ have_library 'dl' have_library 'c' have_library 'execinfo' # FreeBSD -if try_link(<<'') +if try_link(<