kanrisuru 0.8.3 → 0.8.4

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
  SHA256:
3
- metadata.gz: 7986958e7a5a32bb79f6f8cd225b73e996f68329e9adb95c324ad898efaa8bdc
4
- data.tar.gz: '02279420cd5ff6017234d4058847173f3be44810267e57c59cb2b09be8f9dadc'
3
+ metadata.gz: f7548306bf7e81fd29f475dfef82c4b8f0973448f22f3cb8882518ace8e70389
4
+ data.tar.gz: c069633d4408c38333cd3dacfade92678f0309a1b53e435238d6f0814598ec73
5
5
  SHA512:
6
- metadata.gz: 7fedbd06614d36213c5d7df56c22e1f88ecb5b41732704a02b41eff1272559db3f8dc22eaa1112188cd5b0204f4c81f40e1d7f66689c41ca2d34ef0c125fbd9e
7
- data.tar.gz: a451f3c5c4cb26ff0bf733371175c99f148ccd9531bcf0366b08d063b4ac495b1fdd3aafe47ff40b4a2cbd9df94b2de3c7dff8e0afa1f9717b3e54271a4ef75b
6
+ metadata.gz: fbd31bc19b021a3d904b8a9c3d167921a47c709ca05b0590fa1dab5d0032181d454b7da0572760cfebe36286456e3a10547bb14bd6fb60c71413de533daa48a8
7
+ data.tar.gz: '0710940fec60fab2802a9810d6b5a6bb48f575c8ef8661c2447fbe8dc445ac68a3fb174ed1dd6413689439303983ee229e2ebb08cc1b1c0e68007db3346c2219'
data/CHANGELOG.md CHANGED
@@ -1,9 +1,12 @@
1
+ ## Kanrisuru 0.8.4 (August 20, 2021) ##
2
+ * Convert `fsize` field to an `integer` for du disk module command.
3
+
1
4
  ## Kanrisuru 0.8.3 (August 20, 2021) ##
2
5
  * Fix bug with disk usage, `du` command by escaping the awk variables in the command.
3
- * Update `du` command to execute with shell user.
6
+ * Update `du` command to execute with shell user.
4
7
 
5
8
  ## Kanrisuru 0.8.2 (August 19, 2021) ##
6
- * Convert `major` and `minor` device field values to an `integer` in lsblk system module.
9
+ * Convert `major` and `minor` device field values to an `integer` in lsblk disk module.
7
10
 
8
11
  ## Kanrisuru 0.8.1 (August 19, 2021) ##
9
12
  * Fix `nodeps` flag value for `lsblk` command in disk module.
@@ -41,7 +41,8 @@ module Kanrisuru
41
41
 
42
42
  rows.map do |row|
43
43
  values = row.split
44
- size = convert ? Kanrisuru::Util::Bits.convert_bytes(values[0], :byte, convert) : values[0]
44
+ size = values[0].to_i
45
+ size = convert ? Kanrisuru::Util::Bits.convert_bytes(size, :byte, convert) : size
45
46
 
46
47
  DiskUsage.new(size, values[1])
47
48
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Kanrisuru
4
- VERSION = '0.8.3'
4
+ VERSION = '0.8.4'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kanrisuru
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.3
4
+ version: 0.8.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Mammina