hwid 0.4.2 → 0.4.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/hwid/base.rb +1 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c96072e38d1e5e0588ee1e07933040f4a73e8575525d5259c94adac3b37196e0
|
4
|
+
data.tar.gz: 912ad6268eb868d51acf35458ee2fcfae60fbfe3515312d798a54fa4f3663ec9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0076ee5b029f906868342c64c9e46163c10afe5dbf811ff3690bbf9fa075becb110a9660c24e2329f045f1b50039007f6eb6a352399b052b29abc7e7e3813ae7
|
7
|
+
data.tar.gz: 774f65b97b8031f24d03d3ae395cba55335378fa0ea22006af033c26c6304d2ea8628a7a85b99c49d0bf2692cb263b55b85cb39ba5c0b089a50ac87217f1ba7d
|
data/lib/hwid/base.rb
CHANGED
@@ -22,6 +22,7 @@ module Hwid
|
|
22
22
|
# returns array of platforms
|
23
23
|
def get_platform
|
24
24
|
platform=[]
|
25
|
+
puts "Unname is `uname -a`"
|
25
26
|
platform << "raspberry" if (/arm-linux/ =~ RUBY_PLATFORM) != nil and `uname -a`.include?('armv6')
|
26
27
|
platform << "raspberry" if `uname -a`.include?('armv6')
|
27
28
|
platform << "raspberry 2" if (/armv7l-linux/ =~ RUBY_PLATFORM) != nil and !`uname -a`.include?('armv6')
|