hive-messages 1.0.3 → 1.0.4

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: 010a5f7de0660e6e3c5c42e50534baf87bb11abf
4
- data.tar.gz: 453093c413e973cadd65e79b4eac155edc23e83c
3
+ metadata.gz: 55b1f7d1ecc67456d0a2a58df7a8ab1a70037a3d
4
+ data.tar.gz: c1f9327844b970f697acfc02f27c04cd913394a6
5
5
  SHA512:
6
- metadata.gz: cded9d3a8cebcf5d676b1f823d5cbdd960c4f14cdb70720e1858aad164701694cf47446a629fef2766cd6edadbe80f2e2bc72488f0d5754fc879fd8074e92f70
7
- data.tar.gz: cb0973943df1eca8b2b42e56d181fbdccb6121c4f124b6423e48220cb6df3e79586e78d50e090a00dacd1c0f8751c55684cab89f181ed5063f52c2fea65e39eb
6
+ metadata.gz: c5689c98ec5ab6f4379aa15c56beba564137b973710e7f39baba452fd00d43e13e8bbbac6bb918d041c7a2fb63675513e4086e73b0b32c5e144ba8a84bb5e805
7
+ data.tar.gz: 7b1999c329735765392381eaa553ae8d6246ad984c54a78dc9a39b7541e55740711b9aa5c80a1b5ee3ccc85236b37dff811c0bbfcac3f4b59da69a7d6daae857
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = "hive-messages"
7
- spec.version = '1.0.3'
7
+ spec.version = '1.0.4'
8
8
  spec.authors = ["David Buckhurst", "Paul Carey"]
9
9
  spec.email = ["david.buckhurst@bbc.co.uk"]
10
10
  spec.summary = %q{Hive communication library.}
@@ -22,6 +22,7 @@ module Hive
22
22
  attribute :exit_value, Integer
23
23
  attribute :message, String
24
24
  attribute :result_details, String
25
+ attribute :test_results, Hash
25
26
 
26
27
  validates :command, :job_id, presence: true
27
28
 
@@ -20,6 +20,7 @@ module Hive
20
20
  property :exit_value
21
21
  property :message
22
22
  property :result_details
23
+ property :test_results
23
24
  end
24
25
  end
25
26
  end
@@ -22,6 +22,7 @@ describe Hive::Representers::JobRepresenter do
22
22
  attribute :exit_value
23
23
  attribute :message
24
24
  attribute :result_details
25
+ attribute :test_results
25
26
 
26
27
  attribute :extra
27
28
  end
@@ -56,7 +57,8 @@ describe Hive::Representers::JobRepresenter do
56
57
  result: "test result",
57
58
  exit_value: 0,
58
59
  message: "Hello, mum",
59
- result_details: "Blah!"
60
+ result_details: "Blah!",
61
+ test_results: [ test_case: 'Testing', urn: '/tmp/test.txt', status: 'passed' ]
60
62
  }
61
63
  end
62
64
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hive-messages
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Buckhurst
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-12-09 00:00:00.000000000 Z
12
+ date: 2016-02-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: virtus
@@ -255,7 +255,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
255
255
  version: '0'
256
256
  requirements: []
257
257
  rubyforge_project:
258
- rubygems_version: 2.4.8
258
+ rubygems_version: 2.5.0
259
259
  signing_key:
260
260
  specification_version: 4
261
261
  summary: Hive communication library.