wpa_cli_web 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/wpa_cli_web.rb +2 -2
  2. data/wpa_cli_web.gemspec +2 -2
  3. metadata +3 -2
data/lib/wpa_cli_web.rb CHANGED
@@ -32,7 +32,7 @@ class WpaCliWeb < Sinatra::Base
32
32
  eos
33
33
  end
34
34
 
35
- template :networks_edit do
35
+ template :networks_edit do
36
36
  <<-eos
37
37
  <h1><%= @ssid %></h1>
38
38
  <form method="post" action="/networks/<%= @id %>">
@@ -78,7 +78,7 @@ class WpaCliWeb < Sinatra::Base
78
78
  else
79
79
  wpa_cli_client.set_network(id, "key_mgmt", "NONE")
80
80
  end
81
- wpa_cli_client.enable_network(id)
81
+ wpa_cli_client.set_network(id, "disabled", 0)
82
82
  wpa_cli_client.save_config
83
83
 
84
84
  redirect "/restart"
data/wpa_cli_web.gemspec CHANGED
@@ -4,8 +4,8 @@ $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.1"
8
- spec.authors = ["Chris Lowis"]
7
+ spec.version = "0.0.2"
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}
11
11
  spec.summary = %q{Web interface for configuring wifi using wpa_cli}
metadata CHANGED
@@ -1,15 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wpa_cli_web
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
8
8
  - Chris Lowis
9
+ - Andrew Nicolaou
9
10
  autorequire:
10
11
  bindir: bin
11
12
  cert_chain: []
12
- date: 2013-08-22 00:00:00.000000000 Z
13
+ date: 2013-08-23 00:00:00.000000000 Z
13
14
  dependencies:
14
15
  - !ruby/object:Gem::Dependency
15
16
  name: sinatra