six-updater-web 0.12.4 → 0.12.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.12.4'
10
+ s.version = '0.12.5'
11
11
  s.has_rdoc = false
12
12
  #s.extra_rdoc_files = ['README', 'LICENSE']
13
13
  s.summary = 'Your summary here'
data/lib/common.rb CHANGED
@@ -4,8 +4,13 @@ module SixUpdaterWeb
4
4
  OLDLOCATION = if defined?(TAR2RUBYSCRIPT)
5
5
  oldlocation
6
6
  else
7
- Dir.pwd
7
+ ENV['BASE_PATH'] ? ENV['BASE_PATH'] : Dir.pwd
8
8
  end
9
+
10
+ unless ENV['BASE_PATH']
11
+ ENV['BASE_PATH'] = OLDLOCATION
12
+ end
13
+
9
14
  SPECIAL = true
10
15
 
11
16
  SIX_ADMIN = true
@@ -10,7 +10,7 @@ end
10
10
  require 'open3'
11
11
 
12
12
  module SixUpdaterWeb
13
- VERSION = "0.12.4"
13
+ VERSION = "0.12.5"
14
14
 
15
15
  COMPONENT = "six-updater-web"
16
16
  SIX_PORT = 3000 unless defined?(SIX_PORT)
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 12
8
- - 4
9
- version: 0.12.4
8
+ - 5
9
+ version: 0.12.5
10
10
  platform: ruby
11
11
  authors:
12
12
  - Sickboy