fluent-plugin-specinfra_inventory 0.2.0 → 0.2.1
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4d769fc4785bae5e9fb1eb018ea939ff99692074
|
4
|
+
data.tar.gz: a561ced203709b9e2a38266f5e1fd4bdbb878605
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 002a491c838f02020aa747ab68eadee955988217855de1beb5a8bc4bf29fd92dba49a15aa9ac4ad3e31f9499bb5f8f2ff973d00ea88db1a94d113ce2c69d262c
|
7
|
+
data.tar.gz: ce340754872b1e544cd96c2b15ab9a332c5763932176373e75e06a3121a1719efeac17206ec696f34343640126233e17714fc53a1c23c70ea59145a3b0e8534d
|
data/CHANGELOG.md
CHANGED
@@ -66,7 +66,7 @@ describe Fluent::SpecinfraInventoryInput do
|
|
66
66
|
|
67
67
|
describe "record on nested hash" do
|
68
68
|
example { expect(@d.instance.record("cpu.0")['cpu.0']).to include('vendor_id' => 1) }
|
69
|
-
example { expect(@d.instance.record("cpu.0")['cpu.0']).to include('cache_size' =>
|
69
|
+
example { expect(@d.instance.record("cpu.0")['cpu.0']).to include('cache_size' => 524288) }
|
70
70
|
end
|
71
71
|
|
72
72
|
describe "cast_num" do
|
@@ -80,7 +80,7 @@ describe Fluent::SpecinfraInventoryInput do
|
|
80
80
|
describe "cast_byte" do
|
81
81
|
example { expect(@d.instance._cast_byte("12")).to eq "12" }
|
82
82
|
example { expect(@d.instance._cast_byte("0kb")).to eq 0 }
|
83
|
-
example { expect(@d.instance._cast_byte("99kb")).to eq
|
83
|
+
example { expect(@d.instance._cast_byte("99kb")).to eq 101376 }
|
84
84
|
example { expect(@d.instance._cast_byte("akb")).to eq "akb" }
|
85
85
|
example { expect(@d.instance._cast_byte("1%")).to eq "1%" }
|
86
86
|
end
|