hive-messages 1.0.4 → 1.0.5
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8f62d17bd371bd60c4627507bf6322a88ea8908c
|
4
|
+
data.tar.gz: 3f313c6fa3f508a599fc7df83771b5f5c49e4301
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e7615aa966fadd8cb5cb35437eaee8afd598bc5ff153fa9e731b26f77823a77519ee0bfe06d7ba00e53f1fafefdd133ef314731728c4f28d2f079d3da89fa38c
|
7
|
+
data.tar.gz: 3baa638a8c6ac953fecfb1c417d616ca674388c264d48499b1f7d8f910b7b0a4212f026e56dc1a5fe54d3ae173efe06b05ccc95f9b6abd6435225a96c3745143
|
data/hive-messages.gemspec
CHANGED
@@ -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.
|
7
|
+
spec.version = '1.0.5'
|
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.}
|
data/lib/hive/messages/job.rb
CHANGED
@@ -23,6 +23,7 @@ describe Hive::Representers::JobRepresenter do
|
|
23
23
|
attribute :message
|
24
24
|
attribute :result_details
|
25
25
|
attribute :test_results
|
26
|
+
attribute :log_files
|
26
27
|
|
27
28
|
attribute :extra
|
28
29
|
end
|
@@ -58,7 +59,8 @@ describe Hive::Representers::JobRepresenter do
|
|
58
59
|
exit_value: 0,
|
59
60
|
message: "Hello, mum",
|
60
61
|
result_details: "Blah!",
|
61
|
-
test_results: [ test_case: 'Testing', urn: '/tmp/test.txt', status: 'passed' ]
|
62
|
+
test_results: [ test_case: 'Testing', urn: '/tmp/test.txt', status: 'passed' ],
|
63
|
+
log_files: { "stdout" => 'Standard out' }
|
62
64
|
}
|
63
65
|
end
|
64
66
|
|
@@ -91,6 +93,7 @@ describe Hive::Representers::JobRepresenter do
|
|
91
93
|
its(:exit_value) { should eq job_attributes[:exit_value] }
|
92
94
|
its(:message) { should eq job_attributes[:message] }
|
93
95
|
its(:result_details) { should eq job_attributes[:result_details] }
|
96
|
+
its(:log_files) { should eq job_attributes[:log_files] }
|
94
97
|
|
95
98
|
# Attribute that should be ignored
|
96
99
|
its(:extra) { should be_nil }
|
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.
|
4
|
+
version: 1.0.5
|
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: 2016-
|
12
|
+
date: 2016-09-26 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: virtus
|