diff options
author | David RodrÃguez <[email protected]> | 2019-07-24 13:30:56 +0200 |
---|---|---|
committer | Hiroshi SHIBATA <[email protected]> | 2019-08-03 09:29:59 +0900 |
commit | 4e76aef280f8440a9e499a05a2d74e6f2ba7cdd6 () | |
tree | 93ba060fa184bc8f0025d4d5c127e37ad2332fd5 /lib/bundler/cli/outdated.rb | |
parent | e33dd659d43ec2302648c04fcec208b1c0f98ed9 (diff) |
[bundler/bundler] Move `options_include_groups` to an attribute
Co-authored-by: Guillermo Guerrero <[email protected]> Co-authored-by: David RodrÃguez <[email protected]> https://.com/bundler/bundler/commit/832fb900f0
-rw-r--r-- | lib/bundler/cli/outdated.rb | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -2,11 +2,15 @@ module Bundler class CLI::Outdated - attr_reader :options, :gems def initialize(options, gems) @options = options @gems = gems end def run @@ -115,10 +119,6 @@ module Bundler end end - options_include_groups = [:group, :groups].select do |v| - options.keys.include?(v.to_s) - end - if options_include_groups.any? ordered_groups = outdated_gems_by_groups.keys.compact.sort [nil, ordered_groups].flatten.each do |groups| |