summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorCarlos Palhares <chjunior@gmail.com>2021-10-25 16:25:46 -0300
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2021-11-02 10:24:35 +0900
commit38785aa3b9ec7356d6c8ad32242c28fd04ccafcf (patch)
treecf5dd7fa46a459b016cac656a3d8ab4f4d7cf3cc /lib
parent17f8fd656818d62ab18027dc21e463768e1a9b54 (diff)
Update licenses= documentation
Diffstat (limited to 'lib')
-rw-r--r--lib/rubygems/specification.rb14
1 files changed, 9 insertions, 5 deletions
diff --git a/lib/rubygems/specification.rb b/lib/rubygems/specification.rb
index bafc5e2619..d684ff0ced 100644
--- a/lib/rubygems/specification.rb
+++ b/lib/rubygems/specification.rb
@@ -324,17 +324,21 @@ class Gem::Specification < Gem::BasicSpecification
# 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=