visage-app 0.2.6 → 0.2.7

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/visage +3 -2
  3. metadata +2 -2
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.6
1
+ 0.2.7
data/bin/visage CHANGED
@@ -4,6 +4,7 @@ require 'pathname'
4
4
 
5
5
  require 'socket'
6
6
  fqdn = Socket.gethostbyname(Socket.gethostname).first
7
+ port = 9292
7
8
  $stdout.sync = true
8
9
  @root = Pathname.new(File.dirname(__FILE__)).parent.expand_path
9
10
  action = ARGV[0]
@@ -20,14 +21,14 @@ when "start"
20
21
  puts '|___/_/____/\__,_/\__, /\___/'
21
22
  puts ' /____/'
22
23
  puts
23
- puts "will be running at http://#{fqdn}:9292/"
24
+ puts "will be running at http://#{fqdn}:#{port}/"
24
25
  puts
25
26
  require @root.join('lib/visage-app')
26
27
  puts "Looking for RRDs in #{Visage::Config.rrddir}"
27
28
  puts
28
29
 
29
30
  config = @root.join('lib/visage/config.ru').to_s
30
- server = Rack::Server.new(:config => config, :Port => 9292)
31
+ server = Rack::Server.new(:config => config, :Port => port, :server => "webrick")
31
32
  server.start
32
33
  when "genapache"
33
34
  require 'socket'
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 2
8
- - 6
9
- version: 0.2.6
8
+ - 7
9
+ version: 0.2.7
10
10
  platform: ruby
11
11
  authors:
12
12
  - Lindsay Holmwood