hostess 0.1.6 → 0.1.7
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/Rakefile +1 -1
- data/lib/hostess/virtual_host.rb +2 -2
- metadata +4 -4
data/Rakefile
CHANGED
@@ -20,7 +20,7 @@ spec = Gem::Specification.new do |s|
|
|
20
20
|
|
21
21
|
# Change these as appropriate
|
22
22
|
s.name = "hostess"
|
23
|
-
s.version = "0.1.
|
23
|
+
s.version = "0.1.7"
|
24
24
|
s.summary = "Manage simple apache virtual hosts"
|
25
25
|
s.author = "Chris Roos, James Adam"
|
26
26
|
s.email = "chris@chrisroos.co.uk"
|
data/lib/hostess/virtual_host.rb
CHANGED
@@ -54,8 +54,8 @@ module Hostess
|
|
54
54
|
template = <<-EOT
|
55
55
|
<VirtualHost *:80>
|
56
56
|
ServerName <%= domain %>
|
57
|
-
DocumentRoot <%= directory %>
|
58
|
-
<Directory <%= directory
|
57
|
+
DocumentRoot "<%= directory %>"
|
58
|
+
<Directory "<%= directory %>">
|
59
59
|
Options FollowSymLinks
|
60
60
|
AllowOverride All
|
61
61
|
allow from all
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hostess
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 21
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 7
|
10
|
+
version: 0.1.7
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Chris Roos, James Adam
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date:
|
18
|
+
date: 2011-04-15 00:00:00 +01:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|