vrowser 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/VERSION +1 -1
  2. data/bin/vrowser +6 -2
  3. metadata +2 -2
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.5
1
+ 0.0.6
data/bin/vrowser CHANGED
@@ -6,7 +6,11 @@ require 'optparse'
6
6
  require 'vrowser/http_daemon'
7
7
  require 'fileutils'
8
8
 
9
- options = {}
9
+ options = {
10
+ :host => 'localhost',
11
+ :port => '3000',
12
+ :document_root => File.expand_path(File.join(File.dirname(__FILE__), '../public_html'))
13
+ }
10
14
  parser = OptionParser.new{ |opts|
11
15
  opts.banner = "Usage: #{File.basename($0)}"
12
16
  opts.on("-f", "--config-file=PATH", "specify config file"){ |v|
@@ -21,7 +25,7 @@ parser = OptionParser.new{ |opts|
21
25
  parser.parse!
22
26
 
23
27
  if ARGV.first == "sample"
24
- p sample_config = File.expand_path(File.join(File.dirname(__FILE__), "../examples/config.yml"))
28
+ sample_config = File.expand_path(File.join(File.dirname(__FILE__), "../examples/config.yml"))
25
29
  FileUtils.cp(sample_config, "./config.yml", :verbose => true)
26
30
  exit(0)
27
31
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 5
9
- version: 0.0.5
8
+ - 6
9
+ version: 0.0.6
10
10
  platform: ruby
11
11
  authors:
12
12
  - kimoto