hostess 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/{README → README.md} +9 -1
  2. data/Rakefile +5 -5
  3. data/bin/hostess +2 -1
  4. metadata +21 -9
@@ -8,4 +8,12 @@ Usage
8
8
 
9
9
  $ sudo hostess create mysite.local /Users/myuser/Sites/mysite
10
10
 
11
- This will create a new virtual host in your Apache configuration, setup your Mac's DNS to respond to that domain name, and restart Apache to make the new virtual host live.
11
+ This will create a new virtual host in your Apache configuration, setup your Mac's DNS to respond to that domain name, and restart Apache to make the new virtual host live.
12
+
13
+ $ hostess help
14
+ Usage:
15
+ hostess create domain directory - create a new virtual host
16
+ hostess delete domain - delete a virtual host
17
+ hostess list - list hostess virtual hosts
18
+ hostess help - this info
19
+
data/Rakefile CHANGED
@@ -15,7 +15,7 @@ spec = Gem::Specification.new do |s|
15
15
 
16
16
  # Change these as appropriate
17
17
  s.name = "hostess"
18
- s.version = "0.1.1"
18
+ s.version = "0.1.2"
19
19
  s.summary = "Manage simple apache virtual hosts"
20
20
  s.author = "Chris Roos, James Adam"
21
21
  s.email = "chris@chrisroos.co.uk"
@@ -25,13 +25,13 @@ spec = Gem::Specification.new do |s|
25
25
 
26
26
  # You should probably have a README of some kind. Change the filename
27
27
  # as appropriate
28
- s.extra_rdoc_files = %w(README)
29
- s.rdoc_options = %w(--main README)
28
+ s.extra_rdoc_files = %w(README.md)
29
+ s.rdoc_options = %w(--main README.md)
30
30
 
31
31
  s.require_paths = ['bin']
32
32
 
33
33
  # Add any extra files to include in the gem (like your README)
34
- s.files = %w(README Rakefile) + Dir.glob("{bin}/**/*")
34
+ s.files = %w(README.md Rakefile) + Dir.glob("{bin}/**/*")
35
35
  s.executables = FileList["bin/**"].map { |f| File.basename(f) }
36
36
 
37
37
  # If you want to depend on other gems, add them here, along with any
@@ -111,4 +111,4 @@ begin
111
111
  end
112
112
  rescue LoadError
113
113
  puts "Rake SshDirPublisher is unavailable or your rubyforge environment is not configured."
114
- end
114
+ end
data/bin/hostess CHANGED
@@ -79,7 +79,7 @@ EndBanner
79
79
  end
80
80
  private
81
81
  def apache_log_directory
82
- File.expand_path(File.join('~', 'tmp', SCRIPT, 'log', @options.domain))
82
+ File.expand_path(File.join('~', "." + SCRIPT, 'log', @options.domain))
83
83
  end
84
84
  def create_apache_log_directory
85
85
  FileUtils.mkdir_p(apache_log_directory)
@@ -99,6 +99,7 @@ EndBanner
99
99
  ServerName <%= domain %>
100
100
  DocumentRoot <%= directory %>
101
101
  <Directory <%= directory %>>
102
+ Options FollowSymLinks
102
103
  AllowOverride All
103
104
  allow from all
104
105
  </Directory>
metadata CHANGED
@@ -1,7 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hostess
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ hash: 31
5
+ prerelease: false
6
+ segments:
7
+ - 0
8
+ - 1
9
+ - 2
10
+ version: 0.1.2
5
11
  platform: ruby
6
12
  authors:
7
13
  - Chris Roos, James Adam
@@ -9,7 +15,7 @@ autorequire:
9
15
  bindir: bin
10
16
  cert_chain: []
11
17
 
12
- date: 2009-06-15 00:00:00 +01:00
18
+ date: 2010-11-20 00:00:00 +00:00
13
19
  default_executable:
14
20
  dependencies: []
15
21
 
@@ -20,37 +26,43 @@ executables:
20
26
  extensions: []
21
27
 
22
28
  extra_rdoc_files:
23
- - README
29
+ - README.md
24
30
  files:
25
- - README
31
+ - README.md
26
32
  - Rakefile
27
33
  - bin/hostess
28
- has_rdoc: true
34
+ has_rdoc: false
29
35
  homepage: http://chrisroos.co.uk
30
36
  licenses: []
31
37
 
32
38
  post_install_message:
33
39
  rdoc_options:
34
40
  - --main
35
- - README
41
+ - README.md
36
42
  require_paths:
37
43
  - bin
38
44
  required_ruby_version: !ruby/object:Gem::Requirement
45
+ none: false
39
46
  requirements:
40
47
  - - ">="
41
48
  - !ruby/object:Gem::Version
49
+ hash: 3
50
+ segments:
51
+ - 0
42
52
  version: "0"
43
- version:
44
53
  required_rubygems_version: !ruby/object:Gem::Requirement
54
+ none: false
45
55
  requirements:
46
56
  - - ">="
47
57
  - !ruby/object:Gem::Version
58
+ hash: 3
59
+ segments:
60
+ - 0
48
61
  version: "0"
49
- version:
50
62
  requirements: []
51
63
 
52
64
  rubyforge_project: hostess
53
- rubygems_version: 1.3.3
65
+ rubygems_version: 1.3.7
54
66
  signing_key:
55
67
  specification_version: 3
56
68
  summary: Manage simple apache virtual hosts