method
filtered_specs_by_groups

v2_6_3 -
Show latest stable
-
0 notes -
Class: List
- 1_8_6_287
- 1_8_7_72
- 1_8_7_330
- 1_9_1_378
- 1_9_2_180
- 1_9_3_125
- 1_9_3_392
- 2_1_10
- 2_2_9
- 2_4_6
- 2_5_5
- 2_6_3 (0)
- What's this?
filtered_specs_by_groups()
private
Hide source
# File lib/bundler/cli/list.rb, line 40 def filtered_specs_by_groups definition = Bundler.definition groups = definition.groups verify_group_exists(groups) show_groups = if @options["without-group"] groups.reject {|g| g == @options["without-group"].to_sym } elsif @options["only-group"] groups.select {|g| g == @options["only-group"].to_sym } else groups end.map(&:to_sym) definition.specs_for(show_groups) end