simple_host_monitoring 1.1.6 → 1.1.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/simple_host_monitoring.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7aa1f1f2ddf2259b2ddb3886b37d30c6338d75f5
|
4
|
+
data.tar.gz: 4e86c13bf7f0dcdab8a4a6e35d14978f4d95b1af
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1cd81405cc05cd08799491ab6794a965017d3cf5c699f424b164ca31c559dd4a6f573d5821c52ab1959478c3d138ecacf68356acf802c5d8547aff821c336a3d
|
7
|
+
data.tar.gz: de480eb748b1d79e873664e6a343480478b3d3b33f77db03fd08f89ec0fad485c5b4168c96087f5517cc1a1c22dfdac5cde846e1d7f288032b3844e693fda7bf
|
@@ -45,7 +45,7 @@ module BlackStack
|
|
45
45
|
# TODO: Esta funcion no retorna la mac address completa
|
46
46
|
# TODO: Validar que no se retorne una macaddress virtual, con todos valores en 0
|
47
47
|
def self.macaddress()
|
48
|
-
return `
|
48
|
+
return `ifconfig | grep ether`.split[1].upcase.strip.gsub(':', '-') unless BlackStack::RemoteHost.new.windows_os?
|
49
49
|
|
50
50
|
s = `ipconfig /all`
|
51
51
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simple_host_monitoring
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Leandro Daniel Sardi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-10-
|
11
|
+
date: 2021-10-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: websocket
|