manageiq-smartstate 0.5.3 → 0.5.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/fs/modules/LinuxMount.rb +18 -14
- data/lib/manageiq/smartstate/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: a0ef0a15e10489e8bc2a06cf1cf8a1732fc9cade
|
4
|
+
data.tar.gz: db6e93260808919d00578cfdfb1251fae213016d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6f85a2daa2ed024ef55f16bdf88ae9d713a4d0ca705fd4d57ddd13b0fdaa87d6f68273a6fc8b41f337bd6a63e4f4618a3c5348d073d6c8861362f9b1cb49eaf7
|
7
|
+
data.tar.gz: 68a90dea48f0a0ceefed907e16701c0fe495bfacc46652763046328c3acdc71a899aa4e6348c7bb9300f0ada79d56dd214fefcb41c5c62e1fdb11a94e2474fa4
|
@@ -309,23 +309,27 @@ module LinuxMount
|
|
309
309
|
#
|
310
310
|
components.each do |c|
|
311
311
|
ncp = File.join(cp, c)
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
312
|
+
cp = follow_all_symlinks(ncp)
|
313
|
+
end
|
314
|
+
cp
|
315
|
+
end
|
316
|
+
|
317
|
+
def follow_all_symlinks(link_ptr)
|
318
|
+
#
|
319
|
+
# Each filesystem knows how to check for,
|
320
|
+
# and read its own links.
|
321
|
+
#
|
322
|
+
no_more_links = false
|
323
|
+
until no_more_links
|
324
|
+
filesys, link_ptr = getFsPathBase(link_ptr)
|
325
|
+
if filesys.fileSymLink?(link_ptr)
|
326
|
+
symlink = getSymLink(filesys, linkptr)
|
327
|
+
link_ptr = symlink[0, 1] == '/' ? symlink : File.join(File.dirname(link_ptr), symlink)
|
324
328
|
else
|
325
|
-
|
329
|
+
no_more_links = true
|
326
330
|
end
|
327
331
|
end
|
328
|
-
|
332
|
+
link_ptr
|
329
333
|
end
|
330
334
|
|
331
335
|
def getSymLink(fs, p)
|
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.4
|
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-03-
|
11
|
+
date: 2020-03-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: azure-armrest
|
@@ -559,7 +559,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
559
559
|
- !ruby/object:Gem::Version
|
560
560
|
version: '0'
|
561
561
|
requirements: []
|
562
|
-
|
562
|
+
rubyforge_project:
|
563
|
+
rubygems_version: 2.6.12
|
563
564
|
signing_key:
|
564
565
|
specification_version: 4
|
565
566
|
summary: ManageIQ SmartState Analysis
|