Sha256: 0b5b8b36b5563548dc23120f28a15e4c1fe6f51960cf43fcaf68bb22d46a3854

Contents?: true

Size: 1.18 KB

Versions: 37

Compression:

Stored size: 1.18 KB

Contents

require 'pact_broker/pacts/latest_pact_publications_by_consumer_version'
require 'pact_broker/pacts/head_pact'

module PactBroker
  module Pacts

    class LatestTaggedPactPublications < LatestPactPublicationsByConsumerVersion
      set_dataset(:latest_tagged_pact_publications)

      def to_domain
        HeadPact.new(super, consumer_version_number, tag_name)
      end
    end
  end
end

# Table: latest_tagged_pact_publications
# Columns:
#  id                      | integer                     |
#  consumer_id             | integer                     |
#  consumer_name           | text                        |
#  consumer_version_id     | integer                     |
#  consumer_version_number | text                        |
#  consumer_version_order  | integer                     |
#  provider_id             | integer                     |
#  provider_name           | text                        |
#  revision_number         | integer                     |
#  pact_version_id         | integer                     |
#  pact_version_sha        | text                        |
#  created_at              | timestamp without time zone |
#  tag_name                | text                        |

Version data entries

37 entries across 37 versions & 1 rubygems

Version Path
pact_broker-2.52.1 lib/pact_broker/pacts/latest_tagged_pact_publications.rb
pact_broker-2.52.0 lib/pact_broker/pacts/latest_tagged_pact_publications.rb
pact_broker-2.51.0 lib/pact_broker/pacts/latest_tagged_pact_publications.rb
pact_broker-2.50.1 lib/pact_broker/pacts/latest_tagged_pact_publications.rb
pact_broker-2.50.0 lib/pact_broker/pacts/latest_tagged_pact_publications.rb
pact_broker-2.49.0 lib/pact_broker/pacts/latest_tagged_pact_publications.rb
pact_broker-2.48.0 lib/pact_broker/pacts/latest_tagged_pact_publications.rb
pact_broker-2.47.1 lib/pact_broker/pacts/latest_tagged_pact_publications.rb
pact_broker-2.47.0 lib/pact_broker/pacts/latest_tagged_pact_publications.rb
pact_broker-2.46.0 lib/pact_broker/pacts/latest_tagged_pact_publications.rb
pact_broker-2.45.0 lib/pact_broker/pacts/latest_tagged_pact_publications.rb
pact_broker-2.44.0 lib/pact_broker/pacts/latest_tagged_pact_publications.rb
pact_broker-2.43.0 lib/pact_broker/pacts/latest_tagged_pact_publications.rb
pact_broker-2.42.0 lib/pact_broker/pacts/latest_tagged_pact_publications.rb
pact_broker-2.41.0 lib/pact_broker/pacts/latest_tagged_pact_publications.rb
pact_broker-2.40.0 lib/pact_broker/pacts/latest_tagged_pact_publications.rb
pact_broker-2.39.0 lib/pact_broker/pacts/latest_tagged_pact_publications.rb