hwid 0.3.2 → 0.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/hwid-0.3.2.gem +0 -0
- data/hwid.gemspec +1 -1
- data/lib/hwid/base.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 838db53f8809add27ff2c04ffc860b1a5c1c643f67d4de1b859c4206bb0de653
|
|
4
|
+
data.tar.gz: 32aac1b8014de46a4f98b690f3006cad9e5b9f05852cbfd1cebc7a5148ee0f33
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3e2f3db416287f9dd923f7e2d22a1c053b04b24979fa847b31a1af6e94c329cc5dfd2b533bc5dad31b524619e58dfb32ed7b2ae09ffc1c9049ca0067c9ae1b15
|
|
7
|
+
data.tar.gz: 89b80f249c84c9b8933b43f17b71d7bbd18f3ae4dbb290560e9deb4a9016f07f9e799c0afd0ca89ec39fdc2550afcc4599411ac80991754d23fb78913967f2a4
|
data/hwid-0.3.2.gem
ADDED
|
Binary file
|
data/hwid.gemspec
CHANGED
data/lib/hwid/base.rb
CHANGED
|
@@ -58,7 +58,7 @@ module Hwid
|
|
|
58
58
|
self.parse(res)
|
|
59
59
|
end
|
|
60
60
|
def get_mac_id
|
|
61
|
-
res=run_cmd('/usr/sbin/system_profiler SPHardwareDataType -timeout
|
|
61
|
+
res=run_cmd('/usr/sbin/system_profiler SPHardwareDataType -timeout 5 | grep Serial')
|
|
62
62
|
self.parse(res)
|
|
63
63
|
end
|
|
64
64
|
def get_linuxdebian_id
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: hwid
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Scott Sproule
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-07
|
|
11
|
+
date: 2020-12-07 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: Get a rough hardware id of the system that the gem is running on
|
|
14
14
|
email: scott.sproule@ficonab.com
|
|
@@ -21,6 +21,7 @@ files:
|
|
|
21
21
|
- Gemfile.lock
|
|
22
22
|
- README.md
|
|
23
23
|
- bin/hwid.rb
|
|
24
|
+
- hwid-0.3.2.gem
|
|
24
25
|
- hwid.gemspec
|
|
25
26
|
- lib/hwid.rb
|
|
26
27
|
- lib/hwid/base.rb
|