blavoshost 0.2.1 → 0.2.2

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.
Files changed (4) hide show
  1. data/VERSION +1 -1
  2. data/bin/blavoshost +4 -1
  3. data/blavoshost.gemspec +1 -1
  4. metadata +3 -3
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.1
1
+ 0.2.2
data/bin/blavoshost CHANGED
@@ -432,7 +432,10 @@ module Hipe
432
432
  puts "and go to:"
433
433
  puts " http://#{host}.local/"
434
434
  end
435
+ `sudo #{@path.apachectl} restart`
435
436
  `open http://#{host}.local/`
437
+ puts 'If this was a new directory, you will need to chown this back to your user.'
438
+ puts ' chown -R user:staff ~/Sites/directory'
436
439
  'done.'
437
440
  end
438
441
 
@@ -705,7 +708,7 @@ module Hipe
705
708
  # raise Fail.new("already exists: #{doc_root}")
706
709
  end
707
710
  report << "mkdir -m 755 #{doc_root}"
708
- FileUtils.mkdir(doc_root,:mode=>0755, :verbose=>false,:noop=>dry_run?)
711
+ FileUtils.mkdir(doc_root, :mode=>0755, :verbose=>false,:noop=>dry_run?)
709
712
  index_html = File.join(doc_root,"index.html")
710
713
  my_new_homepage = HardCoded.web_page.clone
711
714
  my_new_homepage.title = host.gsub(/_|-/,' ')
data/blavoshost.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{blavoshost}
8
- s.version = "0.2.1"
8
+ s.version = "0.2.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Jerrod Blavos"]
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: blavoshost
3
3
  version: !ruby/object:Gem::Version
4
- hash: 21
4
+ hash: 19
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 1
10
- version: 0.2.1
9
+ - 2
10
+ version: 0.2.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Jerrod Blavos