Class: Evrone::CI::Message::BuildStatus
- Inherits:
-
ProtocolBuffers::Message
- Object
- ProtocolBuffers::Message
- Evrone::CI::Message::BuildStatus
- Includes:
- Serializable
- Defined in:
- lib/evrone/ci/message.rb,
lib/evrone/ci/message/testing.rb
Direct Known Subclasses
Class Method Summary collapse
Methods included from Serializable
Class Method Details
.test_attributes(options = {}) ⇒ Object
50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 |
# File 'lib/evrone/ci/message/testing.rb', line 50 def test_attributes( = {}) { build_id: 1, status: 0, tm: 1376137604, tm_usec: 1234, jobs_count: 1, matrix: %w{ env rvm }, commit_author: "Commit Author", commit_author_email: "[email protected]", commit_sha: "d3c7576e3b84bd578ce562c6d504cc7a1233adc1", commit_message: "Commit Message" }.merge() end |
.test_message(options = {}) ⇒ Object
66 67 68 |
# File 'lib/evrone/ci/message/testing.rb', line 66 def ( = {}) new test_attributes() end |