opennebula 5.12.10 → 5.12.11
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.
- checksums.yaml +4 -4
- data/lib/cloud/CloudClient.rb +1 -1
- data/lib/opennebula/virtual_machine_pool.rb +4 -0
- data/lib/opennebula.rb +1 -1
- data/lib/vcenter_driver.rb +17 -3
- 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: e4b58536ab717d40009555f14c8c8fcda70410ae
|
|
4
|
+
data.tar.gz: 52a729f5f2682793b520ffe1082d3b853ed255fa
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 79bc6dd1459137866b3a2fa32547557a074ba510ceaf20d05703270526c40127682f58517f4e053880542d0e150dbf47f00ed8955ae9678fb8a4a58af9d9e901
|
|
7
|
+
data.tar.gz: 0b7bdfeee63cd6801c8833ee1dae3243065b62d5648c66995487a3ee0934099ae5880e193356a1bdcc2c0d1584f16504a04b0168570cd96b6f6c2d73fdae769b
|
data/lib/cloud/CloudClient.rb
CHANGED
|
@@ -450,6 +450,10 @@ module OpenNebula
|
|
|
450
450
|
private
|
|
451
451
|
|
|
452
452
|
def build_accounting(filter_flag, options, &block)
|
|
453
|
+
|
|
454
|
+
options[:start_time] = -1 if options[:start_time].nil?
|
|
455
|
+
options[:end_time] = -1 if options[:end_time].nil?
|
|
456
|
+
|
|
453
457
|
xml_str = @client.call(VM_POOL_METHODS[:accounting],
|
|
454
458
|
filter_flag,
|
|
455
459
|
options[:start_time],
|
data/lib/opennebula.rb
CHANGED
data/lib/vcenter_driver.rb
CHANGED
|
@@ -36,11 +36,25 @@ end
|
|
|
36
36
|
|
|
37
37
|
ENV['LANG'] = 'C'
|
|
38
38
|
|
|
39
|
+
# %%RUBYGEMS_SETUP_BEGIN%%
|
|
39
40
|
if File.directory?(GEMS_LOCATION)
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
41
|
+
real_gems_path = File.realpath(GEMS_LOCATION)
|
|
42
|
+
if !defined?(Gem) || Gem.path != [real_gems_path]
|
|
43
|
+
$LOAD_PATH.reject! {|l| l =~ /vendor_ruby/ }
|
|
44
|
+
|
|
45
|
+
# Suppress warnings from Rubygems
|
|
46
|
+
# https://github.com/OpenNebula/one/issues/5379
|
|
47
|
+
begin
|
|
48
|
+
verb = $VERBOSE
|
|
49
|
+
$VERBOSE = nil
|
|
50
|
+
require 'rubygems'
|
|
51
|
+
Gem.use_paths(real_gems_path)
|
|
52
|
+
ensure
|
|
53
|
+
$VERBOSE = verb
|
|
54
|
+
end
|
|
55
|
+
end
|
|
43
56
|
end
|
|
57
|
+
# %%RUBYGEMS_SETUP_END%%
|
|
44
58
|
|
|
45
59
|
$LOAD_PATH << LIB_LOCATION + '/ruby/vendors/rbvmomi/lib'
|
|
46
60
|
$LOAD_PATH << LIB_LOCATION + '/ruby'
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: opennebula
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 5.12.
|
|
4
|
+
version: 5.12.11
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- OpenNebula
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-
|
|
11
|
+
date: 2021-12-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: nokogiri
|