aboutsummaryrefslogtreecommitdiffstats
path: root/lib/rubygems/specification.rb
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2019-05-03 19:56:58 +0200
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2020-03-30 12:48:23 +0900
commit061add792e658878c839887682716737d9f6d677 (patch)
treeb111148a604c7f2ab09f26b1804a2725d7c19680 /lib/rubygems/specification.rb
parentc16815cca7c223698c11b4c520b75caeb0499f93 (diff)
downloadruby-061add792e658878c839887682716737d9f6d677.tar.gz
[rubygems/rubygems] Enable `Style/ExtraSpacing` and auto-correct
https://github.com/rubygems/rubygems/commit/6fa0b1b679
Diffstat (limited to 'lib/rubygems/specification.rb')
-rw-r--r--lib/rubygems/specification.rb12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/rubygems/specification.rb b/lib/rubygems/specification.rb
index 3a2a6090fd..6c37555dd0 100644
--- a/lib/rubygems/specification.rb
+++ b/lib/rubygems/specification.rb
@@ -720,7 +720,7 @@ class Gem::Specification < Gem::BasicSpecification
# Deprecated: You must now specify the executable name to Gem.bin_path.
attr_writer :default_executable
- deprecate :default_executable=, :none, 2018, 12
+ deprecate :default_executable=, :none, 2018, 12
##
# Allows deinstallation of gems with legacy platforms.
@@ -733,7 +733,7 @@ class Gem::Specification < Gem::BasicSpecification
# Formerly used to set rubyforge project.
attr_writer :rubyforge_project
- deprecate :rubyforge_project=, :none, 2019, 12
+ deprecate :rubyforge_project=, :none, 2019, 12
##
# The Gem::Specification version of this gemspec.
@@ -1725,7 +1725,7 @@ class Gem::Specification < Gem::BasicSpecification
end
result
end
- deprecate :default_executable, :none, 2018, 12
+ deprecate :default_executable, :none, 2018, 12
##
# The default value for specification attribute +name+
@@ -1928,7 +1928,7 @@ class Gem::Specification < Gem::BasicSpecification
def has_rdoc # :nodoc:
true
end
- deprecate :has_rdoc, :none, 2018, 12
+ deprecate :has_rdoc, :none, 2018, 12
##
# Deprecated and ignored.
@@ -1938,10 +1938,10 @@ class Gem::Specification < Gem::BasicSpecification
def has_rdoc=(ignored) # :nodoc:
@has_rdoc = true
end
- deprecate :has_rdoc=, :none, 2018, 12
+ deprecate :has_rdoc=, :none, 2018, 12
alias :has_rdoc? :has_rdoc # :nodoc:
- deprecate :has_rdoc?, :none, 2018, 12
+ deprecate :has_rdoc?, :none, 2018, 12
##
# True if this gem has files in test_files