ruby-changes:70065
From: Nobuyoshi <ko1@a...>
Date: Sun, 5 Dec 2021 19:24:24 +0900 (JST)
Subject: [ruby-changes:70065] 19f037e452 (master): More indentation in NEWS.md [ci skip]
https://git.ruby-lang.org/ruby.git/commit/?id=19f037e452 From 19f037e452555354a6eddf78ca2ddbcb3bacb2e7 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Sun, 5 Dec 2021 19:08:25 +0900 Subject: More indentation in NEWS.md [ci skip] The current Markdown implementation of RDoc requires list contents to be indented 4 columns except for the first paragraph. Maybe fixed as other implementations in the future. --- NEWS.md | 178 ++++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 89 insertions(+), 89 deletions(-) diff --git a/NEWS.md b/NEWS.md index 5e7368002c4..8dcb5e40270 100644 --- a/NEWS.md +++ b/NEWS.md @@ -7,8 +7,8 @@ Note that each entry is kept to a minimum, see links for details. https://github.com/ruby/ruby/blob/trunk/NEWS.md#L7 ## Language changes -* The block arguments can be now be anonymous, if the block will - only be passed to another method. [[Feature #11256]] +* The block arguments can be now be anonymous, if the block will + only be passed to another method. [[Feature #11256]] ```ruby def foo(&) @@ -16,15 +16,15 @@ Note that each entry is kept to a minimum, see links for details. https://github.com/ruby/ruby/blob/trunk/NEWS.md#L16 end ``` -* Pin operator now takes an expression. [[Feature #17411]] +* Pin operator now takes an expression. [[Feature #17411]] ```ruby Prime.each_cons(2).lazy.find_all{_1 in [n, ^(n + 2)]}.take(3).to_a #=> [[3, 5], [5, 7], [11, 13]] ``` -* Pin operator now supports instance, class, and global variables. - [[Feature #17724]] +* Pin operator now supports instance, class, and global variables. + [[Feature #17724]] ```ruby @n = 5 @@ -32,11 +32,11 @@ Note that each entry is kept to a minimum, see links for details. https://github.com/ruby/ruby/blob/trunk/NEWS.md#L32 #=> [3, 5] ``` -* One-line pattern matching is no longer experimental. +* One-line pattern matching is no longer experimental. -* Multiple assignment evaluation order has been made consistent with - single assignment evaluation order. With single assignment, Ruby - uses a left-to-right evaluation order. With this code: +* Multiple assignment evaluation order has been made consistent with + single assignment evaluation order. With single assignment, Ruby + uses a left-to-right evaluation order. With this code: ```ruby foo[0] = bar @@ -78,22 +78,22 @@ Note that each entry is kept to a minimum, see links for details. https://github.com/ruby/ruby/blob/trunk/NEWS.md#L78 [[Bug #4443]] -* Values in Hash literals and keyword arguments can be omitted. - [[Feature #14579]] +* Values in Hash literals and keyword arguments can be omitted. + [[Feature #14579]] - For example, + For example, * `{x:, y:}` is a syntax sugar of `{x: x, y: y}`. * `foo(x:, y:)` is a syntax sugar of `foo(x: x, y: y)`. - Constant names, local variable names, and method names are allowed as - key names. Note that a reserved word is considered as a local - variable or method name even if it's a pseudo variable name such as - `self`. + Constant names, local variable names, and method names are allowed as + key names. Note that a reserved word is considered as a local + variable or method name even if it's a pseudo variable name such as + `self`. -* non main-Ractors can get instance variables (ivars) of classes/modules - if ivars refer to shareable objects. - [[Feature #17592]] +* non main-Ractors can get instance variables (ivars) of classes/modules + if ivars refer to shareable objects. + [[Feature #17592]] ## Command line options @@ -259,76 +259,76 @@ Outstanding ones only. https://github.com/ruby/ruby/blob/trunk/NEWS.md#L259 ## Stdlib updates -* The following default gem are updated. - * RubyGems - * Bundler - * RDoc 6.3.2 - * ReLine - * JSON 2.6.1 - * Psych 4.0.2 - * FileUtils 1.6.0 - * Fiddle 1.1.0 - * StringIO 3.0.1 - * IO::Console 0.5.9 - * IO::Wait 0.2.0 - * CSV 3.2.1 - * Etc 1.3.0 - * Date 3.2.0 - * Zlib 2.1.1 - * StringScanner 3.0.1 - * IpAddr 1.2.2 - * Logger 1.4.4 - * OStruct 0.5.0 - * Irb - * Racc 1.6.0 - * Delegate 0.2.0 - * Benchmark 0.2.0 - * CGI 0.3.0 - * Readline(C-ext) 0.1.3 - * Timeout 0.2.0 - * YAML 0.2.0 - * URI 0.11.0 - * OpenSSL - * DidYouMean - * Weakref 0.1.1 - * Tempfile 0.1.2 - * TmpDir 0.1.2 - * English 0.7.1 - * Net::Protocol 0.1.2 - * Net::Http 0.2.0 - * BigDecimal - * OptionParser 0.2.0 - * Set 1.0.1 - * Find 0.1.1 - * Rinda 0.1.1 - * Erb 2.2.3 - * NKF 0.1.1 - * Base64 0.1.1 - * OpenUri 0.2.0 - * SecureRandom 0.1.1 - * Resolv 0.2.1 - * Resolv::Replace 0.1.0 - * Time 0.2.0 - * PP 0.2.1 - * Prettyprint 0.1.1 - * Drb 2.1.0 - * Pathname 0.2.0 - * Digest 3.1.0.pre2 - * Un 0.2.0 -* The following bundled gems are updated. - * minitest 5.14.4 - * power_assert 2.0.1 - * rake 13.0.6 - * test-unit 3.5.0 - * rbs 1.6.2 - * typeprof 0.20.2 -* The following default gems are now bundled gems. - * net-ftp - * net-imap - * net-pop - * net-smtp - * matrix - * prime +* The following default gem are updated. + * RubyGems + * Bundler + * RDoc 6.3.2 + * ReLine + * JSON 2.6.1 + * Psych 4.0.2 + * FileUtils 1.6.0 + * Fiddle 1.1.0 + * StringIO 3.0.1 + * IO::Console 0.5.9 + * IO::Wait 0.2.0 + * CSV 3.2.1 + * Etc 1.3.0 + * Date 3.2.0 + * Zlib 2.1.1 + * StringScanner 3.0.1 + * IpAddr 1.2.2 + * Logger 1.4.4 + * OStruct 0.5.0 + * Irb + * Racc 1.6.0 + * Delegate 0.2.0 + * Benchmark 0.2.0 + * CGI 0.3.0 + * Readline(C-ext) 0.1.3 + * Timeout 0.2.0 + * YAML 0.2.0 + * URI 0.11.0 + * OpenSSL + * DidYouMean + * Weakref 0.1.1 + * Tempfile 0.1.2 + * TmpDir 0.1.2 + * English 0.7.1 + * Net::Protocol 0.1.2 + * Net::Http 0.2.0 + * BigDecimal + * OptionParser 0.2.0 + * Set 1.0.1 + * Find 0.1.1 + * Rinda 0.1.1 + * Erb 2.2.3 + * NKF 0.1.1 + * Base64 0.1.1 + * OpenUri 0.2.0 + * SecureRandom 0.1.1 + * Resolv 0.2.1 + * Resolv::Replace 0.1.0 + * Time 0.2.0 + * PP 0.2.1 + * Prettyprint 0.1.1 + * Drb 2.1.0 + * Pathname 0.2.0 + * Digest 3.1.0.pre2 + * Un 0.2.0 +* The following bundled gems are updated. + * minitest 5.14.4 + * power_assert 2.0.1 + * rake 13.0.6 + * test-unit 3.5.0 + * rbs 1.6.2 + * typeprof 0.20.2 +* The following default gems are now bundled gems. + * net-ftp + * net-imap + * net-pop + * net-smtp + * matrix + * prime ## Compatibility issues -- cgit v1.2.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/