File tree Expand file tree Collapse file tree 1 file changed +0
-27
lines changed Expand file tree Collapse file tree 1 file changed +0
-27
lines changed Original file line number Diff line number Diff line change @@ -735,14 +735,6 @@ def extensions_dir
735735
736736 attr_accessor :autorequire # :nodoc:
737737
738- ##
739- # Sets the default executable for this gem.
740- #
741- # Deprecated: You must now specify the executable name to Gem.bin_path.
742-
743- attr_writer :default_executable
744- rubygems_deprecate :default_executable=
745-
746738 ##
747739 # Allows deinstallation of gems with legacy platforms.
748740
@@ -1714,24 +1706,6 @@ def date=(date)
17141706 end
17151707 end
17161708
1717- ##
1718- # The default executable for this gem.
1719- #
1720- # Deprecated: The name of the gem is assumed to be the name of the
1721- # executable now. See Gem.bin_path.
1722-
1723- def default_executable # :nodoc:
1724- if defined? ( @default_executable ) && @default_executable
1725- result = @default_executable
1726- elsif @executables && @executables . size == 1
1727- result = Array ( @executables ) . first
1728- else
1729- result = nil
1730- end
1731- result
1732- end
1733- rubygems_deprecate :default_executable
1734-
17351709 ##
17361710 # The default value for specification attribute +name+
17371711
@@ -2429,7 +2403,6 @@ def to_ruby
24292403 :specification_version ,
24302404 :version ,
24312405 :has_rdoc ,
2432- :default_executable ,
24332406 :metadata ,
24342407 :signing_key ,
24352408 ]
You can’t perform that action at this time.
0 commit comments