aboutsummaryrefslogtreecommitdiffstats
path: root/lib/rubygems
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rubygems')
-rw-r--r--lib/rubygems/specification.rb8
-rw-r--r--lib/rubygems/specification_policy.rb3
2 files changed, 0 insertions, 11 deletions
diff --git a/lib/rubygems/specification.rb b/lib/rubygems/specification.rb
index 7e071623b0..3b0b86230b 100644
--- a/lib/rubygems/specification.rb
+++ b/lib/rubygems/specification.rb
@@ -133,7 +133,6 @@ class Gem::Specification < Gem::BasicSpecification
@@default_value = {
:authors => [],
- :autorequire => nil,
:bindir => 'bin',
:cert_chain => [],
:date => nil,
@@ -707,13 +706,6 @@ class Gem::Specification < Gem::BasicSpecification
alias :activated? :activated
##
- # Autorequire was used by old RubyGems to automatically require a file.
- #
- # Deprecated: It is neither supported nor functional.
-
- attr_accessor :autorequire # :nodoc:
-
- ##
# Sets the default executable for this gem.
#
# Deprecated: You must now specify the executable name to Gem.bin_path.
diff --git a/lib/rubygems/specification_policy.rb b/lib/rubygems/specification_policy.rb
index 24c1145907..8413c87ea7 100644
--- a/lib/rubygems/specification_policy.rb
+++ b/lib/rubygems/specification_policy.rb
@@ -369,9 +369,6 @@ 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