We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
map
to_h
1 parent 6527bef commit 3ff18daCopy full SHA for 3ff18da
lib/spoom/context/bundle.rb
@@ -48,7 +48,7 @@ def gemfile_lock_specs
48
return {} unless file?("Gemfile.lock")
49
50
parser = Bundler::LockfileParser.new(read_gemfile_lock)
51
- parser.specs.map { |spec| [spec.name, spec] }.to_h
+ parser.specs.to_h { |spec| [spec.name, spec] }
52
end
53
54
# Get `gem` version from the `Gemfile.lock` content
0 commit comments