lib/pact_broker/matrix/service.rb in pact_broker-2.31.0 vs lib/pact_broker/matrix/service.rb in pact_broker-2.32.0
- old
+ new
@@ -14,12 +14,11 @@
query_results = matrix_repository.find selectors, options
deployment_status_summary = DeploymentStatusSummary.new(query_results.rows, query_results.resolved_selectors, query_results.integrations)
QueryResultsWithDeploymentStatusSummary.new(query_results.rows, query_results.selectors, query_results.options, query_results.resolved_selectors, query_results.integrations, deployment_status_summary)
end
- def find_for_consumer_and_provider params
+ def find_for_consumer_and_provider params, options = {}
selectors = [{ pacticipant_name: params[:consumer_name] }, { pacticipant_name: params[:provider_name] }]
- options = { latestby: 'cvpv' }
find(selectors, options)
end
def find_for_consumer_and_provider_with_tags params
consumer_criteria = {