Sha256: 5b3ef15003498593b1c3d434b7b09aca9b7637a7b237aaa4e0b6d77bf84f18cb

Contents?: true

Size: 525 Bytes

Versions: 1

Compression:

Stored size: 525 Bytes

Contents

object @build

attributes :id,:number, :status, :started_at, :finished_at

node(:status_message) { |build| build.status_message }

glue @build.commit do
  attributes :commit, :branch, :message, :compare_url, :committed_at, :committer_name,
    :committer_email, :author_name, :author_email
end

code :repository do
  Travis::Renderer.hash(@build.repository, :type => :webhook, :base_dir => base_dir)
end

code :matrix do
  @build.matrix.map { |job| Travis::Renderer.hash(job, :type => :webhook, :base_dir => base_dir) }
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
travis-core-0.0.1 lib/travis/notifications/webhook/views/v1/webhook/build.rabl