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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3c21ee3226f87115866285b97b0fb1c5a73531a3
4
- data.tar.gz: ed2455539ef02b004efbb67c83f8f189da3483af
3
+ metadata.gz: bc30436c86b5803d4115b9ce2504f539f0f54ccb
4
+ data.tar.gz: bd2584aef532bc467e3007fa9644fdaa772652e1
5
5
  SHA512:
6
- metadata.gz: bbb35487c1688529afc76152c163dadd175e5112ce581f9875de509edf0356c81bf6c3b2f4544f22a4a95fc031763a49f3383707929dc67d875e18bcfa559be8
7
- data.tar.gz: c0f93a5b37c4a3ab1ed2d3e58d4218db3afdc6c5841c04d07f728ecd62c67e67d2a86349c42dbd8c952bb4ef9c28304b9d4f164d9f3778de6b8ec3dc344e068d
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
- result = garage_client.get("/v1/job_executions/#{message_id}")
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
 
@@ -1,3 +1,3 @@
1
1
  module BarbequeClient
2
- VERSION = '0.8.1'
2
+ VERSION = '0.8.2'
3
3
  end
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.1
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-14 00:00:00.000000000 Z
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.8
159
+ rubygems_version: 2.6.10
160
160
  signing_key:
161
161
  specification_version: 4
162
162
  summary: Barbeque client for Ruby