rbovirt 0.0.16 → 0.0.17

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of rbovirt might be problematic. Click here for more details.

data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.16
1
+ 0.0.17
@@ -17,7 +17,7 @@ module OVIRT
17
17
  http_get(path, headers).xpath('/clusters/cluster').collect do |cl|
18
18
  cluster = OVIRT::Cluster.new(self, cl)
19
19
  #the following line is needed as a work-around a bug in RHEV 3.0 rest-api
20
- cluster if !filtered_api || (cluster.datacenter.id == current_datacenter.id)
20
+ cluster if filtered_api || (cluster.datacenter.id == current_datacenter.id)
21
21
  end.compact
22
22
  end
23
23
 
data/lib/ovirt/vm.rb CHANGED
@@ -82,7 +82,7 @@ module OVIRT
82
82
  } if(opts[:user_data_method] && opts[:user_data_method] == :custom_property)
83
83
  payloads {
84
84
  payload(:type => 'floppy') {
85
- _file(:name => "#{opts[:fileinject_path] || OVIRT::FILEINJECT_PATH}") { content(Base64::decode64(opts[:user_data])) }
85
+ file(:name => "#{opts[:fileinject_path] || OVIRT::FILEINJECT_PATH}") { content(Base64::decode64(opts[:user_data])) }
86
86
  }
87
87
  } if(opts[:user_data_method] && opts[:user_data_method] == :payload)
88
88
  }
data/rbovirt.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "rbovirt"
8
- s.version = "0.0.16"
8
+ s.version = "0.0.17"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Amos Benari"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rbovirt
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.16
4
+ version: 0.0.17
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -182,7 +182,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
182
182
  version: '0'
183
183
  requirements: []
184
184
  rubyforge_project:
185
- rubygems_version: 1.8.23
185
+ rubygems_version: 1.8.24
186
186
  signing_key:
187
187
  specification_version: 3
188
188
  summary: A Ruby client for oVirt REST API