manageiq-smartstate 0.5.5 → 0.5.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fs/ntfs/data_run.rb +1 -1
- data/lib/manageiq/smartstate/version.rb +1 -1
- data/lib/metadata/util/find_class_methods.rb +3 -2
- data/lib/metadata/util/md5deep.rb +10 -5
- 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: 4729941d5aff9f2ca6340b2149861dd653a6cff7
|
4
|
+
data.tar.gz: 7e1950524b9e30770e564c0d96f3197ed19d0d35
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fb04e9043fb7dca137006e30d43d85082f1dfe1668960166449cbccbe6c8b83fa214b158bbd2f08a2b2fb3b118806906dcea86c0432443fa43cba242f8b54ac0
|
7
|
+
data.tar.gz: 85cc17ab86cdf47c71fd2758869ce36f1cfb62ad3040023b4f3fa1152039356b9473297246b7b987f99992835d9d03fe918b97044ec926ac70db45dff3d255bf
|
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)
|
@@ -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
|
@@ -78,7 +78,7 @@ class MD5deep
|
|
78
78
|
processFile(File.dirname(f), File.basename(f), @xml.root)
|
79
79
|
end
|
80
80
|
rescue => err
|
81
|
-
$log.
|
81
|
+
$log.error "process_each_glob_file: Exception #{err} rescued"
|
82
82
|
$log.debug err.backtrace.join("\n")
|
83
83
|
end
|
84
84
|
|
@@ -226,10 +226,15 @@ class MD5deep
|
|
226
226
|
# Create hash for requested digests
|
227
227
|
digest = create_digest_hash
|
228
228
|
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
229
|
+
begin
|
230
|
+
fileName.seek(0, IO::SEEK_SET)
|
231
|
+
# Loop over each digest and add the file contents
|
232
|
+
while (buf = fileName.read(10_240_000))
|
233
|
+
digest.each_pair { |_k, v| v << buf }
|
234
|
+
end
|
235
|
+
rescue => err
|
236
|
+
$log.error "Error #{err} reading file to calculate digest"
|
237
|
+
$log.debug err.backtrace.join("\n")
|
233
238
|
end
|
234
239
|
end
|
235
240
|
|
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.5.
|
4
|
+
version: 0.5.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ManageIQ Developers
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-04-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: azure-armrest
|