six-updater 0.21.1 → 0.21.2

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 +13 -2
  3. metadata +3 -3
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.1'
16
+ s.version = '0.21.2'
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.1'
39
+ s.version = '0.21.2'
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.1'
61
+ s.version = '0.21.2'
62
62
  s.has_rdoc = true
63
63
  s.extra_rdoc_files = ['README', 'LICENSE']
64
64
  s.summary = 'Your summary here'
@@ -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.1'
42
+ VERSION = '0.21.2'
43
43
  COMPONENT = 'six-updater'
44
44
  LOG_LIMIT = 9999
45
45
 
@@ -347,7 +347,18 @@ module Six
347
347
  end
348
348
  @mods = @mods.join(';')
349
349
 
350
- @mods.split(";").each do |m|
350
+ mar = @mods.split(";").map! do |e|
351
+ case RUBY_PLATFORM
352
+ when /-mingw32$/, /-mswin32$/
353
+ e.sub("/", "\\")
354
+ else
355
+ e
356
+ end
357
+ end
358
+ mar.uniq!
359
+ @mods = mar.join(';')
360
+
361
+ mar.each do |m|
351
362
  case m
352
363
  when "beta", /[\/|\\]beta$/i
353
364
  @beta = true
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: 73
4
+ hash: 79
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 21
9
- - 1
10
- version: 0.21.1
9
+ - 2
10
+ version: 0.21.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Sickboy