diff options
author | bronzdoc <lsagastume1990@gmail.com> | 2019-07-31 06:33:40 -0600 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2019-08-05 18:44:53 +0900 |
commit | 87bc29fe28654ed6b42e87337806ce40cecbe513 (patch) | |
tree | f0a89d070769728b57636ffd09fe0d0af026ec4b /lib/rubygems/specification.rb | |
parent | 8eb2921f568f0ebc1a0f61b45297c77516f602b5 (diff) | |
download | ruby-87bc29fe28654ed6b42e87337806ce40cecbe513.tar.gz |
[rubygems/rubygems] Revert cadb66037d9b58c80fc795f39384d533229a1f73
https://github.com/rubygems/rubygems/commit/5c3158d975
Diffstat (limited to 'lib/rubygems/specification.rb')
-rw-r--r-- | lib/rubygems/specification.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/rubygems/specification.rb b/lib/rubygems/specification.rb index f40b9fd5fc..5aceb8d643 100644 --- a/lib/rubygems/specification.rb +++ b/lib/rubygems/specification.rb @@ -133,6 +133,7 @@ class Gem::Specification < Gem::BasicSpecification @@default_value = { :authors => [], + :autorequire => nil, :bindir => 'bin', :cert_chain => [], :date => nil, @@ -706,6 +707,13 @@ 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. |