class Evrone::CI::Message::BuildStatus

Public Class Methods

test_attributes(options = {}) click to toggle source
# File lib/evrone/ci/message/testing.rb, line 50
def test_attributes(options = {})
  {
    build_id: 1,
    status:   0,
    tm:       1376137604,
    tm_usec:  1234,
    jobs_count: 1,
    matrix: %w{ env rvm },

    commit_author:       "Commit Author",
    commit_author_email: "example@example.com",
    commit_sha:          "d3c7576e3b84bd578ce562c6d504cc7a1233adc1",
    commit_message:      "Commit Message"
  }.merge(options)
end
test_message(options = {}) click to toggle source
# File lib/evrone/ci/message/testing.rb, line 66
def test_message(options = {})
  new test_attributes(options)
end