knife-setup 1.0.4 → 1.0.5

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.
@@ -245,7 +245,7 @@ class Chef
245
245
  request.add_field('Content-Type', 'application/json-rpc')
246
246
  request.body = body
247
247
  response = http.request(request)
248
- raise "HTTP Error: #{response.code} on #{url}" unless response.code == "200"
248
+ raise "HTTP Error: #{response.code} on #{url}" unless response.code == "200" || response.code == "204"
249
249
  end
250
250
 
251
251
  end
@@ -1,5 +1,5 @@
1
1
  module Knife
2
2
  module Setup
3
- VERSION = "1.0.4"
3
+ VERSION = "1.0.5"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: knife-setup
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: