elb 0.0.5 → 0.0.6
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/lib/elb/deploy.rb +2 -2
- data/lib/elb/version.rb +1 -1
- metadata +4 -4
data/lib/elb/deploy.rb
CHANGED
|
@@ -42,11 +42,11 @@ module Elb
|
|
|
42
42
|
end
|
|
43
43
|
|
|
44
44
|
def drop_inbound
|
|
45
|
-
%x{iptables -A INPUT -j DROP -p tcp --destination-port 80 -i eth0}
|
|
45
|
+
%x{sudo /sbin/iptables -A INPUT -j DROP -p tcp --destination-port 80 -i eth0}
|
|
46
46
|
end
|
|
47
47
|
|
|
48
48
|
def add_inbound
|
|
49
|
-
%x{iptables -D INPUT -j DROP -p tcp --destination-port 80 -i eth0}
|
|
49
|
+
%x{sudo /sbin/iptables -D INPUT -j DROP -p tcp --destination-port 80 -i eth0}
|
|
50
50
|
end
|
|
51
51
|
|
|
52
52
|
|
data/lib/elb/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: elb
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 19
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 0
|
|
9
|
-
-
|
|
10
|
-
version: 0.0.
|
|
9
|
+
- 6
|
|
10
|
+
version: 0.0.6
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Tung Nguyen
|
|
@@ -15,7 +15,7 @@ autorequire:
|
|
|
15
15
|
bindir: bin
|
|
16
16
|
cert_chain: []
|
|
17
17
|
|
|
18
|
-
date: 2014-07-
|
|
18
|
+
date: 2014-07-24 00:00:00 Z
|
|
19
19
|
dependencies:
|
|
20
20
|
- !ruby/object:Gem::Dependency
|
|
21
21
|
name: thor
|