evrone-ci-message 0.0.3 → 0.0.4

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: 44577fad9e091571bd1dd4d21d8622da7a4cbee4
4
- data.tar.gz: 1af30eb3715e17eb5131a4eae5047890d2c96b5f
3
+ metadata.gz: 7d81d29bc5c462f047767d8bb63970aa18aa1a9b
4
+ data.tar.gz: 52557b06f73bbd5955f1789a111315c00a6a25b9
5
5
  SHA512:
6
- metadata.gz: cd06469e145a72c424aed5942bf28bb27e180069c33df513f7b6f5e7f80896c7650bf8f7cdd0f6fa6814355aa72c93f76523d35880c659e7f9ad9f56c0902bf7
7
- data.tar.gz: 8f0871715d62562486f78cbace0b222420a4c10bbb033ba5b58337f6d3182b7cbbcbe87bb26e4e429bfc98907ca3ad2fdeb9b2648666d94ef7b6b7800bf1d2a3
6
+ metadata.gz: 892a623fd87785a0ab03e0e604c2e0cf834105eed61e98b4dbcbbc2f95cebdcd29bb8da08c40608322f19e8538984130df2e8e2e819b4186458d358d93fbce63
7
+ data.tar.gz: 06a1c5d3c5dc901786b044d4188841a64cf37a55255ba4338cf8933aed588477268b5d19324808226bf90d554bb8fad6bd665917a426cc7b8e5729bfd37ec53f
@@ -41,11 +41,11 @@ module Evrone
41
41
  optional :string, :deploy_key, 6
42
42
 
43
43
  required :uint64, :job_id, 7
44
- optional :string, :before_script, 9
45
- optional :string, :script, 10
46
44
 
47
- # deprecated
48
- optional :string, :travis, 8
45
+ required :string, :before_script, 8
46
+ required :string, :script, 9
47
+
48
+ repeated :string, :matrix_keys, 10
49
49
  end
50
50
 
51
51
  class BuildLog < ProtocolBuffers::Message
@@ -113,18 +113,17 @@ module Evrone
113
113
  class << self
114
114
 
115
115
  def test_attributes(options = {})
116
- travis = File.read File.expand_path("../../../../../fixtures/travis.yml", __FILE__)
117
- key = File.read File.expand_path("../../../../../fixtures/insecure_private_key", __FILE__)
116
+ key = File.read File.expand_path("../../../../../fixtures/insecure_private_key", __FILE__)
118
117
  options.merge({
119
- id: options[:id] || 1,
120
- name: options[:name] || 'evrone/test-repo',
121
- src: options[:src] || "git@github.com:evrone/ci-worker-test-repo.git",
122
- sha: options[:sha] || "b665f90239563c030f1b280a434b3d84daeda1bd",
123
- deploy_key: options[:deploy_key] || key,
124
- job_id: options[:job_id] || 2,
125
- travis: options[:travis] || travis,
118
+ id: options[:id] || 1,
119
+ name: options[:name] || 'evrone/test-repo',
120
+ src: options[:src] || "git@github.com:evrone/ci-worker-test-repo.git",
121
+ sha: options[:sha] || "b665f90239563c030f1b280a434b3d84daeda1bd",
122
+ deploy_key: options[:deploy_key] || key,
123
+ job_id: options[:job_id] || 2,
126
124
  before_script: options[:before_script] || 'echo before_script',
127
- script: options[:script] || 'echo script'
125
+ script: options[:script] || 'echo script',
126
+ matrix_keys: options[:matrix_keys] || %w{ rvm:2.0.0 }
128
127
  })
129
128
  end
130
129
 
@@ -1,7 +1,7 @@
1
1
  module Evrone
2
2
  module CI
3
3
  module Message
4
- VERSION = "0.0.3"
4
+ VERSION = "0.0.4"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: evrone-ci-message
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dmitry Galinsky