sandboxer 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.
- data/README.md +1 -1
- data/lib/sandbox.rb +1 -3
- metadata +3 -3
data/README.md
CHANGED
data/lib/sandbox.rb
CHANGED
@@ -26,7 +26,7 @@ require 'digest/md5'
|
|
26
26
|
|
27
27
|
|
28
28
|
class Sandbox
|
29
|
-
VERSION = '0.1.
|
29
|
+
VERSION = '0.1.1'
|
30
30
|
def initialize
|
31
31
|
@debug = false
|
32
32
|
@sandbox = '/etc/hosts-sandbox'
|
@@ -184,7 +184,6 @@ class Sandbox
|
|
184
184
|
end
|
185
185
|
}
|
186
186
|
update_sandbox { | entries | entries << "#{domain} #{ip}" }
|
187
|
-
enable if :on == get_status
|
188
187
|
puts "Added '#{domain} #{ip}'"
|
189
188
|
status
|
190
189
|
end
|
@@ -196,7 +195,6 @@ class Sandbox
|
|
196
195
|
entries = entries.delete entry
|
197
196
|
end
|
198
197
|
}
|
199
|
-
enable if :on == get_status
|
200
198
|
puts "Removed '#{domain}'"
|
201
199
|
status
|
202
200
|
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sandboxer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 25
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 1
|
10
|
+
version: 0.1.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Justin Shreve
|