Sha256: ff9bceaa43e6835f6a8ddf460e42060b82534be86f445d5c107bf999e84d4db0

Contents?: true

Size: 1.64 KB

Versions: 78

Compression:

Stored size: 1.64 KB

Contents

require 'pact_broker/domain/verification'

module PactBroker
  module Verifications
    class LatestVerificationForConsumerVersionTag < PactBroker::Domain::Verification
      set_dataset(:latest_verifications_for_consumer_version_tags)

      # Don't need to load the pact_version as we do in the superclass,
      # as pact_version_sha is included in the view for convenience
      def pact_version_sha
        values[:pact_version_sha]
      end

      def provider_version_number
        values[:provider_version_number]
      end

      def provider_version_order
        values[:provider_version_order]
      end
    end
  end
end

# Table: latest_verifications_for_consumer_version_tags
# Columns:
#  consumer_id               | integer                     |
#  provider_id               | integer                     |
#  consumer_version_tag_name | text                        |
#  pact_version_sha          | text                        |
#  provider_version_number   | text                        |
#  provider_version_order    | integer                     |
#  id                        | integer                     |
#  number                    | integer                     |
#  success                   | boolean                     |
#  provider_version          | text                        |
#  build_url                 | text                        |
#  pact_version_id           | integer                     |
#  execution_date            | timestamp without time zone |
#  created_at                | timestamp without time zone |
#  provider_version_id       | integer                     |
#  test_results              | text                        |

Version data entries

78 entries across 78 versions & 1 rubygems

Version Path
pact_broker-2.79.1 lib/pact_broker/verifications/latest_verification_for_consumer_version_tag.rb
pact_broker-2.79.0 lib/pact_broker/verifications/latest_verification_for_consumer_version_tag.rb
pact_broker-2.78.1 lib/pact_broker/verifications/latest_verification_for_consumer_version_tag.rb
pact_broker-2.78.0 lib/pact_broker/verifications/latest_verification_for_consumer_version_tag.rb
pact_broker-2.77.0 lib/pact_broker/verifications/latest_verification_for_consumer_version_tag.rb
pact_broker-2.76.2 lib/pact_broker/verifications/latest_verification_for_consumer_version_tag.rb
pact_broker-2.76.1 lib/pact_broker/verifications/latest_verification_for_consumer_version_tag.rb
pact_broker-2.76.0 lib/pact_broker/verifications/latest_verification_for_consumer_version_tag.rb
pact_broker-2.75.0 lib/pact_broker/verifications/latest_verification_for_consumer_version_tag.rb
pact_broker-2.74.1 lib/pact_broker/verifications/latest_verification_for_consumer_version_tag.rb
pact_broker-2.74.0 lib/pact_broker/verifications/latest_verification_for_consumer_version_tag.rb
pact_broker-2.73.0 lib/pact_broker/verifications/latest_verification_for_consumer_version_tag.rb
pact_broker-2.72.0 lib/pact_broker/verifications/latest_verification_for_consumer_version_tag.rb
pact_broker-2.71.0 lib/pact_broker/verifications/latest_verification_for_consumer_version_tag.rb
pact_broker-2.70.0 lib/pact_broker/verifications/latest_verification_for_consumer_version_tag.rb
pact_broker-2.69.0 lib/pact_broker/verifications/latest_verification_for_consumer_version_tag.rb
pact_broker-2.68.1 lib/pact_broker/verifications/latest_verification_for_consumer_version_tag.rb
pact_broker-2.68.0 lib/pact_broker/verifications/latest_verification_for_consumer_version_tag.rb
pact_broker-2.67.0 lib/pact_broker/verifications/latest_verification_for_consumer_version_tag.rb
pact_broker-2.66.0 lib/pact_broker/verifications/latest_verification_for_consumer_version_tag.rb