evrone-ci-message 0.2.0.pre1 → 0.2.0.pre3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3a347e35b92631967bc71a29c555ce689c367054
4
- data.tar.gz: 2dbd78596f4953c89c93fb6cae9d87b4d3dd3521
3
+ metadata.gz: bcc6322664b5da0778492e03fad9159137408e0c
4
+ data.tar.gz: e2fa336d0054cad4ebeac46be8f99811e94e186d
5
5
  SHA512:
6
- metadata.gz: 1fee934b5d7576445fefa08ee049d27b5fdcd5140ef31abdb97588362b6db8eb933413d9b81a501afe4283b67a178a56d655158966520ae111b26bb3333def41
7
- data.tar.gz: e0a42fb6d9c3a5cb0b19032ab9e378ed589473bbd1cbf316ec2edfc514885d9aa2b35fd11e07e36eb93afed0a592a9c9eb979bcba9aee4dc837d7bb95add310a
6
+ metadata.gz: e5124cea2570dcc0e92a3af86146a58487d4338763b8d156d763db01799ece4b4cceb172c725cf3641ca470905b09decf464e3cb99cd7d38870252286fe2ea02
7
+ data.tar.gz: 2e25443782aad85ff03670e76968e9e490da92731d96937ee585515679a5e78b1d4d385f3fb2af726a81b1eb10217a26601c5ca007030f1daf63ff40a293dff2
data/Rakefile CHANGED
@@ -6,9 +6,13 @@ require 'rspec/core/rake_task'
6
6
 
7
7
  RSpec::Core::RakeTask.new(:spec)
8
8
 
9
+ desc "generate models from proto"
9
10
  task :gen do
10
11
  system %{ env BEEFCAKE_NAMESPACE="Evrone::CI::Message" protoc proto/messages.proto --beefcake_out lib/evrone/ci/message/ }
11
12
  end
12
13
 
14
+ desc "generate models from proto and run specs"
13
15
  task :default => [:gen, :spec]
16
+
17
+ desc "run travis build"
14
18
  task :travis => :default
@@ -42,7 +42,6 @@ module Evrone
42
42
  required :build_id, :uint64, 1
43
43
  required :log, :string, 2
44
44
  required :tm, :uint64, 3
45
- required :tm_usec, :uint32, 4
46
45
 
47
46
  end
48
47
 
@@ -53,7 +52,6 @@ module Evrone
53
52
  required :build_id, :uint64, 1
54
53
  required :log, :string, 2
55
54
  required :tm, :uint64, 3
56
- required :tm_usec, :uint32, 4
57
55
  required :job_id, :uint64, 5
58
56
 
59
57
  end
@@ -74,7 +72,6 @@ module Evrone
74
72
  required :tm, :uint64, 3
75
73
  required :tm_usec, :uint32, 4
76
74
  required :jobs_count, :uint32, 5
77
- repeated :matrix, :string, 6
78
75
  optional :commit_author, :string, 7
79
76
  optional :commit_author_email, :string, 8
80
77
  optional :commit_sha, :string, 9
@@ -54,7 +54,6 @@ module Evrone
54
54
  tm: 1376137604,
55
55
  tm_usec: 1234,
56
56
  jobs_count: 1,
57
- matrix: %w{ env rvm },
58
57
 
59
58
  commit_author: "Commit Author",
60
59
  commit_author_email: "example@example.com",
@@ -79,7 +78,6 @@ module Evrone
79
78
  job_id: 2,
80
79
  log: 'log',
81
80
  tm: 1376137604,
82
- tm_usec: 1234,
83
81
  }.merge(options)
84
82
  end
85
83
 
@@ -98,7 +96,6 @@ module Evrone
98
96
  build_id: 1,
99
97
  log: 'log',
100
98
  tm: 1376137604,
101
- tm_usec: 1234,
102
99
  }.merge(options)
103
100
  end
104
101
 
@@ -1,7 +1,7 @@
1
1
  module Evrone
2
2
  module CI
3
3
  module Message
4
- VERSION = "0.2.0.pre1"
4
+ VERSION = "0.2.0.pre3"
5
5
  end
6
6
  end
7
7
  end
data/proto/messages.proto CHANGED
@@ -26,14 +26,12 @@ message BuildLog {
26
26
  required uint64 build_id = 1;
27
27
  required string log = 2;
28
28
  required uint64 tm = 3;
29
- required uint32 tm_usec = 4;
30
29
  }
31
30
 
32
31
  message JobLog {
33
32
  required uint64 build_id = 1;
34
33
  required string log = 2;
35
34
  required uint64 tm = 3;
36
- required uint32 tm_usec = 4;
37
35
  required uint64 job_id = 5;
38
36
  }
39
37
 
@@ -51,7 +49,6 @@ message BuildStatus {
51
49
  required uint64 tm = 3;
52
50
  required uint32 tm_usec = 4;
53
51
  required uint32 jobs_count = 5;
54
- repeated string matrix = 6;
55
52
 
56
53
  optional string commit_author = 7;
57
54
  optional string commit_author_email = 8;
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: evrone-ci-message
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0.pre1
4
+ version: 0.2.0.pre3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dmitry Galinsky
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-10-03 00:00:00.000000000 Z
11
+ date: 2013-10-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: beefcake