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

ruby-changes:59408

From: Marcus <ko1@a...>
Date: Mon, 23 Dec 2019 18:05:20 +0900 (JST)
Subject: [ruby-changes:59408] bbde77cd26 (master): NEWS: fix some typos, grammar, and language

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

From bbde77cd2694e87646842777e873d849bbf5703e Mon Sep 17 00:00:00 2001
From: Marcus Stollsteimer <sto.mar@w...>
Date: Mon, 23 Dec 2019 09:46:08 +0100
Subject: NEWS: fix some typos, grammar, and language


diff --git a/NEWS b/NEWS
index 5a4e0ed..cba1b1f 100644
--- a/NEWS
+++ b/NEWS
@@ -63,10 +63,10 @@ sufficient information, see the ChangeLog file or Redmine https://github.com/ruby/ruby/blob/trunk/NEWS#L63
   deprecated, and conversion will be removed in Ruby 3.  [Feature #14183]
 
   * When a method call passes a Hash at the last argument, and when it
-    passes no keywords, and when the called method accepts keywords, a
-    warning is emitted.  To continue treating as keywords, add a double
-    splat operator to avoid the warning and ensure correct behavior in
-    Ruby 3.
+    passes no keywords, and when the called method accepts keywords,
+    a warning is emitted.  To continue treating the hash as keywords,
+    add a double splat operator to avoid the warning and ensure
+    correct behavior in Ruby 3.
 
       def foo(key: 42); end; foo({key: 42})   # warned
       def foo(**kw);    end; foo({key: 42})   # warned
@@ -100,7 +100,7 @@ sufficient information, see the ChangeLog file or Redmine https://github.com/ruby/ruby/blob/trunk/NEWS#L100
 
       def foo(opt={});  end; foo( key: 42 )   # OK
 
-* Non-symbols are allowed as a keyword argument keys if method accepts
+* Non-symbols are allowed as keyword argument keys if the method accepts
   arbitrary keywords. [Feature #14183]
 
   * Non-Symbol keys in a keyword arguments hash were prohibited in 2.6.0,
@@ -160,7 +160,7 @@ sufficient information, see the ChangeLog file or Redmine https://github.com/ruby/ruby/blob/trunk/NEWS#L160
 ==== Other miscellaneous changes
 
 * A beginless range is experimentally introduced.  It might not be as useful
-  as an endless range, but would be good for DSL purpose.  [Feature #14799]
+  as an endless range, but would be good for DSL purposes.  [Feature #14799]
 
      ary[..3]  # identical to ary[0..3]
      where(sales: ..100)
@@ -382,7 +382,7 @@ NilClass / TrueClass / FalseClass:: https://github.com/ruby/ruby/blob/trunk/NEWS#L382
 
   Modified methods::
 
-    * NilClass#to_s, TrueClass#to_s and FalseClass#to_s now always return a
+    * NilClass#to_s, TrueClass#to_s, and FalseClass#to_s now always return a
       frozen String. The returned String is always the same for each of these
       values. This change is experimental. [Feature #16150]
 
@@ -599,7 +599,7 @@ RSS:: https://github.com/ruby/ruby/blob/trunk/NEWS#L599
 
 RubyGems::
 
-  * Upgrade to RubyGems 3.1.1
+  * Upgrade to RubyGems 3.1.1.
     See https://github.com/rubygems/rubygems/releases/tag/v3.1.0
 
 StringScanner::
@@ -630,7 +630,7 @@ Range:: https://github.com/ruby/ruby/blob/trunk/NEWS#L630
 === Stdlib compatibility issues (excluding feature bug fixes)
 
 * Promote stdlib to default gems
-  * The following default gems are also published at rubygems.org
+  * The following default gems were published on rubygems.org
     * benchmark
     * cgi
     * delegate
@@ -640,7 +640,8 @@ Range:: https://github.com/ruby/ruby/blob/trunk/NEWS#L640
     * open3
     * pstore
     * singleton
-  * The following default gems only promoted ruby-core, Not yet published at rubygems.org.
+  * The following default gems were only promoted at ruby-core,
+    but not yet published on rubygems.org.
     * monitor
     * observer
     * timeout
@@ -711,9 +712,9 @@ JIT:: https://github.com/ruby/ruby/blob/trunk/NEWS#L712
   * Method inlining is performed when a method is considered as pure.
     This optimization is still experimental and many methods are NOT considered as pure yet.
 
-  * Default value of +--jit-max-cache+ is changed from 1,000 to 100
+  * The default value of +--jit-max-cache+ is changed from 1,000 to 100.
 
-  * Default value of +--jit-min-calls+ is changed from 5 to 10,000
+  * The default value of +--jit-min-calls+ is changed from 5 to 10,000.
 
 RubyVM::InstructionSequence::
 
-- 
cgit v0.10.2


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

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