elb 0.0.5 → 0.0.6

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/elb/deploy.rb +2 -2
  2. data/lib/elb/version.rb +1 -1
  3. metadata +4 -4
@@ -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
 
@@ -1,3 +1,3 @@
1
1
  module Elb
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
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: 21
4
+ hash: 19
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 5
10
- version: 0.0.5
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-23 00:00:00 Z
18
+ date: 2014-07-24 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: thor