manageiq-smartstate 0.5.5 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/README.md +1 -2
- data/lib/MiqVm/MiqVm.rb +0 -140
- data/lib/OpenStackExtract/MiqOpenStackVm/MiqOpenStackImage.rb +1 -2
- data/lib/OpenStackExtract/MiqOpenStackVm/MiqOpenStackInstance.rb +1 -2
- data/lib/VolumeManager/MiqLdm.rb +1 -1
- data/lib/db/MiqSqlite/MiqSqlite3Cell.rb +2 -3
- data/lib/fs/ext3/superblock.rb +1 -1
- data/lib/fs/ext4/superblock.rb +2 -2
- data/lib/fs/modules/LinuxMount.rb +3 -3
- data/lib/fs/ntfs/attrib_object_id.rb +1 -1
- data/lib/fs/ntfs/data_run.rb +1 -1
- data/lib/fs/xfs/allocation_group.rb +1 -1
- data/lib/fs/xfs/bmap_btree_block.rb +1 -1
- data/lib/fs/xfs/superblock.rb +1 -1
- data/lib/manageiq/smartstate/version.rb +1 -1
- data/lib/metadata/MIQExtract/MIQExtract.rb +0 -1
- data/lib/metadata/VmConfig/VmConfig.rb +2 -2
- data/lib/metadata/util/find_class_methods.rb +4 -3
- data/lib/metadata/util/md5deep.rb +21 -13
- data/lib/metadata/util/win32/Win32EventLog.rb +2 -2
- data/lib/metadata/util/win32/peheader.rb +4 -6
- data/lib/miq_tempfile.rb +15 -0
- data/lib/{lib/tasks → tasks}/azure.rake +0 -0
- data/manageiq-smartstate.gemspec +3 -2
- metadata +27 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: dc46ede682ac6c4b95558f1856c26b8bedda0cc01a8d4302d72530cf9cf01cbc
|
4
|
+
data.tar.gz: ded7f8e35edf8a05db918015aaec80b934256232df374a428eb5e22a7911f1ac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ecb7a9753e7863f0a1c2e755e238d45ba88036dd8660a5a71507157347e034e324ff5e5352a056fb7f840aeeb5f761a1224d9172aa7986b71aee9c967ff68211
|
7
|
+
data.tar.gz: 24ffa299fb984257c85b907a7acd57fd4c364512af79dda73b3c73b6ed610a1f2c61de34750433090d81092659754f6820d16416ea470cdb4ffac8ee86f8352b
|
data/README.md
CHANGED
@@ -1,10 +1,9 @@
|
|
1
1
|
# ManageIQ::Smartstate
|
2
2
|
|
3
3
|
[![Gem Version](https://badge.fury.io/rb/manageiq-smartstate.svg)](http://badge.fury.io/rb/manageiq-smartstate)
|
4
|
-
[![Build Status](https://travis-ci.
|
4
|
+
[![Build Status](https://travis-ci.com/ManageIQ/manageiq-smartstate.svg)](https://travis-ci.com/ManageIQ/manageiq-smartstate)
|
5
5
|
[![Code Climate](https://codeclimate.com/github/ManageIQ/manageiq-smartstate.svg)](https://codeclimate.com/github/ManageIQ/manageiq-smartstate)
|
6
6
|
[![Test Coverage](https://codeclimate.com/github/ManageIQ/manageiq-smartstate/badges/coverage.svg)](https://codeclimate.com/github/ManageIQ/manageiq-smartstate/coverage)
|
7
|
-
[![Dependency Status](https://gemnasium.com/ManageIQ/manageiq-smartstate.svg)](https://gemnasium.com/ManageIQ/manageiq-smartstate)
|
8
7
|
[![Security](https://hakiri.io/github/ManageIQ/manageiq-smartstate/master.svg)](https://hakiri.io/github/ManageIQ/manageiq-smartstate/master)
|
9
8
|
|
10
9
|
[![Chat](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/ManageIQ/manageiq-smartstate?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
|
data/lib/MiqVm/MiqVm.rb
CHANGED
@@ -205,143 +205,3 @@ class MiqVm
|
|
205
205
|
(xml)
|
206
206
|
end
|
207
207
|
end # class MiqVm
|
208
|
-
|
209
|
-
if __FILE__ == $0
|
210
|
-
require 'metadata/util/win32/boot_info_win'
|
211
|
-
|
212
|
-
# vmDir = File.join(ENV.fetch("HOME", '.'), 'VMs')
|
213
|
-
vmDir = "/volumes/WDpassport/Virtual Machines"
|
214
|
-
puts "vmDir = #{vmDir}"
|
215
|
-
|
216
|
-
targetLv = "rpolv2"
|
217
|
-
rootLv = "LogVol00"
|
218
|
-
|
219
|
-
require 'logger'
|
220
|
-
$log = Logger.new(STDERR)
|
221
|
-
$log.level = Logger::DEBUG
|
222
|
-
|
223
|
-
#
|
224
|
-
# *** Test start
|
225
|
-
#
|
226
|
-
|
227
|
-
# vmCfg = File.join(vmDir, "cacheguard/cacheguard.vmx")
|
228
|
-
# vmCfg = File.join(vmDir, "Red Hat Linux.vmwarevm/Red Hat Linux.vmx")
|
229
|
-
# vmCfg = File.join(vmDir, "MIQ Server Appliance - Ubuntu MD - small/MIQ Server Appliance - Ubuntu.vmx")
|
230
|
-
# vmCfg = File.join(vmDir, "winxpDev.vmwarevm/winxpDev.vmx")
|
231
|
-
vmCfg = File.join(vmDir, "Win2K_persistent/Windows 2000 Professional.vmx")
|
232
|
-
# vmCfg = File.join(vmDir, "Win2K_non_persistent/Windows 2000 Professional.vmx")
|
233
|
-
puts "VM config file: #{vmCfg}"
|
234
|
-
|
235
|
-
ost = OpenStruct.new
|
236
|
-
ost.openParent = true
|
237
|
-
|
238
|
-
vm = MiqVm.new(vmCfg, ost)
|
239
|
-
|
240
|
-
puts "\n*** Disk Files:"
|
241
|
-
vm.vmConfig.getDiskFileHash.each do |k, v|
|
242
|
-
puts "\t#{k}\t#{v}"
|
243
|
-
end
|
244
|
-
|
245
|
-
puts "\n*** configHash:"
|
246
|
-
vm.vmConfig.getHash.each do |k, v|
|
247
|
-
puts "\t#{k} => #{v}"
|
248
|
-
end
|
249
|
-
|
250
|
-
tlv = nil
|
251
|
-
rlv = nil
|
252
|
-
puts "\n*** Visible Volumes:"
|
253
|
-
vm.volumeManager.visibleVolumes.each do |vv|
|
254
|
-
puts "\tDisk type: #{vv.diskType}"
|
255
|
-
puts "\tDisk sig: #{vv.diskSig}"
|
256
|
-
puts "\tStart LBA: #{vv.lbaStart}"
|
257
|
-
if vv.respond_to?(:logicalVolume)
|
258
|
-
puts "\t\tLV name: #{vv.logicalVolume.lvName}"
|
259
|
-
puts "\t\tLV UUID: #{vv.logicalVolume.lvId}"
|
260
|
-
tlv = vv if vv.logicalVolume.lvName == targetLv
|
261
|
-
rlv = vv if vv.logicalVolume.lvName == rootLv
|
262
|
-
end
|
263
|
-
end
|
264
|
-
|
265
|
-
# raise "#{targetLv} not found" if !tlv
|
266
|
-
#
|
267
|
-
# tlv.seek(0, IO::SEEK_SET)
|
268
|
-
# rs = tlv.read(2040)
|
269
|
-
# puts "\n***** START *****"
|
270
|
-
# puts rs
|
271
|
-
# puts "****** END ******"
|
272
|
-
#
|
273
|
-
# tlv.seek(2048*512*5119, IO::SEEK_SET)
|
274
|
-
# rs = tlv.read(2040)
|
275
|
-
# puts "\n***** START *****"
|
276
|
-
# puts rs
|
277
|
-
# puts "****** END ******"
|
278
|
-
#
|
279
|
-
# raise "#{rootLv} not found" if !rlv
|
280
|
-
#
|
281
|
-
# puts "\n*** Mounting #{rootLv}"
|
282
|
-
# rfs = MiqFS.getFS(rlv)
|
283
|
-
# puts "\tFS Type: #{rfs.fsType}"
|
284
|
-
# puts "\t*** Root-level files and directories:"
|
285
|
-
# rfs.dirForeach("/") { |de| puts "\t\t#{de}" }
|
286
|
-
|
287
|
-
puts "\n***** Detected Guest OSs:"
|
288
|
-
raise "No OSs detected" if vm.rootTrees.length == 0
|
289
|
-
vm.rootTrees.each do |rt|
|
290
|
-
puts "\t#{rt.guestOS}"
|
291
|
-
if rt.guestOS == "Linux"
|
292
|
-
puts "\n\t\t*** /etc/fstab contents:"
|
293
|
-
rt.fileOpen("/etc/fstab", &:read).each_line do |fstl|
|
294
|
-
next if fstl =~ /^#.*$/
|
295
|
-
puts "\t\t\t#{fstl}"
|
296
|
-
end
|
297
|
-
end
|
298
|
-
end
|
299
|
-
|
300
|
-
vm.rootTrees.each do |rt|
|
301
|
-
if rt.guestOS == "Linux"
|
302
|
-
# tdirArr = [ "/", "/boot", "/var/www/miq", "/var/www/miq/vmdb/log", "/var/lib/mysql" ]
|
303
|
-
tdirArr = ["/", "/boot", "/etc/init.d", "/etc/rc.d/init.d", "/etc/rc.d/rc0.d"]
|
304
|
-
|
305
|
-
tdirArr.each do |tdir|
|
306
|
-
begin
|
307
|
-
puts "\n*** Listing #{tdir} directory (1):"
|
308
|
-
rt.dirForeach(tdir) { |de| puts "\t\t#{de}" }
|
309
|
-
puts "*** end"
|
310
|
-
|
311
|
-
puts "\n*** Listing #{tdir} directory (2):"
|
312
|
-
rt.chdir(tdir)
|
313
|
-
rt.dirForeach { |de| puts "\t\t#{de}" }
|
314
|
-
puts "*** end"
|
315
|
-
rescue => err
|
316
|
-
puts "*** #{err}"
|
317
|
-
end
|
318
|
-
end
|
319
|
-
|
320
|
-
# lf = rt.fileOpen("/etc/rc0.d/S01halt")
|
321
|
-
# puts "\n*** Contents of /etc/rc0.d/S01halt:"
|
322
|
-
# puts lf.read
|
323
|
-
# puts "*** END"
|
324
|
-
# lf.close
|
325
|
-
#
|
326
|
-
# lfn = "/etc/rc0.d/S01halt"
|
327
|
-
# puts "Is #{lfn} a symbolic link? #{rt.fileSymLink?(lfn)}"
|
328
|
-
# puts "#{lfn} => #{rt.getLinkPath(lfn)}"
|
329
|
-
else # Windows
|
330
|
-
tdirArr = ["c:/", "e:/", "e:/testE2", "f:/"]
|
331
|
-
|
332
|
-
tdirArr.each do |tdir|
|
333
|
-
puts "\n*** Listing #{tdir} directory (1):"
|
334
|
-
rt.dirForeach(tdir) { |de| puts "\t\t#{de}" }
|
335
|
-
puts "*** end"
|
336
|
-
|
337
|
-
puts "\n*** Listing #{tdir} directory (2):"
|
338
|
-
rt.chdir(tdir)
|
339
|
-
rt.dirForeach { |de| puts "\t\t#{de}" }
|
340
|
-
puts "*** end"
|
341
|
-
end
|
342
|
-
end
|
343
|
-
end
|
344
|
-
|
345
|
-
vm.unmount
|
346
|
-
puts "...done"
|
347
|
-
end
|
data/lib/VolumeManager/MiqLdm.rb
CHANGED
@@ -5,7 +5,6 @@ require 'enumerator'
|
|
5
5
|
|
6
6
|
require 'binary_struct'
|
7
7
|
require_relative 'MiqSqlite3Util'
|
8
|
-
require_relative 'MiqSqlite3Page'
|
9
8
|
|
10
9
|
module MiqSqlite3DB
|
11
10
|
class MiqSqlite3Cell
|
@@ -150,8 +149,8 @@ module MiqSqlite3DB
|
|
150
149
|
when 2 then return 2, 'integer'
|
151
150
|
when 3 then return 3, 'integer'
|
152
151
|
when 4 then return 4, 'integer'
|
153
|
-
when
|
154
|
-
when
|
152
|
+
when 5 then return 6, 'integer'
|
153
|
+
when 6 then return 8, 'integer'
|
155
154
|
when 7 then return 8, 'float'
|
156
155
|
when 8 then return 0, 'false'
|
157
156
|
when 9 then return 0, 'true'
|
data/lib/fs/ext3/superblock.rb
CHANGED
data/lib/fs/ext4/superblock.rb
CHANGED
@@ -4,7 +4,7 @@ require 'fs/ext4/group_descriptor_table'
|
|
4
4
|
require 'fs/ext4/inode'
|
5
5
|
|
6
6
|
require 'binary_struct'
|
7
|
-
require '
|
7
|
+
require 'uuidtools'
|
8
8
|
require 'stringio'
|
9
9
|
require 'memory_buffer'
|
10
10
|
|
@@ -225,7 +225,7 @@ module Ext4
|
|
225
225
|
end
|
226
226
|
|
227
227
|
def groupDescriptorSize
|
228
|
-
@groupDescriptorSize ||= is_enabled_64_bit? ? @sb['group_desc_size'] : GDE_SIZE
|
228
|
+
@groupDescriptorSize ||= is_enabled_64_bit? ? @sb['group_desc_size'] : GDE_SIZE
|
229
229
|
end
|
230
230
|
|
231
231
|
def freeBytes
|
@@ -321,9 +321,9 @@ module LinuxMount
|
|
321
321
|
#
|
322
322
|
no_more_links = false
|
323
323
|
until no_more_links
|
324
|
-
filesys,
|
325
|
-
if filesys.fileSymLink?(
|
326
|
-
symlink = getSymLink(filesys,
|
324
|
+
filesys, tmp_link_ptr = getFsPathBase(link_ptr)
|
325
|
+
if filesys.fileSymLink?(tmp_link_ptr)
|
326
|
+
symlink = getSymLink(filesys, tmp_link_ptr)
|
327
327
|
link_ptr = symlink[0, 1] == '/' ? symlink : File.join(File.dirname(link_ptr), symlink)
|
328
328
|
else
|
329
329
|
no_more_links = true
|
data/lib/fs/ntfs/data_run.rb
CHANGED
@@ -282,7 +282,7 @@ module NTFS
|
|
282
282
|
|
283
283
|
@runSpec.each_slice(2) do |lcn, len|
|
284
284
|
total_clusters += len
|
285
|
-
next unless total_clusters > start_vcn
|
285
|
+
next unless lcn && len && total_clusters > start_vcn
|
286
286
|
|
287
287
|
start = lcn + (vcn - (total_clusters - len))
|
288
288
|
count = len - (start - lcn)
|
data/lib/fs/xfs/superblock.rb
CHANGED
@@ -364,7 +364,7 @@ class VmConfig
|
|
364
364
|
|
365
365
|
def resolve_ds_path(filename)
|
366
366
|
# TODO: Determine if we need to do any work here.
|
367
|
-
ds,
|
367
|
+
ds, _dir, _name = split_filename(filename)
|
368
368
|
return filename unless ds.nil?
|
369
369
|
|
370
370
|
@ds_replace ||= {}
|
@@ -373,7 +373,7 @@ class VmConfig
|
|
373
373
|
end
|
374
374
|
|
375
375
|
ds_filename = resolve_ds_path_with_vim(filename)
|
376
|
-
ds, dir,
|
376
|
+
ds, dir, _name = split_filename(ds_filename)
|
377
377
|
unless ds.nil?
|
378
378
|
idx = filename.index(dir)
|
379
379
|
replaced_str = filename[0, idx]
|
@@ -15,8 +15,9 @@ module FindClassMethods
|
|
15
15
|
|
16
16
|
ra = []
|
17
17
|
find(@search_path, glob_depth(glob)) do |p|
|
18
|
-
p = check_file(p, glob, flags)
|
19
|
-
|
18
|
+
if (p = check_file(p, glob, flags))
|
19
|
+
block_given? ? yield(p) : ra << p
|
20
|
+
end
|
20
21
|
end
|
21
22
|
ra.sort_by(&:downcase)
|
22
23
|
end
|
@@ -70,7 +71,7 @@ module FindClassMethods
|
|
70
71
|
return [] unless @fs.fileExists?(directory) && @fs.fileDirectory?(directory)
|
71
72
|
|
72
73
|
files = @fs.dirEntries(directory)
|
73
|
-
files
|
74
|
+
files -= [".", ".."]
|
74
75
|
files.sort!
|
75
76
|
files.reverse_each
|
76
77
|
rescue Errno::ENOENT, Errno::EACCES, Errno::ENOTDIR, Errno::ELOOP, Errno::ENAMETOOLONG
|
@@ -13,6 +13,8 @@ class MD5deep
|
|
13
13
|
def initialize(fs = nil, options = {})
|
14
14
|
@fullFileCount = 0
|
15
15
|
@fullDirCount = 0
|
16
|
+
@drive_letter = nil
|
17
|
+
|
16
18
|
# Create XML document
|
17
19
|
@xml = XmlHash.createDoc(:filesystem)
|
18
20
|
@fs = fs.kind_of?(MiqFS) ? fs : nil
|
@@ -72,13 +74,14 @@ class MD5deep
|
|
72
74
|
|
73
75
|
def process_each_glob_file(file_name)
|
74
76
|
FindClassMethods.glob(file_name, @fs) do |f|
|
75
|
-
#
|
76
|
-
# when scanning Win VMs from Linux where the path returned from
|
77
|
-
#
|
77
|
+
# Prepending @drive_letter to the file is a work-around for issues
|
78
|
+
# when scanning Win VMs from Linux where the path returned from glob
|
79
|
+
# does not include the drive letter.
|
80
|
+
f = File.join(@drive_letter, f)
|
78
81
|
processFile(File.dirname(f), File.basename(f), @xml.root)
|
79
82
|
end
|
80
83
|
rescue => err
|
81
|
-
$log.
|
84
|
+
$log.error "process_each_glob_file: Exception #{err} rescued"
|
82
85
|
$log.debug err.backtrace.join("\n")
|
83
86
|
end
|
84
87
|
|
@@ -98,7 +101,7 @@ class MD5deep
|
|
98
101
|
|
99
102
|
def processDir(path, x, xmlNode)
|
100
103
|
if x != "." && x != ".."
|
101
|
-
currFile = File.join(
|
104
|
+
currFile = File.join(path, x)
|
102
105
|
|
103
106
|
begin
|
104
107
|
if File.directory?(currFile)
|
@@ -117,7 +120,7 @@ class MD5deep
|
|
117
120
|
|
118
121
|
def process_dir_as_file(path, x, xml_node)
|
119
122
|
if x != "." && x != ".."
|
120
|
-
curr_dir = File.join(
|
123
|
+
curr_dir = File.join(path, x)
|
121
124
|
if isDir?(curr_dir)
|
122
125
|
xml_file_node = xml_node.add_element("file", "name" => x, "fqname" => curr_dir)
|
123
126
|
stat_hash = {}
|
@@ -129,7 +132,7 @@ class MD5deep
|
|
129
132
|
|
130
133
|
def processFile(path, x, xmlNode)
|
131
134
|
if (@opts.exclude.include?(x) == false) && x[0..0] != "$"
|
132
|
-
currFile = File.join(
|
135
|
+
currFile = File.join(path, x)
|
133
136
|
|
134
137
|
begin
|
135
138
|
# unless File.directory?(currFile) then
|
@@ -178,9 +181,9 @@ class MD5deep
|
|
178
181
|
|
179
182
|
def fileOpen(currFile)
|
180
183
|
if @fs
|
181
|
-
|
184
|
+
@fs.fileOpen(currFile)
|
182
185
|
else
|
183
|
-
|
186
|
+
File.open(currFile)
|
184
187
|
end
|
185
188
|
end
|
186
189
|
|
@@ -226,10 +229,15 @@ class MD5deep
|
|
226
229
|
# Create hash for requested digests
|
227
230
|
digest = create_digest_hash
|
228
231
|
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
232
|
+
begin
|
233
|
+
fileName.seek(0, IO::SEEK_SET)
|
234
|
+
# Loop over each digest and add the file contents
|
235
|
+
while (buf = fileName.read(10_240_000))
|
236
|
+
digest.each_pair { |_k, v| v << buf }
|
237
|
+
end
|
238
|
+
rescue => err
|
239
|
+
$log.error "Error #{err} reading file to calculate digest"
|
240
|
+
$log.debug err.backtrace.join("\n")
|
233
241
|
end
|
234
242
|
end
|
235
243
|
|
@@ -684,8 +684,8 @@ class Win32EventLog
|
|
684
684
|
reg.each_key do |subKey, _wtime|
|
685
685
|
subpath = "#{src}\\#{subKey}"
|
686
686
|
subKey.downcase!
|
687
|
-
Win32::Registry::HKEY_LOCAL_MACHINE.open(subpath) do |
|
688
|
-
|
687
|
+
Win32::Registry::HKEY_LOCAL_MACHINE.open(subpath) do |subreg|
|
688
|
+
subreg.each_value do |name, _type, data|
|
689
689
|
case name
|
690
690
|
when 'EventMessageFile', 'ParameterMessageFile', 'CategoryMessageFile' then
|
691
691
|
fn = data.to_s
|
@@ -15,8 +15,6 @@ class PEheader
|
|
15
15
|
IMAGE_NT_SIGNATURE = "PE\0\0"
|
16
16
|
IMAGE_DOS_SIGNATURE = "MZ"
|
17
17
|
|
18
|
-
attr_reader :imports, :icons, :messagetables, :versioninfo
|
19
|
-
|
20
18
|
def initialize(path)
|
21
19
|
@fname = path
|
22
20
|
@dataDirs = []
|
@@ -91,19 +89,19 @@ class PEheader
|
|
91
89
|
end
|
92
90
|
|
93
91
|
def imports
|
94
|
-
@
|
92
|
+
@imports ||= getImports
|
95
93
|
end
|
96
94
|
|
97
95
|
def icons
|
98
|
-
@
|
96
|
+
@icons ||= getIcons(@fBuf)
|
99
97
|
end
|
100
98
|
|
101
99
|
def messagetables
|
102
|
-
@
|
100
|
+
@messagetables ||= getMessagetables
|
103
101
|
end
|
104
102
|
|
105
103
|
def versioninfo
|
106
|
-
@
|
104
|
+
@versioninfo ||= getVersioninfo
|
107
105
|
end
|
108
106
|
|
109
107
|
# //////////////////////////////////////////////////////////////////////////
|
data/lib/miq_tempfile.rb
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
require 'delegate'
|
2
|
+
require 'tempfile'
|
3
|
+
|
4
|
+
class MiqTempfile < DelegateClass(Tempfile)
|
5
|
+
# TODO: share this definition with appliance console code.
|
6
|
+
MIQ_TMP_DIR = '/var/www/miq_tmp'.freeze
|
7
|
+
|
8
|
+
def initialize(basename, *options)
|
9
|
+
if File.directory?(MIQ_TMP_DIR)
|
10
|
+
super(Tempfile.new(basename, MIQ_TMP_DIR, *options))
|
11
|
+
else
|
12
|
+
super(Tempfile.new(basename, *options))
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
File without changes
|
data/manageiq-smartstate.gemspec
CHANGED
@@ -20,7 +20,7 @@ Gem::Specification.new do |spec|
|
|
20
20
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
21
21
|
spec.require_paths = ["lib"]
|
22
22
|
|
23
|
-
spec.add_dependency "azure-armrest", "~> 0.9
|
23
|
+
spec.add_dependency "azure-armrest", "~> 0.9"
|
24
24
|
spec.add_dependency "binary_struct", "~> 2.1"
|
25
25
|
spec.add_dependency "iniparse"
|
26
26
|
spec.add_dependency "linux_block_device", "~>0.2.1"
|
@@ -28,7 +28,8 @@ Gem::Specification.new do |spec|
|
|
28
28
|
spec.add_dependency "memory_buffer", ">=0.1.0"
|
29
29
|
spec.add_dependency "rufus-lru", "~>1.0.3"
|
30
30
|
spec.add_dependency "sys-uname", "~>1.2.1"
|
31
|
-
spec.add_dependency "
|
31
|
+
spec.add_dependency "uuidtools", "~>2.1"
|
32
|
+
spec.add_dependency "vmware_web_service", "~>2.0"
|
32
33
|
|
33
34
|
spec.add_development_dependency "bundler"
|
34
35
|
spec.add_development_dependency "rake"
|
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.
|
4
|
+
version: 0.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ManageIQ Developers
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-08-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: azure-armrest
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.9
|
19
|
+
version: '0.9'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.9
|
26
|
+
version: '0.9'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: binary_struct
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -122,20 +122,34 @@ dependencies:
|
|
122
122
|
- - "~>"
|
123
123
|
- !ruby/object:Gem::Version
|
124
124
|
version: 1.2.1
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: uuidtools
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - "~>"
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '2.1'
|
132
|
+
type: :runtime
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - "~>"
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '2.1'
|
125
139
|
- !ruby/object:Gem::Dependency
|
126
140
|
name: vmware_web_service
|
127
141
|
requirement: !ruby/object:Gem::Requirement
|
128
142
|
requirements:
|
129
143
|
- - "~>"
|
130
144
|
- !ruby/object:Gem::Version
|
131
|
-
version: '
|
145
|
+
version: '2.0'
|
132
146
|
type: :runtime
|
133
147
|
prerelease: false
|
134
148
|
version_requirements: !ruby/object:Gem::Requirement
|
135
149
|
requirements:
|
136
150
|
- - "~>"
|
137
151
|
- !ruby/object:Gem::Version
|
138
|
-
version: '
|
152
|
+
version: '2.0'
|
139
153
|
- !ruby/object:Gem::Dependency
|
140
154
|
name: bundler
|
141
155
|
requirement: !ruby/object:Gem::Requirement
|
@@ -263,7 +277,7 @@ dependencies:
|
|
263
277
|
- !ruby/object:Gem::Version
|
264
278
|
version: 1.0.0
|
265
279
|
description: ManageIQ SmartState Analysis
|
266
|
-
email:
|
280
|
+
email:
|
267
281
|
executables: []
|
268
282
|
extensions: []
|
269
283
|
extra_rdoc_files: []
|
@@ -483,7 +497,6 @@ files:
|
|
483
497
|
- lib/fs/xfs/short_form_directory_entry.rb
|
484
498
|
- lib/fs/xfs/short_form_header.rb
|
485
499
|
- lib/fs/xfs/superblock.rb
|
486
|
-
- lib/lib/tasks/azure.rake
|
487
500
|
- lib/manageiq-smartstate.rb
|
488
501
|
- lib/manageiq/smartstate.rb
|
489
502
|
- lib/manageiq/smartstate/util.rb
|
@@ -539,13 +552,15 @@ files:
|
|
539
552
|
- lib/metadata/util/win32/remote-registry.rb
|
540
553
|
- lib/metadata/util/win32/system_path_win.rb
|
541
554
|
- lib/metadata/util/win32/versioninfo.rb
|
555
|
+
- lib/miq_tempfile.rb
|
556
|
+
- lib/tasks/azure.rake
|
542
557
|
- log/.gitkeep
|
543
558
|
- manageiq-smartstate.gemspec
|
544
559
|
homepage: https://github.com/ManageIQ/manageiq-smartstate
|
545
560
|
licenses:
|
546
561
|
- Apache-2.0
|
547
562
|
metadata: {}
|
548
|
-
post_install_message:
|
563
|
+
post_install_message:
|
549
564
|
rdoc_options: []
|
550
565
|
require_paths:
|
551
566
|
- lib
|
@@ -560,9 +575,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
560
575
|
- !ruby/object:Gem::Version
|
561
576
|
version: '0'
|
562
577
|
requirements: []
|
563
|
-
|
564
|
-
|
565
|
-
signing_key:
|
578
|
+
rubygems_version: 3.1.3
|
579
|
+
signing_key:
|
566
580
|
specification_version: 4
|
567
581
|
summary: ManageIQ SmartState Analysis
|
568
582
|
test_files: []
|