enfcli 3.9.3.pre.beta → 3.9.4.pre.beta
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/enfcli/commands/captive.rb +7 -6
- data/lib/enfcli/version.rb +1 -1
- 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: 36cbebb43449be2cc644fc40b268c530b10512d2f87ea10d835d9b19cd4c93af
|
4
|
+
data.tar.gz: 6e598259a041d7468bb7ce9451a6a270be6cdca1a4298970b068cd8547dc1378
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3dd83a6746ddab4e57688d0f5863b3d9d0e1bed8e58dd6a77ed047769116cab65d1e0485ba0c1f0bbf21533d83ff1faef5d5f7d7acb06bba19f43ccebb3640ac
|
7
|
+
data.tar.gz: e62a8f6f5fe6d5fbab5a286b1c28fdde47325f328e851dc3e6529b3df7be2ed7c21e327b789a3d791c4ab0bea417c68b39bb2c2d92efd34df846581032c6d7be
|
data/Gemfile.lock
CHANGED
@@ -524,11 +524,12 @@ module EnfCli
|
|
524
524
|
uptime = device_status[:uptime]
|
525
525
|
refresh = device_status[:refresh_time]
|
526
526
|
refresh = '< not available >' unless refresh
|
527
|
-
|
527
|
+
wifi_status = device_status[:wifi][:status]
|
528
|
+
connected = wifi_status[:connected]
|
528
529
|
connected = '< not available >' unless connected
|
529
|
-
ssid =
|
530
|
-
ipv4 =
|
531
|
-
ipv6 =
|
530
|
+
ssid = wifi_status[:SSID]
|
531
|
+
ipv4 = wifi_status[:IPv4_addresses]
|
532
|
+
ipv6 = wifi_status[:IPv6_addresses]
|
532
533
|
wifi = device_status[:wifi][:config]
|
533
534
|
|
534
535
|
say "Serial Number : #{sn}"
|
@@ -539,14 +540,14 @@ module EnfCli
|
|
539
540
|
say " connected : #{connected}"
|
540
541
|
say " SSID : #{ssid}" if ssid
|
541
542
|
if ipv4
|
542
|
-
say " IPv4 addresses
|
543
|
+
say " IPv4 addresses :"
|
543
544
|
ipv4.each do |addr|
|
544
545
|
display_ipv4_addr(addr, 2)
|
545
546
|
end
|
546
547
|
end
|
547
548
|
|
548
549
|
if ipv6
|
549
|
-
say " IPv6 addresses
|
550
|
+
say " IPv6 addresses :"
|
550
551
|
ipv6.each do |addr|
|
551
552
|
display_ipv6_addr(addr, 2)
|
552
553
|
end
|
data/lib/enfcli/version.rb
CHANGED