rbovirt 0.0.33 → 0.0.34

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: 56b1a09fa531efef2e54dd5c404ba08ce97a9c74
4
- data.tar.gz: fa387d78d334b399cf9ddbb22396bb332f9ddf38
3
+ metadata.gz: f288949bbc80a2901f8b6e2aa257f551e33b298c
4
+ data.tar.gz: 17de341eb7cf43b68ec47304e4cb19c3a4f3d93b
5
5
  SHA512:
6
- metadata.gz: 0e18435aa8392a306e9fab8e37896c6d1f352ec29997443e1ae5bdef29bb919c1fc2921687a718bf9527b0d3e99590f83c1f7a49363393b7c9d649e6b0de92b3
7
- data.tar.gz: 5ca4da6f911d4eddb41b1f49343989abb0338c85cc77bcb08ed5b41465e158e8a7615fff99bd8277f785f35b8d745943fe67fd21f60cbcb823e8b530639d0ce5
6
+ metadata.gz: 73d71c0726bb896b8fe7d78b4387eb229d81823de853cb82fc4cf5bfd05b0050d02c16a3314f32b540f8e84bcf185d85a403d296aa7e68c19afce643f5ced9df
7
+ data.tar.gz: e6fef3df78fa83ce368614845dba1aed084bf24a7352200456215823abccfd9b6458ce348c68ffa4f06bd9cce35e8f90ec27302a5205255c1f12020c09f26ade
data/lib/ovirt/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module OVIRT
2
- VERSION = "0.0.33"
2
+ VERSION = "0.0.34"
3
3
  end
data/lib/rbovirt.rb CHANGED
@@ -137,7 +137,7 @@ module OVIRT
137
137
  begin
138
138
  headers = body ? http_headers(headers) :
139
139
  {:accept => 'application/xml'}.merge(auth_header).merge(filter_header)
140
- res = rest_client(suburl).delete(body, headers)
140
+ res = rest_client(suburl).delete_with_payload(body, headers)
141
141
  puts "#{res}\n" if ENV['RBOVIRT_LOG_RESPONSE']
142
142
  Nokogiri::XML(res)
143
143
  rescue
@@ -1,6 +1,6 @@
1
1
  module RestClient
2
2
  class Resource
3
- def delete(payload, additional_headers={}, &block)
3
+ def delete_with_payload(payload, additional_headers={}, &block)
4
4
  headers = (options[:headers] || {}).merge(additional_headers)
5
5
  Request.execute(options.merge(
6
6
  :method => :delete,
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rbovirt
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.33
4
+ version: 0.0.34
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amos Benari
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-12 00:00:00.000000000 Z
11
+ date: 2015-02-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri