bonethug 0.0.89 → 0.0.90
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/bonethug/cli.rb +2 -2
- data/lib/bonethug/version.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 77465f9d1f7dcb7689e30cc85424e067c18ad1be
|
4
|
+
data.tar.gz: 9656c1ec690b082490a5644e25b3ed627b0c9c02
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fef8f05c7fddd713500edd19d956b775466d67d45b99d6378ff9aa21e016cbb94f4dada4de129a40299a0eaaf97535549aff3770ae090c7b391f87d703100a9c
|
7
|
+
data.tar.gz: 847f44b43896b22a6bca0e9173c9503d3662e5ade9844722c62291d0cd01c92cc7feb1fc633740b405a903bede568b4a6a056785b42c82a067aa626194e40bf9
|
data/lib/bonethug/cli.rb
CHANGED
@@ -189,7 +189,7 @@ module Bonethug
|
|
189
189
|
else # apache
|
190
190
|
|
191
191
|
# install the vhost
|
192
|
-
system "
|
192
|
+
system "echo \"#{vh}\" | sudo tee #{conf_path}/#{vhost}.conf"
|
193
193
|
|
194
194
|
end
|
195
195
|
|
@@ -205,7 +205,7 @@ module Bonethug
|
|
205
205
|
# this needs work
|
206
206
|
system "sudo sed -i '/## BONETHUG-#{vhost} ##/,/## END_BONETHUG-#{vhost} ##/ s/.*//g' #{path}"
|
207
207
|
escaped = (hosts).gsub(/"/, '\"')
|
208
|
-
system "
|
208
|
+
system "echo \"#{escaped}\" | sudo tee -a #{path}"
|
209
209
|
|
210
210
|
# reload apache - linux - but need a debian specific look up
|
211
211
|
system "sudo a2ensite #{vhost} && sudo service apache2 restart" if RbConfig::CONFIG['target_os'] =~ /linux/i
|
data/lib/bonethug/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bonethug
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.90
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- azt3k
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-10-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|