vx-message 0.2.1 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/vx/message/messages.pb.rb +5 -5
- data/lib/vx/message/testing.rb +5 -5
- data/lib/vx/message/version.rb +1 -1
- data/proto/messages.proto +5 -5
- data/spec/lib/message_spec.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9763f4f82672a95aa3fa9a43a5edf524771b9679
|
4
|
+
data.tar.gz: 0f6533fd633e182e817c0604e2b2c35d2fb83b28
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 454c5633396410b4c0633bdfb7e9d48bec323e4c0d623ff66820dff9f6b59615388b271837657f249b56d45e6cbcbe1297793b8f6958bdee76861b9aaad444fb
|
7
|
+
data.tar.gz: 3b4ac0ed703d59dcade40b687ae32b34136776a6f2d48c823fdc7105ac5de0eedcaef4732c4021f8adb958049971c9835072c73af1a2aa3e52c94ed4602f2753
|
@@ -83,11 +83,11 @@ module Vx
|
|
83
83
|
FAILED = 5
|
84
84
|
end
|
85
85
|
|
86
|
-
required :
|
87
|
-
required :
|
88
|
-
required :
|
89
|
-
required :
|
90
|
-
|
86
|
+
required :project_id, :uint64, 1
|
87
|
+
required :build_id, :uint64, 2
|
88
|
+
required :job_id, :uint64, 3
|
89
|
+
required :status, JobStatus::Status, 4
|
90
|
+
required :tm, :uint64, 5
|
91
91
|
|
92
92
|
end
|
93
93
|
end
|
data/lib/vx/message/testing.rb
CHANGED
@@ -27,11 +27,11 @@ module Vx
|
|
27
27
|
|
28
28
|
def test_attributes(options = {})
|
29
29
|
{
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
30
|
+
project_id: 1,
|
31
|
+
build_id: 1,
|
32
|
+
job_id: 2,
|
33
|
+
status: 0,
|
34
|
+
tm: 1376137604,
|
35
35
|
}.merge(options)
|
36
36
|
end
|
37
37
|
|
data/lib/vx/message/version.rb
CHANGED
data/proto/messages.proto
CHANGED
@@ -57,10 +57,10 @@ message JobStatus {
|
|
57
57
|
BROKEN = 4;
|
58
58
|
FAILED = 5;
|
59
59
|
}
|
60
|
-
required uint64
|
61
|
-
required uint64
|
62
|
-
required
|
63
|
-
required
|
64
|
-
|
60
|
+
required uint64 project_id = 1;
|
61
|
+
required uint64 build_id = 2;
|
62
|
+
required uint64 job_id = 3;
|
63
|
+
required Status status = 4;
|
64
|
+
required uint64 tm = 5;
|
65
65
|
}
|
66
66
|
|
data/spec/lib/message_spec.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vx-message
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dmitry Galinsky
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-01-
|
11
|
+
date: 2014-01-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: beefcake
|