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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4c3812464b6a61004cb50688f19270a955bbe0f3
4
- data.tar.gz: e7f68f5ee541f334c461b85b9bf229f5fb9d3d1c
3
+ metadata.gz: 9295f700cae5807201956c95bb52d2eb7bc6ab08
4
+ data.tar.gz: bfd04e0f598e3c3633b9b24c1c7d2640ffe0ec01
5
5
  SHA512:
6
- metadata.gz: 465d925aa31816cc4996bfe07666a0791796c49ab211cc414aebbc89896d20f0cf1ff961d8c4535cd4bda1e83626dc21091d37d31e68d6b1932f8a15aeb3dd7a
7
- data.tar.gz: '071799903439ad9539a1a8ed1644c15f98649bec02f3bac4d1228df9f2d994eed58cf01964b39fb4f12d04f5c4396a30f5a962c9787e3f334ab90f580b230717'
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
@@ -1,3 +1,3 @@
1
1
  module Mool
2
- VERSION = "3.0.2"
2
+ VERSION = "3.0.3"
3
3
  end
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.2
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.14
102
+ rubygems_version: 2.6.11
103
103
  signing_key:
104
104
  specification_version: 4
105
105
  summary: Get operative system information (Linux).