six-updater 0.21.0-x86-mingw32 → 0.21.1-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/Rakefile +3 -3
  2. data/lib/six/updater.rb +10 -3
  3. metadata +4 -4
data/Rakefile CHANGED
@@ -13,7 +13,7 @@ require 'rake/testtask'
13
13
  spec = Gem::Specification.new do |s|
14
14
  s.platform = "x86-mingw32"
15
15
  s.name = 'six-updater'
16
- s.version = '0.21.0'
16
+ s.version = '0.21.1'
17
17
  s.has_rdoc = true
18
18
  s.extra_rdoc_files = ['README', 'LICENSE']
19
19
  s.summary = 'Your summary here'
@@ -36,7 +36,7 @@ end
36
36
  spec3 = Gem::Specification.new do |s|
37
37
  s.platform = "x86-mswin32"
38
38
  s.name = 'six-updater'
39
- s.version = '0.21.0'
39
+ s.version = '0.21.1'
40
40
  s.has_rdoc = true
41
41
  s.extra_rdoc_files = ['README', 'LICENSE']
42
42
  s.summary = 'Your summary here'
@@ -58,7 +58,7 @@ end
58
58
 
59
59
  spec2 = Gem::Specification.new do |s|
60
60
  s.name = 'six-updater'
61
- s.version = '0.21.0'
61
+ s.version = '0.21.1'
62
62
  s.has_rdoc = true
63
63
  s.extra_rdoc_files = ['README', 'LICENSE']
64
64
  s.summary = 'Your summary here'
data/lib/six/updater.rb CHANGED
@@ -39,7 +39,7 @@ end
39
39
  module Six
40
40
  # TODO: Evaluate if this module should be a class instead?
41
41
  module Updater
42
- VERSION = '0.21.0'
42
+ VERSION = '0.21.1'
43
43
  COMPONENT = 'six-updater'
44
44
  LOG_LIMIT = 9999
45
45
 
@@ -332,10 +332,9 @@ module Six
332
332
 
333
333
  @beta = false
334
334
  @beta_exe = false
335
- @beta_exe = true if @config[:app_exe][/beta[\/|\\]arma2.*/]
335
+ @beta_exe = true if @config[:app_exe][/beta[\/|\\]arma2.*/i]
336
336
 
337
337
  @config[:folders].each do |folder|
338
- @beta = true if folder[:folder] == 'beta'
339
338
  folder_case(folder[:folder])
340
339
  folder[:folder].gsub!('\\', '/')
341
340
  unless folder[:disabled]
@@ -348,6 +347,14 @@ module Six
348
347
  end
349
348
  @mods = @mods.join(';')
350
349
 
350
+ @mods.split(";").each do |m|
351
+ case m
352
+ when "beta", /[\/|\\]beta$/i
353
+ @beta = true
354
+ break
355
+ end
356
+ end
357
+
351
358
  # Output processed config data
352
359
  log.info "Manager for: #{@mods}"
353
360
  beta_msg
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: six-updater
3
3
  version: !ruby/object:Gem::Version
4
- hash: 75
4
+ hash: 73
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 21
9
- - 0
10
- version: 0.21.0
9
+ - 1
10
+ version: 0.21.1
11
11
  platform: x86-mingw32
12
12
  authors:
13
13
  - Sickboy
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-07-11 00:00:00 +02:00
18
+ date: 2010-07-15 00:00:00 +02:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency