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

ruby-changes:69560

From: Carlos <ko1@a...>
Date: Tue, 2 Nov 2021 10:45:33 +0900 (JST)
Subject: [ruby-changes:69560] 38785aa3b9 (master): Update licenses= documentation

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

From 38785aa3b9ec7356d6c8ad32242c28fd04ccafcf Mon Sep 17 00:00:00 2001
From: Carlos Palhares <chjunior@g...>
Date: Mon, 25 Oct 2021 16:25:46 -0300
Subject: Update licenses= documentation

---
 lib/rubygems/specification.rb | 14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)

diff --git a/lib/rubygems/specification.rb b/lib/rubygems/specification.rb
index bafc5e26194..d684ff0ced5 100644
--- a/lib/rubygems/specification.rb
+++ b/lib/rubygems/specification.rb
@@ -324,17 +324,21 @@ class Gem::Specification < Gem::BasicSpecification https://github.com/ruby/ruby/blob/trunk/lib/rubygems/specification.rb#L324
   # This should just be the name of your license. The full text of the license
   # should be inside of the gem (at the top level) when you build it.
   #
-  # The simplest way, is to specify the standard SPDX ID
+  # The simplest way is to specify the standard SPDX ID
   # https://spdx.org/licenses/ for the license.
-  # Ideally you should pick one that is OSI (Open Source Initiative)
+  # Ideally, you should pick one that is OSI (Open Source Initiative)
   # http://opensource.org/licenses/alphabetical approved.
   #
-  # The most commonly used OSI approved licenses are MIT and Apache-2.0.
+  # The most commonly used OSI-approved licenses are MIT and Apache-2.0.
   # GitHub also provides a license picker at http://choosealicense.com/.
   #
+  # You can also use a custom license file along with your gemspec and specify
+  # a LicenseRef-<idstring>, where idstring is the name of the file containing
+  # the license text.
+  #
   # You should specify a license for your gem so that people know how they are
-  # permitted to use it, and any restrictions you're placing on it.  Not
-  # specifying a license means all rights are reserved; others have no rights
+  # permitted to use it and any restrictions you're placing on it.  Not
+  # specifying a license means all rights are reserved; others have no right
   # to use the code for any purpose.
   #
   # You can set multiple licenses with #licenses=
-- 
cgit v1.2.1


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

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