runcible 2.11.0 → 2.11.1
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: 197f7566ca85c46a6f3a45ff92a7dd1b5689c15e
|
4
|
+
data.tar.gz: 3904d3de3f1addfbd7ba67072767dc0aafdf436b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dca8d45b51d8b3d6a065a389eafb03e936b1521f10361efecd8703b5339a9219abc219093191ce8ae6af903cbfd59205d0030d16bb76c9b845bfe044524f728e
|
7
|
+
data.tar.gz: 0047feae6907764f95f5d6056e849d1e21fa39af146a5eea49c0ad64e52ac1c02353707ecfd6a48399fc3b00805f8dbc58ff74647c18404e1b41c84145334629
|
data/lib/runcible/base.rb
CHANGED
@@ -74,7 +74,7 @@ module Runcible
|
|
74
74
|
response = get_response(client, path, *args)
|
75
75
|
processed = process_response(response)
|
76
76
|
self.logs << "Response: #{response.code}: #{response.body}"
|
77
|
-
|
77
|
+
log_debug
|
78
78
|
processed
|
79
79
|
rescue RestClient::ResourceNotFound => e
|
80
80
|
self.logs << exception_to_log(e)
|
@@ -173,9 +173,9 @@ module Runcible
|
|
173
173
|
# @param [String] distributor_id the id of the distributor
|
174
174
|
# @param [Hash] distributor_config attributes to change
|
175
175
|
# @return [RestClient::Response]
|
176
|
-
def update_distributor(id, distributor_id, distributor_config)
|
176
|
+
def update_distributor(id, distributor_id, distributor_config, optional = {})
|
177
177
|
required = required_params(binding.send(:local_variables), binding, ['id', 'distributor_id'])
|
178
|
-
call(:put, path("#{id}/distributors/#{distributor_id}/"), :payload => { :required => required})
|
178
|
+
call(:put, path("#{id}/distributors/#{distributor_id}/"), :payload => { :required => required, :optional => optional})
|
179
179
|
end
|
180
180
|
|
181
181
|
# Deletes the specified importer from the repository
|
data/lib/runcible/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: runcible
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.11.
|
4
|
+
version: 2.11.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eric D Helms, Justin Sherrill
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-03-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|