summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2019-09-30 18:25:27 +0200
committerDavid Rodríguez <deivid.rodriguez@riseup.net>2019-10-12 16:46:28 +0200
commitcf0ac921e5c2dcfbdeb55155392ca68c10f1fd53 (patch)
tree50f9a7ea92aaffe6349676153b358eb675028f57
parentc004288901687775f68545e3f01750851d5707b3 (diff)
downloadbundler-cf0ac921e5c2dcfbdeb55155392ca68c10f1fd53.tar.gz
Make hash alignment style more diff-friendly
With this, if we rename the hash, we don't have to change the indentation of every entry to keep it consistent.
-rw-r--r--lib/bundler/cli/outdated.rb10
1 files changed, 6 insertions, 4 deletions
diff --git a/lib/bundler/cli/outdated.rb b/lib/bundler/cli/outdated.rb
index 9da8fc8f1d..d69404278a 100644
--- a/lib/bundler/cli/outdated.rb
+++ b/lib/bundler/cli/outdated.rb
@@ -87,10 +87,12 @@ module Bundler
groups = dependency.groups.join(", ")
end
- outdated_gems_list << { :active_spec => active_spec,
- :current_spec => current_spec,
- :dependency => dependency,
- :groups => groups }
+ outdated_gems_list << {
+ :active_spec => active_spec,
+ :current_spec => current_spec,
+ :dependency => dependency,
+ :groups => groups,
+ }
end
if outdated_gems_list.empty?