vrowser 0.0.4 → 0.0.5

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 +7 -0
  3. metadata +2 -2
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.4
1
+ 0.0.5
@@ -4,6 +4,7 @@
4
4
  require 'vrowser'
5
5
  require 'optparse'
6
6
  require 'vrowser/http_daemon'
7
+ require 'fileutils'
7
8
 
8
9
  options = {}
9
10
  parser = OptionParser.new{ |opts|
@@ -19,6 +20,12 @@ parser = OptionParser.new{ |opts|
19
20
  }
20
21
  parser.parse!
21
22
 
23
+ if ARGV.first == "sample"
24
+ p sample_config = File.expand_path(File.join(File.dirname(__FILE__), "../examples/config.yml"))
25
+ FileUtils.cp(sample_config, "./config.yml", :verbose => true)
26
+ exit(0)
27
+ end
28
+
22
29
  if options[:config_path].nil?
23
30
  parser.help.display
24
31
  exit(1)
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 4
9
- version: 0.0.4
8
+ - 5
9
+ version: 0.0.5
10
10
  platform: ruby
11
11
  authors:
12
12
  - kimoto