Thimblr 0.9.1 → 0.9.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/thimblr.rb +6 -1
  2. metadata +2 -2
@@ -63,7 +63,12 @@ class Thimblr::Application < Sinatra::Base
63
63
  enable :sessions
64
64
  set :bind, '127.0.0.1'
65
65
 
66
- Launchy.open("http://localhost:#{port}")
66
+ # Dirty hack cos Windows support in Launchy appears to be broken
67
+ if Platform == 'win'
68
+ `start http://localhost:#{port}`
69
+ else
70
+ Launchy.open("http://localhost:#{port}")
71
+ end
67
72
  end
68
73
 
69
74
  helpers do
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 9
8
- - 1
9
- version: 0.9.1
8
+ - 2
9
+ version: 0.9.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - JP Hastings-Spital