diff options
author | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-11-21 23:27:30 +0000 |
---|---|---|
committer | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-11-21 23:27:30 +0000 |
commit | 5307d803f5cce7b14a6afd1d51f6d53ec85ca87d (patch) | |
tree | aac2997a9ff000fbf2f1f9f27077bb7b2403f2c9 /lib/rubygems/specification.rb | |
parent | b1529a30e08040b717adef8ac1fa8be1c060e7e1 (diff) | |
download | ruby-5307d803f5cce7b14a6afd1d51f6d53ec85ca87d.tar.gz |
* lib/rubygems: Update to RubyGems master 50a8210. Important changes
in this commit:
RubyGems now automatically checks for gem.deps.rb or Gemfile when
running ruby executables. This behavior is similar to `bundle exec
rake`. This change may be reverted before Ruby 2.1.0 if too many bugs
are found.
* test/rubygems: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43767 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rubygems/specification.rb')
-rw-r--r-- | lib/rubygems/specification.rb | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/lib/rubygems/specification.rb b/lib/rubygems/specification.rb index b95e2c0699..22e2981198 100644 --- a/lib/rubygems/specification.rb +++ b/lib/rubygems/specification.rb @@ -27,6 +27,7 @@ class Date; end # Gem::Specification.new do |s| # s.name = 'example' # s.version = '0.1.0' +# s.licenses = ['MIT'] # s.summary = "This is an example!" # s.description = "Much longer explanation of the example!" # s.authors = ["Ruby Coder"] @@ -530,6 +531,7 @@ class Gem::Specification < Gem::BasicSpecification end ## + # :category: Recommended gemspec attributes # The license for this gem. # # The license must be a short name, no more than 64 characters. @@ -538,7 +540,12 @@ class Gem::Specification < Gem::BasicSpecification # text of the license should be inside of the gem when you build it. # # See http://opensource.org/licenses/alphabetical for a list of licenses and - # their abbreviations (or short names). + # their abbreviations (or short names). GitHub also provides a + # license picker at http://choosealicense.com/ + # + # According to copyright law, not having an OSI-approved open source license + # means you have no rights to use the code for any purpose-- in other words, + # "all rights reserved". # # You can set multiple licenses with #licenses= # @@ -550,6 +557,7 @@ class Gem::Specification < Gem::BasicSpecification end ## + # :category: Recommended gemspec attributes # The license(s) for the library. # # Each license must be a short name, no more than 64 characters. @@ -2526,8 +2534,8 @@ class Gem::Specification < Gem::BasicSpecification } warning <<-warning if licenses.empty? -licenses is empty. Use a license abbreviation from: - http://opensource.org/licenses/alphabetical +licenses is empty, but is recommended. Use a license abbreviation from: +http://opensource.org/licenses/alphabetical warning validate_permissions |