vegas 0.0.4 → 0.0.4.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/vegas.rb +1 -1
  2. data/lib/vegas/runner.rb +2 -1
  3. metadata +1 -1
data/lib/vegas.rb CHANGED
@@ -8,7 +8,7 @@ end
8
8
  $LOAD_PATH.unshift File.dirname(__FILE__)
9
9
 
10
10
  module Vegas
11
- VERSION = "0.0.4"
11
+ VERSION = "0.0.4.1"
12
12
  WINDOWS = !!(RUBY_PLATFORM =~ /(mingw|bccwin|wince|mswin32)/i)
13
13
 
14
14
  autoload :Runner, 'vegas/runner'
data/lib/vegas/runner.rb CHANGED
@@ -46,7 +46,7 @@ module Vegas
46
46
  write_url
47
47
 
48
48
  begin
49
- launch! unless options[:skip_launch]
49
+ launch!
50
50
  daemonize! unless options[:foreground]
51
51
  run!
52
52
  rescue RuntimeError => e
@@ -151,6 +151,7 @@ module Vegas
151
151
  end
152
152
 
153
153
  def launch!(specific_url = nil)
154
+ return if options[:skip_launch]
154
155
  cmd = WINDOWS ? "start" : "sleep 2 && open"
155
156
  system "#{cmd} #{specific_url || url}"
156
157
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vegas
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aaron Quint