panopticon 0.1.0 → 0.1.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
  SHA1:
3
- metadata.gz: c80e381ea888d082a8bfe63c05a72e722f84f70a
4
- data.tar.gz: 7668b347e08bb3eee49d4e778ad3d8f489676e2c
3
+ metadata.gz: 269d46d754fd186a8baf0e84d3fdca49d5ffd46c
4
+ data.tar.gz: 7c3bc274ea36810f190488372c3ab613f8e6337a
5
5
  SHA512:
6
- metadata.gz: 8e078780cf16c947e7e4b7b26cf211ba2881cd57c038d4dc71ced1d908068881e01b60ff7940e51b4e6da9ae60b2200fb4a28c8b609fbd1ca9381cf395bbb831
7
- data.tar.gz: 2aadfc4eb37f30b4bee129997520b4e5e9297a2e8e7092d262d8c0442f8b88e9a986654f14f9aca633df05fab06005aa31e7dc4d13989a24eeb058363322d6d6
6
+ metadata.gz: 6fd35ad8afc8d6babe5e2da3bba73c28d56d21790b2b37cb87122f806c6b2dded4dd1d9aa6a95d656851dd546e2c2d1678782b5c4550818bb4afe97576ca167a
7
+ data.tar.gz: fba64db2a28a7b00d25d18689f70c45e5d3d3d0cb30d8b6d885c43cfbd811a08f42286812abc3e05e69daa8f794270d6a242e23a928943cdd5a23493b705300c
@@ -1,3 +1,3 @@
1
1
  module Panopticon
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
@@ -94,7 +94,7 @@ module Panopticon
94
94
  unless system("ip link set #{@ifname} up")
95
95
  raise "failed to turn up #{@ifname}"
96
96
  end
97
- unless system("iw wlan0 set channel #{@current_channel}")
97
+ unless system("iw #{@ifname} set channel #{@current_channel}")
98
98
  raise "failed to set channel #{@current_channel} on #{@ifname}"
99
99
  end
100
100
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: panopticon
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - enukane
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-12-02 00:00:00.000000000 Z
11
+ date: 2016-12-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler