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.65.0 lib/pact_broker/pacts/latest_tagged_pact_publications.rb
pact_broker-2.64.0 lib/pact_broker/pacts/latest_tagged_pact_publications.rb
pact_broker-2.63.0 lib/pact_broker/pacts/latest_tagged_pact_publications.rb
pact_broker-2.62.0 lib/pact_broker/pacts/latest_tagged_pact_publications.rb
pact_broker-2.61.0 lib/pact_broker/pacts/latest_tagged_pact_publications.rb
pact_broker-2.60.1 lib/pact_broker/pacts/latest_tagged_pact_publications.rb
pact_broker-2.60.0 lib/pact_broker/pacts/latest_tagged_pact_publications.rb
pact_broker-2.59.2 lib/pact_broker/pacts/latest_tagged_pact_publications.rb
pact_broker-2.59.1 lib/pact_broker/pacts/latest_tagged_pact_publications.rb
pact_broker-2.59.0 lib/pact_broker/pacts/latest_tagged_pact_publications.rb
pact_broker-2.58.3 lib/pact_broker/pacts/latest_tagged_pact_publications.rb
pact_broker-2.58.2 lib/pact_broker/pacts/latest_tagged_pact_publications.rb
pact_broker-2.58.0 lib/pact_broker/pacts/latest_tagged_pact_publications.rb
pact_broker-2.57.0 lib/pact_broker/pacts/latest_tagged_pact_publications.rb
pact_broker-2.56.1 lib/pact_broker/pacts/latest_tagged_pact_publications.rb
pact_broker-2.56.0 lib/pact_broker/pacts/latest_tagged_pact_publications.rb
pact_broker-2.55.0 lib/pact_broker/pacts/latest_tagged_pact_publications.rb
pact_broker-2.54.0 lib/pact_broker/pacts/latest_tagged_pact_publications.rb
pact_broker-2.53.0 lib/pact_broker/pacts/latest_tagged_pact_publications.rb
pact_broker-2.52.2 lib/pact_broker/pacts/latest_tagged_pact_publications.rb