mool 3.0.2 → 3.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mool/disk.rb +2 -1
- data/lib/mool/version.rb +1 -1
- 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: 9295f700cae5807201956c95bb52d2eb7bc6ab08
|
4
|
+
data.tar.gz: bfd04e0f598e3c3633b9b24c1c7d2640ffe0ec01
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 92f5b5228a1ce6f17d4b5e56602c9a44f363d033baca541b82f4dff876d99ae53f39324e4434180ed0ce6c96a4cb62387cc84bbe3c33fafe60636f3f36c8cb58
|
7
|
+
data.tar.gz: aa199535a5a1779253051220d8a415d1a742b8c1d15277580e867af655a0d5c19852878a30f599ba81e49d4601c348c9d26e7c64e89f3dce5638090cbcb24d97
|
data/lib/mool/disk.rb
CHANGED
@@ -101,7 +101,7 @@ module Mool
|
|
101
101
|
|
102
102
|
def partitions
|
103
103
|
return @partitions if defined? @partitions
|
104
|
-
return unless is_disk?
|
104
|
+
return [] unless is_disk?
|
105
105
|
|
106
106
|
@partitions = Mool::Command.partitions_command(
|
107
107
|
@path,
|
@@ -113,6 +113,7 @@ module Mool
|
|
113
113
|
|
114
114
|
def slaves
|
115
115
|
return @slaves if defined? @slaves
|
116
|
+
|
116
117
|
blocks = Mool::Command.dev_block_command.select do |entry|
|
117
118
|
File.directory?("#{entry}/slaves/#{@devname}")
|
118
119
|
end
|
data/lib/mool/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mool
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- g.edera
|
@@ -99,7 +99,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
99
99
|
version: '0'
|
100
100
|
requirements: []
|
101
101
|
rubyforge_project:
|
102
|
-
rubygems_version: 2.6.
|
102
|
+
rubygems_version: 2.6.11
|
103
103
|
signing_key:
|
104
104
|
specification_version: 4
|
105
105
|
summary: Get operative system information (Linux).
|