hwid 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/Gemfile.lock +1 -1
- data/README.md +0 -1
- data/bin/hwid.rb +1 -2
- data/lib/hwid/base.rb +2 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1acbcdbe7bf7996eb7316f0116a2fa4d0d84bb95
|
4
|
+
data.tar.gz: 9664e30eaef53b64a8b7eacfc6472be47758f0f2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4397d9754e7a17a59d088936a212624c3e11810adfba52cbc52856df59ba5c9b1af1857ef3bc5b5143dfdbfe75c132fe60e2ffcd83ebbdba5828531e8cd864fa
|
7
|
+
data.tar.gz: 9d99f51347eed347d64da3ea1e1c6cfe81a5642ad961b5bcfb6160ebb7c90d744dea818c7c0eee69f3cdfbaef2a73062df0cffb5bd613c8c50b9e8160a69ce3c
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
data/bin/hwid.rb
CHANGED
data/lib/hwid/base.rb
CHANGED
@@ -18,9 +18,10 @@ module Hwid
|
|
18
18
|
end
|
19
19
|
def systemid
|
20
20
|
rasp=(/arm-linux/ =~ RUBY_PLATFORM) != nil
|
21
|
+
rasp2=(/armv7l-linux/ =~ RUBY_PLATFORM) != nil
|
21
22
|
mac=(/darwin/ =~ RUBY_PLATFORM) != nil
|
22
23
|
linux=(/linux/ =~ RUBY_PLATFORM) != nil
|
23
|
-
return get_rasp_id if rasp
|
24
|
+
return get_rasp_id if rasp or rasp2
|
24
25
|
return get_mac_id if mac
|
25
26
|
return get_linux_id if linux
|
26
27
|
end
|
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.1.
|
4
|
+
version: 0.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Scott Sproule
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-09-01 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
|
@@ -76,17 +76,17 @@ require_paths:
|
|
76
76
|
- lib
|
77
77
|
required_ruby_version: !ruby/object:Gem::Requirement
|
78
78
|
requirements:
|
79
|
-
- -
|
79
|
+
- - ">="
|
80
80
|
- !ruby/object:Gem::Version
|
81
81
|
version: '0'
|
82
82
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
83
83
|
requirements:
|
84
|
-
- -
|
84
|
+
- - ">="
|
85
85
|
- !ruby/object:Gem::Version
|
86
86
|
version: 1.3.4
|
87
87
|
requirements: []
|
88
88
|
rubyforge_project: hwid
|
89
|
-
rubygems_version: 2.
|
89
|
+
rubygems_version: 2.4.3
|
90
90
|
signing_key:
|
91
91
|
specification_version: 4
|
92
92
|
summary: Hardware id for mac and rasp pi (not secure)
|