six-updater-web 0.17.4 → 0.17.5

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -7,7 +7,7 @@ require 'rake/testtask'
7
7
 
8
8
  spec = Gem::Specification.new do |s|
9
9
  s.name = 'six-updater-web'
10
- s.version = '0.17.4'
10
+ s.version = '0.17.5'
11
11
  s.has_rdoc = false
12
12
  #s.extra_rdoc_files = ['README', 'LICENSE']
13
13
  s.summary = 'Your summary here'
@@ -22,7 +22,7 @@ case RUBY_VERSION
22
22
  end
23
23
 
24
24
  module SixUpdaterWeb
25
- VERSION = "0.17.4"
25
+ VERSION = "0.17.5"
26
26
  COMPONENT = "six-updater-web"
27
27
 
28
28
  DEFAULT_IP = "127.0.0.1" unless defined?(DEFAULT_IP)
@@ -6,7 +6,8 @@ module SixUpdaterWeb
6
6
  DEFAULT_PORT = 16333
7
7
  DEFAULT_IP = '127.0.0.1'
8
8
 
9
- OPEN_BROWSER = true # unless ENV.include?("NO_BROWSER")
9
+ # Automatically open the browser unless NO_BROWSER specified
10
+ ARGV.include?("NO_BROWSER") ? ARGV -= ["NO_BROWSER"] : OPEN_BROWSER = true
10
11
 
11
12
  # Process commandline args to setup host and port
12
13
  argvs = ARGV.join(" ")
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 17
8
- - 4
9
- version: 0.17.4
8
+ - 5
9
+ version: 0.17.5
10
10
  platform: ruby
11
11
  authors:
12
12
  - Sickboy
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-06-19 00:00:00 +02:00
17
+ date: 2010-06-21 00:00:00 +02:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency