Sha256: 932f333bc52022ab6f19ae9bb6dd8cadee361015a06990e097098857a0b5c36f

Contents?: true

Size: 457 Bytes

Versions: 5

Compression:

Stored size: 457 Bytes

Contents

module PactBroker
  module Pacts
    module LazyLoaders
      HEAD_PACT_PUBLICATIONS_FOR_TAGS = lambda {
          consumer_version_tag_names = PactBroker::Domain::Tag.select(:name).where(version_id: consumer_version_id)
          PactPublication
            .for_consumer(consumer)
            .for_provider(provider)
            .latest_for_consumer_tag(consumer_version_tag_names)
            .from_self.order_by(:tag_name)
          }
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
pact_broker-2.79.1 lib/pact_broker/pacts/lazy_loaders.rb
pact_broker-2.79.0 lib/pact_broker/pacts/lazy_loaders.rb
pact_broker-2.78.1 lib/pact_broker/pacts/lazy_loaders.rb
pact_broker-2.78.0 lib/pact_broker/pacts/lazy_loaders.rb
pact_broker-2.77.0 lib/pact_broker/pacts/lazy_loaders.rb