hwid 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +7 -1
- data/lib/hwid/base.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2d8f59d2a11ea5c7f6989bfb1fc5cb05b114f3c9
|
4
|
+
data.tar.gz: c0e5a283e8cba2a5d9fcbd057143d76430ab2e3f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f2db283b294bc44e775e3c8381484fd52fa338409513f0e02ff6b34727ae125447aa7527fa8896263d5e54eeff23949fc9c2071d2cf9ca6c49c3841d599fc35a
|
7
|
+
data.tar.gz: 8cb48d2597376d0072aec5a4e1ae6c7c6c28d7b518cbdc2f7aebd3ae79f55b86bdd0cacd2a2667b4311b8378a7e149eab15e8ff20e43ad0b8f92c3e48bc063e9
|
data/Gemfile.lock
CHANGED
data/lib/hwid/base.rb
CHANGED
@@ -61,7 +61,7 @@ module Hwid
|
|
61
61
|
end
|
62
62
|
def get_linuxdebian_id
|
63
63
|
res="Serial: unknown"
|
64
|
-
res=run_cmd("lshw | grep -A 10 '*-cpu' | grep -oP '(serial: )\K.*'").
|
64
|
+
res=run_cmd("lshw | grep -A 10 '*-cpu' | grep -oP '(serial: )\K.*'").first
|
65
65
|
puts "debian command result: #{res}"
|
66
66
|
res
|
67
67
|
end
|