hwid 0.2.9 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/hwid/base.rb +1 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1b82456af18716d338fc91d02aa0b480cc4484e2d13bfd36aa9f667ed637d41e
4
- data.tar.gz: ae2198c7e47d46b8b9455231c792b02c97063a161945a7a5ad71c6b302b115e5
3
+ metadata.gz: 910de3f9ea8a2711510dd0579cac4b9587edf52bda25f7564694876a2c3cbf24
4
+ data.tar.gz: 44956baab668dce61629500cd01603e528614f12d036a4923970288c080d30fb
5
5
  SHA512:
6
- metadata.gz: 8a68c9c3cf0c3285776b6defb4c798f6b46e753acbde534d500907d44772c2d229ff812300598565058593e506818171f7baf0fc6bc99f33c5661fa5c4daab8a
7
- data.tar.gz: 47f48d19bd5b310553dfcbae50f4cb9129c9603f3ca4a6bff556458704f9125b2d19136d3dedac3c94cb0beace110639fa4325df93e52efde67f9b10f2d5e5c9
6
+ metadata.gz: 4690b2b375681814e4d3bde057733a9dd5719314c486108dd54e39491388a6d8efb92498c8d34ad048c6aaf671ff4ad67010b94478364f1e89d176a5571ca850
7
+ data.tar.gz: b117c59bc084a297ea6f8f8521febe20d05747390ec7fb6660e8ea87fcc68c3f9a8b11b7765f4878ae3c9e99956c33d1730b3707d46674ef0a4362e0f0173209
@@ -65,7 +65,7 @@ module Hwid
65
65
  res="Serial: unknown"
66
66
  # lshw -quiet -class cpu -disable usb -disable network -disable pci -disable cpuinfo -disable dmi -disable memory -disable isapnp -disable ide -disable device-tree -disable spd | grep -oP '(serial: )\K.*
67
67
  # res=run_cmd("lshw -quiet -class cpu -disable usb -disable network -disable pci -disable cpuinfo -disable dmi -disable memory -disable isapnp -disable ide -disable device-tree -disable spd | grep -oP '(serial: )\\K.*'")
68
- res=run_cmd(" lshw -quiet -class cpu -class network -disable usb -disable pci -disable cpuinfo -disable dmi -disable memory -disable isapnp -disable ide -disable device-tree -disable spd | grep -oP '(serial: )\K.*'")
68
+ res=run_cmd("lshw -quiet -class cpu -class network -disable usb -disable pci -disable cpuinfo -disable dmi -disable memory -disable isapnp -disable ide -disable device-tree -disable spd | grep -oP '(serial: )\\K.*'")
69
69
  res=res.gsub("0000-","")
70
70
  res=res.gsub("\n","")
71
71
  #res=run_cmd("lshw | grep -A 10 '*-cpu' | grep -oP '(serial: )\\K.*'")
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hwid
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.9
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Scott Sproule