vx-message 0.2.1 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: faab54e0f9f179886d0ec40cff8823ebe9f0fd9a
4
- data.tar.gz: 645659c771be8e388466074d13a1ba403335df45
3
+ metadata.gz: 9763f4f82672a95aa3fa9a43a5edf524771b9679
4
+ data.tar.gz: 0f6533fd633e182e817c0604e2b2c35d2fb83b28
5
5
  SHA512:
6
- metadata.gz: c6ee4106e07ff1d6b3758818bacc54ba1384b32c71b1a4f2f66deb8c149e3b14ecd6cb350e7d7a722f8797608e9b58eb31a55a8a250d6d91181db8b2763d6921
7
- data.tar.gz: c9f9d5d314d41c1ed5755f3999a3505582b8b858f99c16f59026960856333032e395a3f73d1d3f567b5384ad8fae25852f4605476c0f0f094d5de22f002d5417
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 :build_id, :uint64, 1
87
- required :job_id, :uint64, 2
88
- required :status, JobStatus::Status, 3
89
- required :tm, :uint64, 4
90
- repeated :matrix, :string, 6
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
@@ -27,11 +27,11 @@ module Vx
27
27
 
28
28
  def test_attributes(options = {})
29
29
  {
30
- build_id: 1,
31
- job_id: 2,
32
- status: 0,
33
- tm: 1376137604,
34
- matrix: ["env:FOO = 1", "rvm:1.9.3"]
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
 
@@ -1,5 +1,5 @@
1
1
  module Vx
2
2
  module Message
3
- VERSION = "0.2.1"
3
+ VERSION = "0.3.0"
4
4
  end
5
5
  end
@@ -57,10 +57,10 @@ message JobStatus {
57
57
  BROKEN = 4;
58
58
  FAILED = 5;
59
59
  }
60
- required uint64 build_id = 1;
61
- required uint64 job_id = 2;
62
- required Status status = 3;
63
- required uint64 tm = 4;
64
- repeated string matrix = 6;
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
 
@@ -22,8 +22,8 @@ describe Vx::Message do
22
22
  end
23
23
 
24
24
  if klass == 'JobStatus'
25
- it "should have matrix" do
26
- expect(subject.matrix).to eq ["env:FOO = 1", "rvm:1.9.3"]
25
+ it "should have project_id" do
26
+ expect(subject.project_id).to eq 1
27
27
  end
28
28
  end
29
29
 
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.2.1
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-19 00:00:00.000000000 Z
11
+ date: 2014-01-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: beefcake