hwid 0.3.2 → 0.3.3

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: 435704cced440b14a5acd917ee320fd80d7554158678b714d6677912049f3920
4
- data.tar.gz: e84f5730ad744e0e40d11897f08ee57ad1b4de5cd17e485d4337f061a46c4527
3
+ metadata.gz: 838db53f8809add27ff2c04ffc860b1a5c1c643f67d4de1b859c4206bb0de653
4
+ data.tar.gz: 32aac1b8014de46a4f98b690f3006cad9e5b9f05852cbfd1cebc7a5148ee0f33
5
5
  SHA512:
6
- metadata.gz: e06d03aa7342f371497921396d8275a5dd7eab3074f22bf4caa93974e41c4cfac9ea01600db286054d890fdef59efc16ea8212986a8c5507b4fefbd3e0434331
7
- data.tar.gz: 4798b145ba45655c3bbbf42fcd800e12ec022c440f1c3609978aa5ca9d5ce57ae7a415adc985f18044174468ddb812e0ecaa84a03df59eba3502cf0ea42ae4d2
6
+ metadata.gz: 3e2f3db416287f9dd923f7e2d22a1c053b04b24979fa847b31a1af6e94c329cc5dfd2b533bc5dad31b524619e58dfb32ed7b2ae09ffc1c9049ca0067c9ae1b15
7
+ data.tar.gz: 89b80f249c84c9b8933b43f17b71d7bbd18f3ae4dbb290560e9deb4a9016f07f9e799c0afd0ca89ec39fdc2550afcc4599411ac80991754d23fb78913967f2a4
Binary file
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "hwid"
3
- s.version = "0.3.2"
3
+ s.version = "0.3.3"
4
4
  s.author = "Scott Sproule"
5
5
  s.email = "scott.sproule@ficonab.com"
6
6
  s.homepage = "http://github.com/semdinsp/hwid"
@@ -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 0 | grep Serial')
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.2
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-29 00:00:00.000000000 Z
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