lib/pact_broker/versions/service.rb in pact_broker-2.105.0 vs lib/pact_broker/versions/service.rb in pact_broker-2.106.0
- old
+ new
@@ -24,9 +24,13 @@
def self.find_latest_by_pacticipant_name_and_branch_name(pacticipant_name, branch_name)
version_repository.find_latest_by_pacticipant_name_and_branch_name(pacticipant_name, branch_name)
end
+ def self.find_all_pacticipant_versions_in_reverse_order(name, pagination_options = {})
+ version_repository.find_all_pacticipant_versions_in_reverse_order(name, pagination_options)
+ end
+
def self.create_or_overwrite(pacticipant_name, version_number, version)
pacticipant = pacticipant_repository.find_by_name_or_create(pacticipant_name)
version = version_repository.create_or_overwrite(pacticipant, version_number, version)
version
end