kanrisuru 0.8.1 → 0.8.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/kanrisuru/core/disk.rb +4 -4
- data/lib/kanrisuru/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ce41108c8201af2a48ac2453f8dc3fb993869e9264a8754d603a11d09ffe1cb5
|
4
|
+
data.tar.gz: 542d34622a949d0eb5ddddc1d7403f13e9e37dfb39cb88b589c7655a2a34a3e4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7aea2688091ff8449f21eb11cd2fdcb51d71563538fd9c9e38a484770adb8745663a3132314b0001d9e6206dbd57533fe2626af1c59e2ada6d0ea394e2fdd113
|
7
|
+
data.tar.gz: 054a8612edecb94b79bd6b7488096ae12d4fee790d17cf295d4a04f397282ae2c9f5e4a977a37145bd4fc37bf0896a2a9bbd43098762ff65496de29804aa6a0b
|
data/CHANGELOG.md
CHANGED
data/lib/kanrisuru/core/disk.rb
CHANGED
@@ -244,8 +244,8 @@ module Kanrisuru
|
|
244
244
|
current_device.fs_type = value
|
245
245
|
when 'MAJ:MIN'
|
246
246
|
maj, min = value.split(':')
|
247
|
-
current_device.maj_dev = maj
|
248
|
-
current_device.min_dev = min
|
247
|
+
current_device.maj_dev = maj ? maj.to_i : nil
|
248
|
+
current_device.min_dev = min ? min.to_i : nil
|
249
249
|
when 'MOUNTPOINT'
|
250
250
|
current_device.mount_point = value
|
251
251
|
when 'SIZE'
|
@@ -281,8 +281,8 @@ module Kanrisuru
|
|
281
281
|
|
282
282
|
LsblkDevice.new(
|
283
283
|
device['name'],
|
284
|
-
maj_min ? maj_min.split(':')[0] : nil,
|
285
|
-
maj_min ? maj_min.split(':')[1] : nil,
|
284
|
+
maj_min ? maj_min.split(':')[0].to_i : nil,
|
285
|
+
maj_min ? maj_min.split(':')[1].to_i : nil,
|
286
286
|
device['rm'],
|
287
287
|
device['ro'],
|
288
288
|
device['owner'],
|
data/lib/kanrisuru/version.rb
CHANGED