aboutsummaryrefslogtreecommitdiffstats
path: root/lib/rubygems/specification_policy.rb
diff options
context:
space:
mode:
authorbronzdoc <lsagastume1990@gmail.com>2019-07-31 06:33:40 -0600
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2019-08-05 18:44:53 +0900
commit87bc29fe28654ed6b42e87337806ce40cecbe513 (patch)
treef0a89d070769728b57636ffd09fe0d0af026ec4b /lib/rubygems/specification_policy.rb
parent8eb2921f568f0ebc1a0f61b45297c77516f602b5 (diff)
downloadruby-87bc29fe28654ed6b42e87337806ce40cecbe513.tar.gz
[rubygems/rubygems] Revert cadb66037d9b58c80fc795f39384d533229a1f73
https://github.com/rubygems/rubygems/commit/5c3158d975
Diffstat (limited to 'lib/rubygems/specification_policy.rb')
-rw-r--r--lib/rubygems/specification_policy.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/rubygems/specification_policy.rb b/lib/rubygems/specification_policy.rb
index 8413c87ea7..24c1145907 100644
--- a/lib/rubygems/specification_policy.rb
+++ b/lib/rubygems/specification_policy.rb
@@ -369,6 +369,9 @@ http://spdx.org/licenses or '#{Gem::Licenses::NONSTANDARD}' for a nonstandard li
warning "description and summary are identical"
end
+ # TODO: raise at some given date
+ warning "deprecated autorequire specified" if autorequire
+
executables.each do |executable|
validate_shebang_line_in(executable)
end