hwid 0.4.4 → 0.4.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 +2 -2
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a026efd18eec5bbbbf010fc70042a5002a98118ae7084d59422b111099eb2c1f
4
- data.tar.gz: 7d37c477509db219459b659b2c526f7698828e552ef35572967f04f5cdb2da24
3
+ metadata.gz: b384f4c14d3ebd601ab9522c3af3a6c03f69e27950056fa3301afb3b76dc6a7c
4
+ data.tar.gz: fc47de366908605cdf864baa2c271c00cb79b537ab236271f5277586952afa7b
5
5
  SHA512:
6
- metadata.gz: 57f1c1a984759a680760de8836f53a32e91dbfa46c945d6c3eb053200e659112a5181d9686c64e012f28a8ba67f8f41d8490e03e48e9d929044f7a8377f60eb9
7
- data.tar.gz: 50f19e07b7ef730897f3b75773105791ac7c1e9967e25eb0ee45996a8cbc91cb4b11adb05a28611f5164796f2b69e47643494d2258d28bdb178c9c122df2d3a8
6
+ metadata.gz: 55c083bbb4e72f07e5a87c49a47e8352b3cf30d699becd0130a33d883f362458616c91e072213c72ebd772b4ee913122065c975e5aaf273c7a469a8bbb5ccc08
7
+ data.tar.gz: 157ed7d5230b5647ad9727317106f6360a9aa942c85238878200c3ba62bac68b50a6f0fabe764ca0c3d764273251c4a73467c7621f7ab66286423d1016010df1
@@ -23,7 +23,7 @@ module Hwid
23
23
  def get_platform
24
24
  platform=[]
25
25
  testos=`uname -a`
26
- puts "osname is #{testos}"
26
+ # puts "osname is #{testos}"
27
27
  platform << "raspberry" if (/arm-linux/ =~ RUBY_PLATFORM) != nil and `uname -a`.include?('armv6')
28
28
  platform << "raspberry" if `uname -a`.include?('armv6')
29
29
  platform << "raspberry 2" if (/armv7l-linux/ =~ RUBY_PLATFORM) != nil and !`uname -a`.include?('armv6')
@@ -39,7 +39,7 @@ module Hwid
39
39
  end
40
40
  def systemid
41
41
  platform=get_platform
42
- puts "debug: platform is #{platform} #{RUBY_PLATFORM}"
42
+ # puts "debug: platform is #{platform} #{RUBY_PLATFORM}"
43
43
  return get_rasp_id if platform.include?("raspberry")
44
44
  return get_rasp_id if platform.include?("raspberry 2")
45
45
  return get_mac_id if platform.include?("mac")
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.4.4
4
+ version: 0.4.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Scott Sproule