diff options
author | svn <svn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-05-30 13:01:37 +0000 |
---|---|---|
committer | svn <svn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-05-30 13:01:37 +0000 |
commit | 50181419748c6eb72aa6aa76d308e662fe53545f (patch) | |
tree | 6ac904e811093683c4e611fac2b7f98aedcf2095 /lib/rubygems/specification_policy.rb | |
parent | 8da8d4b043c37b53a69803c71ff36b478d4776d0 (diff) |
* remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63529 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rubygems/specification_policy.rb')
-rw-r--r-- | lib/rubygems/specification_policy.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rubygems/specification_policy.rb b/lib/rubygems/specification_policy.rb index a05edcd5c9..cb8457ed62 100644 --- a/lib/rubygems/specification_policy.rb +++ b/lib/rubygems/specification_policy.rb @@ -268,14 +268,14 @@ open-ended dependency on #{dep} is not recommended def validate_self_inclusion_in_files_list return unless files.include?(file_name) - + raise Gem::InvalidSpecificationException, "#{full_name} contains itself (#{file_name}), check your files list" end def validate_specification_version return if specification_version.is_a?(Integer) - + raise Gem::InvalidSpecificationException, 'specification_version must be an Integer (did you mean version?)' end |