manageiq-smartstate 0.7.0 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
1
  module ManageIQ
2
2
  module Smartstate
3
- VERSION = "0.7.0".freeze
3
+ VERSION = "0.8.0".freeze
4
4
  end
5
5
  end
@@ -16,7 +16,6 @@ require 'metadata/ScanProfile/VmScanProfiles'
16
16
  require 'VMwareWebService/MiqVim'
17
17
  require 'OpenStackExtract/MiqOpenStackVm/MiqOpenStackImage'
18
18
  require 'OpenStackExtract/MiqOpenStackVm/MiqOpenStackInstance'
19
- require 'VMwareWebService/MiqVimBroker'
20
19
 
21
20
  class MIQExtract
22
21
  attr_reader :systemFsMsg, :systemFs, :vm
@@ -5,7 +5,6 @@ require 'util/miq-xml'
5
5
  require 'VMwareWebService/MiqVimInventory'
6
6
  require 'timeout'
7
7
  require 'util/miq-extensions'
8
- require 'VMwareWebService/MiqVimBroker'
9
8
 
10
9
  class VmConfig
11
10
  using ManageIQ::UnicodeString
@@ -414,7 +413,7 @@ class VmConfig
414
413
  require 'VMwareWebService/MiqVim'
415
414
 
416
415
  password_decrypt = ManageIQ::Password.decrypt(ems_host['password'])
417
- hostVim = MiqVim.new(ems_host['host'], ems_host['user'], password_decrypt)
416
+ hostVim = MiqVim.new(:server => ems_host['host'], :username => ems_host['user'], :password => password_decrypt)
418
417
  $log.info "#{conn_reason}: Connection to [#{ems_display_text}] completed for VM:[#{vmCfgFile}] in [#{Time.now - st}] seconds"
419
418
  return hostVim
420
419
  rescue Timeout::Error => err
@@ -432,7 +431,7 @@ class VmConfig
432
431
 
433
432
  password_decrypt = ManageIQ::Password.decrypt(ems['password'])
434
433
  $log.debug "resolve_path_names: emsHost = #{ems['host']}, emsUser = #{ems['user']}" if $log
435
- vi = MiqVimInventory.new(ems['host'], ems['user'], password_decrypt)
434
+ vi = MiqVimInventory.new(:server => ems['host'], :username => ems['user'], :password => password_decrypt)
436
435
  return getDsName(filename, vi)
437
436
 
438
437
  rescue
@@ -1,7 +1,6 @@
1
1
  # encoding: US-ASCII
2
2
 
3
3
  require 'util/miq-xml'
4
- require 'enumerator'
5
4
  require 'miq_unicode'
6
5
 
7
6
  module MiqWin32
@@ -1,7 +1,6 @@
1
1
  require 'util/miq-xml'
2
2
  require 'digest/md5'
3
3
  require 'metadata/util/win32/remote-registry'
4
- require 'enumerator'
5
4
  require 'util/miq-encode'
6
5
 
7
6
  class FleeceHives
@@ -2,7 +2,6 @@
2
2
 
3
3
  require 'binary_struct'
4
4
  require 'miq_unicode'
5
- require 'enumerator'
6
5
  require 'util/miq-xml'
7
6
  require 'util/xml/xml_hash'
8
7
 
@@ -1,5 +1,3 @@
1
- require 'enumerator'
2
-
3
1
  module Win32
4
2
  class SystemPath
5
3
  # BCD WMI Provider Enumerations (values)
@@ -31,7 +31,7 @@ Gem::Specification.new do |spec|
31
31
  spec.add_dependency "rufus-lru", "~>1.0.3"
32
32
  spec.add_dependency "sys-uname", "~>1.2.1"
33
33
  spec.add_dependency "uuidtools", "~>2.1"
34
- spec.add_dependency "vmware_web_service", "~>2.0"
34
+ spec.add_dependency "vmware_web_service", "~>3.0"
35
35
 
36
36
  spec.add_development_dependency "bundler"
37
37
  spec.add_development_dependency "camcorder"
@@ -40,6 +40,7 @@ Gem::Specification.new do |spec|
40
40
  spec.add_development_dependency "rake"
41
41
  spec.add_development_dependency "rspec", "~> 3.0"
42
42
  spec.add_development_dependency "simplecov"
43
+ spec.add_development_dependency "sqlite3"
43
44
  spec.add_development_dependency "vcr", "~>3.0.2"
44
45
  spec.add_development_dependency "webmock", "~>2.3.1"
45
46
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: manageiq-smartstate
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - ManageIQ Developers
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-01-28 00:00:00.000000000 Z
11
+ date: 2021-07-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -170,14 +170,14 @@ dependencies:
170
170
  requirements:
171
171
  - - "~>"
172
172
  - !ruby/object:Gem::Version
173
- version: '2.0'
173
+ version: '3.0'
174
174
  type: :runtime
175
175
  prerelease: false
176
176
  version_requirements: !ruby/object:Gem::Requirement
177
177
  requirements:
178
178
  - - "~>"
179
179
  - !ruby/object:Gem::Version
180
- version: '2.0'
180
+ version: '3.0'
181
181
  - !ruby/object:Gem::Dependency
182
182
  name: bundler
183
183
  requirement: !ruby/object:Gem::Requirement
@@ -276,6 +276,20 @@ dependencies:
276
276
  - - ">="
277
277
  - !ruby/object:Gem::Version
278
278
  version: '0'
279
+ - !ruby/object:Gem::Dependency
280
+ name: sqlite3
281
+ requirement: !ruby/object:Gem::Requirement
282
+ requirements:
283
+ - - ">="
284
+ - !ruby/object:Gem::Version
285
+ version: '0'
286
+ type: :development
287
+ prerelease: false
288
+ version_requirements: !ruby/object:Gem::Requirement
289
+ requirements:
290
+ - - ">="
291
+ - !ruby/object:Gem::Version
292
+ version: '0'
279
293
  - !ruby/object:Gem::Dependency
280
294
  name: vcr
281
295
  requirement: !ruby/object:Gem::Requirement
@@ -604,7 +618,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
604
618
  - !ruby/object:Gem::Version
605
619
  version: '0'
606
620
  requirements: []
607
- rubygems_version: 3.0.3
621
+ rubygems_version: 3.2.5
608
622
  signing_key:
609
623
  specification_version: 4
610
624
  summary: ManageIQ SmartState Analysis