lib/pact_broker/matrix/repository.rb
# When only one selector is specified, (eg. checking to see if Foo version 2 can be deployed to prod),
# need to look up all integrated pacticipants, and determine their relevant (eg. latest prod) versions
When only one selector is specified, ,
need to look up all integrated pacticipants, and determine their relevant  versions
When only one selector is specified need to look up all integrated pacticipants and determine their relevant versions
def inferred_selectors(resolved_specified_selectors, resolved_ignore_selectors, integrations, options)
        all_pacticipant_names = integrations.collect(&:pacticipant_names).flatten.uniq
        specified_names = resolved_specified_selectors.collect{ |s| s[:pacticipant_name] }
        inferred_pacticipant_names = all_pacticipant_names - specified_names
        build_inferred_selectors(inferred_pacticipant_names, resolved_ignore_selectors, options)
      end
def inferred_selectors ( resolved_specified_selectors , resolved_ignore_selectors , integrations , options ) all_pacticipant_names = integrations . collect ( & :pacticipant_names ) . flatten . uniq specified_names = resolved_specified_selectors . collect { | s | s [ :pacticipant_name ] } inferred_pacticipant_names = all_pacticipant_names - specified_names build_inferred_selectors ( inferred_pacticipant_names , resolved_ignore_selectors , options ) end
When only one selector is specified, (eg.
When only one selector is specified ( eg .
resolved_specified_selectors
resolved_ignore_selectors
integrations
options