six-updater-web 0.13.4 → 0.13.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.13.4'
10
+ s.version = '0.13.5'
11
11
  s.has_rdoc = false
12
12
  #s.extra_rdoc_files = ['README', 'LICENSE']
13
13
  s.summary = 'Your summary here'
@@ -18,7 +18,7 @@ class SystemSetting < ActiveRecord::Base
18
18
  self.gamespied_at = Time.now
19
19
  self.save
20
20
  cl = "sync:gamespy RAILS_ENV=#{ENV['RAILS_ENV']}" # + cl
21
- cl += " BASE_PATH=\'#{ENV['BASE_PATH']}\'" if ENV['BASE_PATH']
21
+ cl += " BASE_PATH=\'#{SixUpdaterWeb::BASE_PATH}\'" if defined?(SixUpdaterWeb::OLDLOCATION)
22
22
  SixUpdaterWeb.run_program(exec, RAILS_ROOT, cl)
23
23
  end
24
24
 
@@ -26,7 +26,7 @@ class SystemSetting < ActiveRecord::Base
26
26
  self.gamespied_at = Time.now
27
27
  self.save
28
28
  cl = "sync:gamespy RAILS_ENV=#{ENV['RAILS_ENV']} NOGEO=1" # + cl
29
- cl += " BASE_PATH=\'#{ENV['BASE_PATH']}\'" if ENV['BASE_PATH']
29
+ cl += " BASE_PATH=\'#{SixUpdaterWeb::BASE_PATH}\'" if defined?(SixUpdaterWeb::OLDLOCATION)
30
30
  SixUpdaterWeb.run_program(exec, RAILS_ROOT, cl)
31
31
  end
32
32
 
@@ -19,7 +19,7 @@ case RUBY_VERSION
19
19
  end
20
20
 
21
21
  module SixUpdaterWeb
22
- VERSION = "0.13.4"
22
+ VERSION = "0.13.5"
23
23
  COMPONENT = "six-updater-web"
24
24
 
25
25
  DEFAULT_IP = "127.0.0.1" unless defined?(DEFAULT_IP)
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 13
8
- - 4
9
- version: 0.13.4
8
+ - 5
9
+ version: 0.13.5
10
10
  platform: ruby
11
11
  authors:
12
12
  - Sickboy