aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bundler/lazy_specification.rb
diff options
context:
space:
mode:
authorSamuel E. Giddins <segiddins@segiddins.me>2015-07-15 20:51:16 -0700
committerSamuel E. Giddins <segiddins@segiddins.me>2015-07-15 20:51:16 -0700
commitaf694073229af89af205d24ff449f51f74316a37 (patch)
tree5258cd3a3832bcc21eaa3249c99cdf410a8f9d0a /lib/bundler/lazy_specification.rb
parentc85c0c9c642dcdccb7d769d7d9a56d51ad314915 (diff)
downloadbundler-af694073229af89af205d24ff449f51f74316a37.tar.gz
[RuboCop] Enable Style/SymbolProc
Diffstat (limited to 'lib/bundler/lazy_specification.rb')
-rw-r--r--lib/bundler/lazy_specification.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/lazy_specification.rb b/lib/bundler/lazy_specification.rb
index e8f73095..43d9dc99 100644
--- a/lib/bundler/lazy_specification.rb
+++ b/lib/bundler/lazy_specification.rb
@@ -41,7 +41,7 @@ module Bundler
out = " #{name} (#{version}-#{platform})\n"
end
- dependencies.sort_by {|d| d.to_s }.uniq.each do |dep|
+ dependencies.sort_by(&:to_s).uniq.each do |dep|
next if dep.type == :development
out << " #{dep.to_lock}\n"
end