summaryrefslogtreecommitdiff
path: root/lib/rubygems/specification_policy.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rubygems/specification_policy.rb')
-rw-r--r--lib/rubygems/specification_policy.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rubygems/specification_policy.rb b/lib/rubygems/specification_policy.rb
index 853cca5126..d117120e9a 100644
--- a/lib/rubygems/specification_policy.rb
+++ b/lib/rubygems/specification_policy.rb
@@ -245,13 +245,13 @@ open-ended dependency on #{dep} is not recommended
def validate_self_inclusion_in_files_list
return unless files.include?(file_name)
-
+
error "#{full_name} contains itself (#{file_name}), check your files list"
end
def validate_specification_version
return if specification_version.is_a?(Integer)
-
+
error 'specification_version must be an Integer (did you mean version?)'
end