hive-messages 1.0.6 → 1.0.7
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: 9446d0f21c101e1b0dce031a29a9b8b9bb6eba17
|
4
|
+
data.tar.gz: c5fcf0cef2b7a0a3bc46ad8afbd90ff9cad26af9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d47dd47c60a09f7b8e02cecdf8f8cef3d0b22d6fa7587be174a8979bdcdcd019c64148c01f4dbde63d76a31d50525eb15fd1259867649bfce2878f02f68fc48b
|
7
|
+
data.tar.gz: 71657f55edd3b647bd559f5d0a3aba97272d4c118b2bc73e8ca0039d2679438803366af145892ad3bcaf40ef3fb538835bd3b127a2820436498547c8bb376d8e
|
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.7'
|
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
@@ -11,6 +11,7 @@ module Hive
|
|
11
11
|
attribute :branch, String
|
12
12
|
attribute :execution_directory, String
|
13
13
|
attribute :target, Hash
|
14
|
+
attribute :install_build, Boolean
|
14
15
|
attribute :execution_variables, ExecutionVariables
|
15
16
|
attribute :reservation_details, Hash
|
16
17
|
attribute :device_id, Integer
|
@@ -8,8 +8,10 @@ describe Hive::Representers::JobRepresenter do
|
|
8
8
|
attribute :command
|
9
9
|
attribute :job_id
|
10
10
|
attribute :repository
|
11
|
+
attribute :branch
|
11
12
|
attribute :execution_directory
|
12
13
|
attribute :target
|
14
|
+
attribute :install_build
|
13
15
|
attribute :execution_variables
|
14
16
|
attribute :reservation_details
|
15
17
|
attribute :device_id
|
@@ -44,8 +46,10 @@ describe Hive::Representers::JobRepresenter do
|
|
44
46
|
command: "cmd",
|
45
47
|
job_id: 99,
|
46
48
|
repository: "svn://",
|
49
|
+
branch: "test_branch",
|
47
50
|
execution_directory: ".",
|
48
51
|
target: target,
|
52
|
+
install_build: true,
|
49
53
|
execution_variables: execution_variables,
|
50
54
|
reservation_details: reservation_details,
|
51
55
|
device_id: 23,
|
@@ -79,8 +83,10 @@ describe Hive::Representers::JobRepresenter do
|
|
79
83
|
its(:command) { should eq job_attributes[:command] }
|
80
84
|
its(:job_id) { should eq job_attributes[:job_id] }
|
81
85
|
its(:repository) { should eq job_attributes[:repository] }
|
86
|
+
its(:branch) { should eq job_attributes[:branch] }
|
82
87
|
its(:execution_directory) { should eq job_attributes[:execution_directory] }
|
83
88
|
its(:target) { should eq job_attributes[:target] }
|
89
|
+
its(:install_build) { should eq job_attributes[:install_build] }
|
84
90
|
its(:execution_variables) { should eq execution_variables }
|
85
91
|
its(:reservation_details) { should eq reservation_details }
|
86
92
|
its(:device_id) { should eq job_attributes[:device_id] }
|
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.7
|
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:
|
12
|
+
date: 2017-01-19 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: virtus
|
@@ -256,7 +256,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
256
256
|
version: '0'
|
257
257
|
requirements: []
|
258
258
|
rubyforge_project:
|
259
|
-
rubygems_version: 2.
|
259
|
+
rubygems_version: 2.6.8
|
260
260
|
signing_key:
|
261
261
|
specification_version: 4
|
262
262
|
summary: Hive communication library.
|