diff options
-rw-r--r-- | lib/rubygems/ext/build_error.rb | 2 | ||||
-rw-r--r-- | lib/rubygems/specification_policy.rb | 14 | ||||
-rw-r--r-- | test/rubygems/test_gem_specification.rb | 31 |
3 files changed, 47 insertions, 0 deletions
@@ -2,5 +2,7 @@ ## # Raised when there is an error while building extensions. class Gem::Ext::BuildError < Gem::InstallError end @@ -1,3 +1,4 @@ require 'rubygems/user_interaction' class Gem::SpecificationPolicy @@ -76,6 +77,8 @@ class Gem::SpecificationPolicy validate_dependencies validate_removed_attributes if @warnings > 0 @@ -417,6 +420,17 @@ http://spdx.org/licenses or '#{Gem::Licenses::NONSTANDARD}' for a nonstandard li end end def warning(statement) # :nodoc: @warnings += 1 @@ -2838,6 +2838,37 @@ duplicate dependency on c (>= 1.2.3, development), (~> 1.2) use: end end def test_validate_description util_setup_validate |