barbeque_client 0.8.1 → 0.8.2
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 +4 -4
- data/lib/barbeque_client/client.rb +7 -2
- data/lib/barbeque_client/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bc30436c86b5803d4115b9ce2504f539f0f54ccb
|
4
|
+
data.tar.gz: bd2584aef532bc467e3007fa9644fdaa772652e1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 59efbcd9e7d0fd9f0355d039431a7add65654d99ccdd9c53238ea87c78db1693d368a26cb33c38b83a2e19da814aac8797fd8d701dc42d6f59bcd19c2d293f61
|
7
|
+
data.tar.gz: 48f79996b82b02162c715acff4c72df69e2d59a80e2cb7648f2c238f11a4e446799eefe84117361973f79570723be081dfdc9f547aac33547a0983f42bf8b0bb
|
@@ -36,9 +36,14 @@ module BarbequeClient
|
|
36
36
|
end
|
37
37
|
|
38
38
|
# @param [String] message_id - Job execution's message_id to check status
|
39
|
+
# @param optioanl [String] fields - Response fields specification for Garage
|
39
40
|
# @return [Faraday::Response]
|
40
|
-
def execution(message_id:)
|
41
|
-
|
41
|
+
def execution(message_id:, fields: nil)
|
42
|
+
params = {}
|
43
|
+
if fields
|
44
|
+
params[:fields] = fields
|
45
|
+
end
|
46
|
+
result = garage_client.get("/v1/job_executions/#{message_id}", params)
|
42
47
|
result.response
|
43
48
|
end
|
44
49
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: barbeque_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Takashi Kokubun
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-03-
|
11
|
+
date: 2017-03-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: garage_client
|
@@ -156,7 +156,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
156
156
|
version: '0'
|
157
157
|
requirements: []
|
158
158
|
rubyforge_project:
|
159
|
-
rubygems_version: 2.6.
|
159
|
+
rubygems_version: 2.6.10
|
160
160
|
signing_key:
|
161
161
|
specification_version: 4
|
162
162
|
summary: Barbeque client for Ruby
|