hwid 0.1.4 → 0.1.5

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
  SHA1:
3
- metadata.gz: ae578623aadb82add60583d3f22297c397ed64b2
4
- data.tar.gz: c56ff62737da375ba13af64ef9f9b09081b18635
3
+ metadata.gz: 3d32bbef3deb4468c6390515d14ad8ff60b37ee6
4
+ data.tar.gz: 23977fd022384631e90de804d510303435cae18f
5
5
  SHA512:
6
- metadata.gz: 798db1548252def785bc993711ef8bd5ebe5bbafcf556f3ece47704069659dd7a7b4f1c17c4b20cc503d19fbb764a9befda51f5379453687c16c147fd705045b
7
- data.tar.gz: 650009f4aeb88107238b06faa746c9f63da3e61858d52bfb34982dd0699e5a453774da7f22338eeeb195a254796fd331277b123a61c4f68a0fdf2b7450f1452e
6
+ metadata.gz: c77a798313622eed2aebcec9a370b2d5a7b6c7674a823061503908db04c9180ad39e07039f8abff530ae7f6f835fd8477cb94c160814b479a7ae73ebdc8ff6a7
7
+ data.tar.gz: f620a385f1451118a74356cd233f2bc4b7c3657c532654ed3dc9ef149163065e217d072f623da2a6cf59b80a95d964647cd8923d168dbd63433a38e1c4906e55
@@ -43,7 +43,7 @@ module Hwid
43
43
  end
44
44
  def get_linux_id
45
45
  res="Serial: unknown"
46
- ifconfig_avail = !(ifconfig_path = `which ifconfig`.strip).empty? && File.executable(ifconfig_path)
46
+ ifconfig_avail = !(ifconfig_path = `which ifconfig`.strip).empty? && File.executable?(ifconfig_path)
47
47
  res=run_cmd('ifconfig | grep HWaddr').split.last if ifconfig_avail
48
48
  res
49
49
  end
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.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Scott Sproule