summaryrefslogtreecommitdiff
path: root/lib/rubygems/resolver/lock_specification.rb
diff options
context:
space:
mode:
-rw-r--r--lib/rubygems/resolver/lock_specification.rb6
1 files changed, 3 insertions, 3 deletions
@@ -29,7 +29,7 @@ class Gem::Resolver::LockSpecification < Gem::Resolver::Specification
def install(options = {})
destination = options[:install_dir] || Gem.dir
- if File.exist? File.join(destination, 'specifications', spec.spec_name)
yield nil
return
end
@@ -45,7 +45,7 @@ class Gem::Resolver::LockSpecification < Gem::Resolver::Specification
end
def pretty_print(q) # :nodoc:
- q.group 2, '[LockSpecification', ']' do
q.breakable
q.text "name: #{@name}"
@@ -59,7 +59,7 @@ class Gem::Resolver::LockSpecification < Gem::Resolver::Specification
unless @dependencies.empty?
q.breakable
- q.text 'dependencies:'
q.breakable
q.pp @dependencies
end