wifi-wand 2.19.0 → 2.19.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b3d9a52dffd83c2be845f91172481ee2df4c140d188c3374573f9c76cb43d199
4
- data.tar.gz: 2962e28498baa51617b5ec42b65304065c1e4aaafd109f2de3e3da1ba8ffde30
3
+ metadata.gz: b9da3f2d69b3deb5046f7ea3394a43235733d9784c41bf372febdcca09c5d15d
4
+ data.tar.gz: 63f83f663cb0ad11f8fe5087aeda730e8dcd4a5108dad4b84c653d37cd2cd21e
5
5
  SHA512:
6
- metadata.gz: 23a13c3964972c417dd20131718cb5614ad5a1bfccdd30ee2a52173fd0761ebe40981bd4b11e6c8808dfb3aaefc0a0178ccd8fad8d247fd6413776676af5bf3e
7
- data.tar.gz: 603dbd8e5eb821df3b42112eac3c5ba92b92e953a2913a56b813190491a69b8a4a91172a2963b05f350bf65340bd007332f63e0e94601130862316970cfafeef
6
+ metadata.gz: 0be501742d8ad2e8ac317bf622b6f448af53293a8b90e563768aba12cf49a79488b3e8897928300be1150c6d021aa531c2fb809db0e9ff1346813268b347693c
7
+ data.tar.gz: a645d6e65afb64c19bbca0dd3443fc1b92067084897384df8da330df876093bfd5906b754dc18826b59810aeab65050dc9a64918692a4f291361ada7f87a9b2c
data/RELEASE_NOTES.md CHANGED
@@ -1,8 +1,14 @@
1
+ ## v2.19.1
2
+
3
+ * Fix connected_network_name when wifi is on but no network is connected.
4
+
5
+
1
6
  ## v2.19.0
2
7
 
3
8
  * Replace `networksetup` with Swift script for connecting to a network.
4
9
  * For getting connected network name, replace `networksetup` with `ipconfig`.
5
10
 
11
+
6
12
  ## v2.18.0
7
13
 
8
14
  * Remove 'hotspot_login_required' informational item and logic (was not working correctly).
@@ -163,7 +163,7 @@ class MacOsModel < BaseModel
163
163
  return nil unless wifi_on? # no need to try
164
164
 
165
165
  command_output = run_os_command("ipconfig getsummary #{wifi_interface} | grep ' SSID :'", false)
166
- return nil if command_output.nil?
166
+ return nil if command_output.empty?
167
167
 
168
168
  command_output.split('SSID :').last.strip
169
169
  end
@@ -1,3 +1,3 @@
1
1
  module WifiWand
2
- VERSION = '2.19.0' unless defined?(VERSION)
2
+ VERSION = '2.19.1' unless defined?(VERSION)
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wifi-wand
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.19.0
4
+ version: 2.19.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Keith Bennett