lib/pact_broker/pacts/selector.rb in pact_broker-2.102.2 vs lib/pact_broker/pacts/selector.rb in pact_broker-2.103.0

- old
+ new

@@ -27,10 +27,12 @@ # Only currently used to identify the currently_deployed from the others in # verifiable_pact_messages, so don't need the "for_consumer" sub category # rubocop: disable Metrics/CyclomaticComplexity def type - if latest_for_branch? + if latest_for_main_branch? + :latest_for_main_branch + elsif latest_for_branch? :latest_for_branch elsif matching_branch? :matching_branch elsif currently_deployed? :currently_deployed