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: a51090501812724dc5d83aa69ec11dda474e405c
4
- data.tar.gz: 92b697e6d5e168d97e6ae40d6d059cb3be365797
3
+ metadata.gz: 197f7566ca85c46a6f3a45ff92a7dd1b5689c15e
4
+ data.tar.gz: 3904d3de3f1addfbd7ba67072767dc0aafdf436b
5
5
  SHA512:
6
- metadata.gz: 6a1fd9c47011b1c2698ea5a202317280b2eb96238cb86fc08c43860bc16bab62f5662c43d8e95059f750ee031e6e9debf001ea8926644b3bccd6a0de7f1495f9
7
- data.tar.gz: fec43819328bfd8bb09125ec76dd0789b2bc6f2289bd686bac28b04364cfd2c91f93a0ff0ef905e5a863fbf968cbfcf9a31ac3f3e25e33f5d581aa5e4b884355
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
- log_info
77
+ log_debug
78
78
  processed
79
79
  rescue RestClient::ResourceNotFound => e
80
80
  self.logs << exception_to_log(e)
@@ -17,6 +17,7 @@ module Runcible
17
17
 
18
18
  def config
19
19
  to_ret = self.as_json
20
+ to_ret.delete('auto_publish')
20
21
  to_ret.delete('id')
21
22
  to_ret
22
23
  end
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Runcible
2
- VERSION = '2.11.0'.freeze
2
+ VERSION = '2.11.1'.freeze
3
3
  end
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.0
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: 2018-12-12 00:00:00.000000000 Z
11
+ date: 2019-03-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json