opennebula 6.10.1 → 6.10.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d584a32fed229118ffbe16f0f785ff25d85ae6dba699deafb78997536a4011c8
4
- data.tar.gz: bc2e5bf010746e436295c48bae487f54ff3c39b2faae24f90a6ab22742abcdd3
3
+ metadata.gz: 05521e61ef3a50f232f6c0374ad78c1fa45cb8a4b643491590129a79296ae7a1
4
+ data.tar.gz: a9bc63b7e4b714de8c4de4c0f1928911dc47b9425b8d701fc33fa80c782e1ec7
5
5
  SHA512:
6
- metadata.gz: 93e03cb9d4a0638107a0a349fdcc0541bf639b47262a8e4ba87b55b12dfc8dbad534080034bd0d621a57a962dfd0a7fc1bc58e986400bc7bc4c368854abc8f7e
7
- data.tar.gz: c3bdb91b12d32e8c828aa30db8d4475829c28502017703acdc54478a136e7f82b5f1511f5fde245a042e6360e027c65effca4eab9b64d0a187ad94eab6181dc9
6
+ metadata.gz: f193bf2093a1b44197f0a0230d27cf9c05dffd46d5d945db93d3028ff58bae9a36fda41e2bd8cd3503ea5d468aee665d1c54ed10fe336b2c32cd4cb801dff8a9
7
+ data.tar.gz: 1e125fca63ab7aa69fe51e29008c3b44495ff80caf330d5763c81ab904fea70ee27ab9f51204b57a441f8793265961076fa0e3ea8232b5acf31feece55fff5cf
@@ -67,9 +67,7 @@ module DriverExecHelper
67
67
  # @param [String, nil] default_name alternative name for the script
68
68
  # @param [String, ''] directory to append to the scripts path for actions
69
69
  # @return [String] command line needed to execute the action
70
- def action_command_line(action, parameters,
71
- default_name = nil, directory = '')
72
-
70
+ def action_command_line(action, parameters, default_name = nil, directory = '')
73
71
  if action.is_a?(String) && action[0] == '/'
74
72
  return action + ' ' + parameters if parameters
75
73
 
@@ -110,9 +108,7 @@ module DriverExecHelper
110
108
  #
111
109
  # Sends a message to the OpenNebula core through stdout
112
110
  # rubocop:disable Metrics/ParameterLists
113
- def send_message(action = '-', result = RESULT[:failure],
114
- id = '-', info = '-')
115
-
111
+ def send_message(action = '-', result = RESULT[:failure], id = '-', info = '-')
116
112
  @send_mutex.synchronize do
117
113
  STDOUT.puts "#{action} #{result} #{id} #{info}"
118
114
  STDOUT.flush
@@ -51,7 +51,7 @@ end
51
51
  module CloudClient
52
52
 
53
53
  # OpenNebula version
54
- VERSION = '6.10.1'
54
+ VERSION = '6.10.2'
55
55
 
56
56
  # #########################################################################
57
57
  # Default location for the authentication file
data/lib/opennebula.rb CHANGED
@@ -79,5 +79,5 @@ require 'opennebula/backupjob_pool'
79
79
  module OpenNebula
80
80
 
81
81
  # OpenNebula version
82
- VERSION = '6.10.1'
82
+ VERSION = '6.10.2'
83
83
  end
data/lib/rest_client.rb CHANGED
@@ -86,13 +86,7 @@ module VCenterDriver
86
86
  new(connection)
87
87
  end
88
88
 
89
- def get_or_create_tag(
90
- api_client,
91
- category_id,
92
- tag_name,
93
- tag_description
94
- )
95
-
89
+ def get_or_create_tag(api_client, category_id, tag_name, tag_description)
96
90
  tag_api = VSphereAutomation::CIS::TaggingTagApi.new(api_client)
97
91
  tag = tag_api.list.value.find do |id|
98
92
  c = tag_api.get(id).value
data/lib/vi_client.rb CHANGED
@@ -239,8 +239,8 @@ module VCenterDriver
239
239
  begin
240
240
  orig_stderr = $stderr.clone
241
241
  orig_stdout = $stdout.clone
242
- $stderr.reopen File.new('/dev/null', 'w')
243
- $stdout.reopen File.new('/dev/null', 'w')
242
+ $stderr.reopen File.new(File::NULL, 'w')
243
+ $stdout.reopen File.new(File::NULL, 'w')
244
244
  retval = yield
245
245
  rescue StandardError => e
246
246
  $stdout.reopen orig_stdout
@@ -256,7 +256,7 @@ module VCenterDriver
256
256
  def self.in_stderr_silence
257
257
  begin
258
258
  orig_stderr = $stderr.clone
259
- $stderr.reopen File.new('/dev/null', 'w')
259
+ $stderr.reopen File.new(File::NULL, 'w')
260
260
  retval = yield
261
261
  rescue StandardError => e
262
262
  $stderr.reopen orig_stderr
data/lib/vm_template.rb CHANGED
@@ -1117,12 +1117,7 @@ module VCenterDriver
1117
1117
  one_vn
1118
1118
  end
1119
1119
 
1120
- def import_vcenter_nics(
1121
- opts,
1122
- vm_id = nil,
1123
- dc_name = nil
1124
- )
1125
-
1120
+ def import_vcenter_nics(opts, vm_id = nil, dc_name = nil)
1126
1121
  vi_client = opts[:vi_client]
1127
1122
  vc_uuid = opts[:vc_uuid]
1128
1123
  npool = opts[:npool]
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: 6.10.1
4
+ version: 6.10.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenNebula
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-11-06 00:00:00.000000000 Z
11
+ date: 2024-12-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri