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 +4 -4
- data/lib/ovirt/version.rb +1 -1
- data/lib/rbovirt.rb +1 -1
- data/lib/restclient_ext/resource.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f288949bbc80a2901f8b6e2aa257f551e33b298c
|
4
|
+
data.tar.gz: 17de341eb7cf43b68ec47304e4cb19c3a4f3d93b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 73d71c0726bb896b8fe7d78b4387eb229d81823de853cb82fc4cf5bfd05b0050d02c16a3314f32b540f8e84bcf185d85a403d296aa7e68c19afce643f5ced9df
|
7
|
+
data.tar.gz: e6fef3df78fa83ce368614845dba1aed084bf24a7352200456215823abccfd9b6458ce348c68ffa4f06bd9cce35e8f90ec27302a5205255c1f12020c09f26ade
|
data/lib/ovirt/version.rb
CHANGED
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).
|
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
|
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.
|
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-
|
11
|
+
date: 2015-02-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|