[前][次][番号順一覧][スレッド一覧]

ruby-changes:71415

From: Nobuyoshi <ko1@a...>
Date: Tue, 15 Mar 2022 01:18:18 +0900 (JST)
Subject: [ruby-changes:71415] 41d63d3130 (master): [rubygems/rubygems] Move `:stopdoc:` directive

https://git.ruby-lang.org/ruby.git/commit/?id=41d63d3130

From 41d63d3130acae4f1ba139522062479cf4ce5381 Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Sun, 13 Mar 2022 00:51:47 +0900
Subject: [rubygems/rubygems] Move `:stopdoc:` directive

If this is at the top level, it stops the documentation of the
entire module, but not only the part in this file.

https://github.com/rubygems/rubygems/commit/34e8c1ee06
---
 lib/rubygems/compatibility.rb | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/lib/rubygems/compatibility.rb b/lib/rubygems/compatibility.rb
index f1d452ea04..b4c1ef16fa 100644
--- a/lib/rubygems/compatibility.rb
+++ b/lib/rubygems/compatibility.rb
@@ -1,5 +1,4 @@ https://github.com/ruby/ruby/blob/trunk/lib/rubygems/compatibility.rb#L1
 # frozen_string_literal: true
-# :stopdoc:
 
 #--
 # This file contains all sorts of little compatibility hacks that we've
@@ -8,10 +7,13 @@ https://github.com/ruby/ruby/blob/trunk/lib/rubygems/compatibility.rb#L7
 #
 # Ruby 1.9.x has introduced some things that are awkward, and we need to
 # support them, so we define some constants to use later.
+#
+# TODO remove at RubyGems 4
 #++
 
-# TODO remove at RubyGems 4
 module Gem
+  # :stopdoc:
+
   RubyGemsVersion = VERSION
   deprecate_constant(:RubyGemsVersion)
 
-- 
cgit v1.2.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]