enfcli 3.8.0.pre.alpha → 3.8.1.pre.alpha

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: fef441dacffa981c271943ac40b3e5f51578398af87480e38ce66b3c1e4e1ecb
4
- data.tar.gz: a4a9cf8bf7744a3c531acd0b8910486e77d48c1ee20d07d5bdb21eb6640560e2
3
+ metadata.gz: 52385151ec3bbc58d7d18f87fe0007ea95fa33700147696caef50f1c4e78f615
4
+ data.tar.gz: a7ab6559a2a88bb207f33c261805d9548eba4377ce7fc52b7c7c3cc28bd3b1bf
5
5
  SHA512:
6
- metadata.gz: 12a28d52907530654463ecb3aa8a836ea5e09fcadb255ca4b1ea39c53e7990d227db5a679baf40fe125d8a7bd1cbc7bf7acd9588a90763bc3f6ac71b3136009e
7
- data.tar.gz: ceb7a1bea95832a792842fda3307d5fc9dfe86b73ba39d7b4756fe2f4a6dc41df306ccd3b553c13db92f3b3186443ab077779cb0facab08a1cd94a5eeb7dfbcc
6
+ metadata.gz: 557a135931d5091b6e504c48a91227ca5c8fade7da6fa22daae9b5047a59fc3c52959c2d12da8ab8c76c5f7604bbde1a2b9e32c5a283794c2c2c33d623e9bcd0
7
+ data.tar.gz: 2845665bde97b189ac8984a042e6162876ad0b47d429fbbd1632ccb03cf9f471e2a0fe26f2a3a1de47487c3d0f65ff922e022fbdc101b18fa8144fee35db9742
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- enfcli (3.8.0.pre.alpha)
4
+ enfcli (3.8.1.pre.alpha)
5
5
  rest-client (~> 2.0)
6
6
  terminal-table
7
7
  thor (~> 0.20.0)
@@ -15,7 +15,7 @@ GEM
15
15
  crack (0.4.3)
16
16
  safe_yaml (~> 1.0.0)
17
17
  diff-lcs (1.3)
18
- domain_name (0.5.20190701)
18
+ domain_name (0.5.20180417)
19
19
  unf (>= 0.0.5, < 1.0.0)
20
20
  fuubar (2.3.2)
21
21
  rspec-core (~> 3.0)
@@ -324,10 +324,11 @@ module EnfCli
324
324
 
325
325
  update_hash = {}
326
326
  update_hash[:name] = name if name
327
- if wifi_id || mode
328
- update_hash[:config] = {}
329
- update_hash[:config][:mode] = mode if mode
330
- update_hash[:config][:wifi] = wifi_id if wifi_id
327
+ update_hash[:config] = {} if wifi_id || mode
328
+ update_hash[:config][:mode] = mode if mode
329
+ if wifi_id
330
+ update_hash[:config][:wifi] = {}
331
+ update_hash[:config][:wifi][:id] = wifi_id
331
332
  end
332
333
 
333
334
  profile = EnfApi::Captive.instance.update_profile id, update_hash
@@ -14,5 +14,5 @@
14
14
  # limitations under the License.
15
15
  #
16
16
  module EnfCli
17
- VERSION = '3.8.0-alpha'
17
+ VERSION = '3.8.1-alpha'
18
18
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: enfcli
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.8.0.pre.alpha
4
+ version: 3.8.1.pre.alpha
5
5
  platform: ruby
6
6
  authors:
7
7
  - Venkatakumar Srinivasan