wpa_cli_web 0.0.12 → 0.0.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/wpa_cli_web/access_point_list.rb +1 -1
- data/test/wpa_cli_web/access_point_list_test.rb +4 -2
- data/wpa_cli_web.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MDQ3YTA3N2ViN2Q1NzFmMTg4MmFmYzdlOTVjN2IzY2ZlMzljN2NkNw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ODQyZmJjYzQ4MWI4MDlmY2NjNGQ0ZTg0OTZlYmQ5YzAyYzk2NDE4OA==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
YTYxYmMxNDA4ZmM0NzIxYjc2YTdkZWM1ODY5ZTA5YmVlNGFjYjdhNWRlZjM1
|
10
|
+
NmEzYmZlYTExZmExMmE2OGI4NGUxNDdjZDdmMGI5NDA2ZTNlMzFmMTU3Y2E4
|
11
|
+
OTViZDAxN2Q1NjNiNTNlZWFmOTk3OWZjMDBkYmZhMWZkYTQ0ZTg=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ZWMxM2U5Y2JiMTc5NDlhNzgxMTQ4ZDFhYjRlOGQzMDFmNDgyZjEwZjY2MjQw
|
14
|
+
MThhOTMxZTc4NTM0NjgzOTQ5MTIwNDNmNTk5MGM3ODE0OTdhMjE3YmUxZTAz
|
15
|
+
MTc1MTFkMThlOGY1NjI3OGYwNDY4ZjRlMzE1ZTEyMTRmYTc0OWY=
|
@@ -12,6 +12,7 @@ bssid / frequency / signal level / flags / ssid
|
|
12
12
|
12:34:56:78:aa:bb 2437 -47 [WPA-EAP-TKIP][WPA2-EAP-CCMP][ESS] z_ssid
|
13
13
|
12:34:56:78:bb:cc 2412 -57 [WPA2-PSK-CCMP][ESS] a_ssid
|
14
14
|
43:34:56:78:bb:cc 2412 -87 [WPA-EAP-TKIP][WPA2-EAP-CCMP][ESS] z_ssid
|
15
|
+
12:34:56:78:bb:cc 2412 -57 [WPA2-PSK-CCMP][ESS] B_ssid
|
15
16
|
eos
|
16
17
|
mock_wrapper.expects(:scan_results).returns(response)
|
17
18
|
@access_point_list = AccessPointList.new(WpaCliRuby::WpaCli.new(mock_wrapper))
|
@@ -19,9 +20,10 @@ eos
|
|
19
20
|
|
20
21
|
describe "access_points" do
|
21
22
|
it "returns a list of unique, strongest access points sorted alphabetically" do
|
22
|
-
assert_equal
|
23
|
+
assert_equal 3, @access_point_list.access_points.size
|
23
24
|
assert_equal "a_ssid", @access_point_list.access_points[0].ssid
|
24
|
-
assert_equal "
|
25
|
+
assert_equal "B_ssid", @access_point_list.access_points[1].ssid
|
26
|
+
assert_equal "z_ssid", @access_point_list.access_points[2].ssid
|
25
27
|
end
|
26
28
|
end
|
27
29
|
end
|
data/wpa_cli_web.gemspec
CHANGED
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
6
|
spec.name = "wpa_cli_web"
|
7
|
-
spec.version = "0.0.
|
7
|
+
spec.version = "0.0.13"
|
8
8
|
spec.authors = ["Chris Lowis", "Andrew Nicolaou"]
|
9
9
|
spec.email = ["chris.lowis@gmail.com"]
|
10
10
|
spec.description = %q{Web interface for configuring wifi using wpa_cli}
|