six-updater 0.18.1-x86-mingw32 → 0.18.2-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +3 -3
- data/lib/six/updater.rb +12 -2
- data/lib/six/updater/mod.rb +1 -1
- 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.18.
|
16
|
+
s.version = '0.18.2'
|
17
17
|
s.has_rdoc = true
|
18
18
|
s.extra_rdoc_files = ['README', 'LICENSE']
|
19
19
|
s.summary = 'Your summary here'
|
@@ -35,7 +35,7 @@ end
|
|
35
35
|
spec3 = Gem::Specification.new do |s|
|
36
36
|
s.platform = "x86-mswin32"
|
37
37
|
s.name = 'six-updater'
|
38
|
-
s.version = '0.18.
|
38
|
+
s.version = '0.18.2'
|
39
39
|
s.has_rdoc = true
|
40
40
|
s.extra_rdoc_files = ['README', 'LICENSE']
|
41
41
|
s.summary = 'Your summary here'
|
@@ -56,7 +56,7 @@ end
|
|
56
56
|
|
57
57
|
spec2 = Gem::Specification.new do |s|
|
58
58
|
s.name = 'six-updater'
|
59
|
-
s.version = '0.18.
|
59
|
+
s.version = '0.18.2'
|
60
60
|
s.has_rdoc = true
|
61
61
|
s.extra_rdoc_files = ['README', 'LICENSE']
|
62
62
|
s.summary = 'Your summary here'
|
data/lib/six/updater.rb
CHANGED
@@ -38,7 +38,7 @@ end
|
|
38
38
|
module Six
|
39
39
|
# TODO: Evaluate if this module should be a class instead?
|
40
40
|
module Updater
|
41
|
-
VERSION = '0.18.
|
41
|
+
VERSION = '0.18.2'
|
42
42
|
COMPONENT = 'six-updater'
|
43
43
|
LOG_LIMIT = 9999
|
44
44
|
FOLDER = /(.*)\/(.*)/
|
@@ -180,6 +180,15 @@ module Six
|
|
180
180
|
end
|
181
181
|
|
182
182
|
module_function
|
183
|
+
def folder_case(folder)
|
184
|
+
case RUBY_PLATFORM
|
185
|
+
when /-mingw32$/, /-mswin32$/
|
186
|
+
nil
|
187
|
+
else
|
188
|
+
folder.downcase!
|
189
|
+
end
|
190
|
+
end
|
191
|
+
|
183
192
|
def initialize
|
184
193
|
# Banner
|
185
194
|
log.info "Updater (v#{VERSION}) by Sickboy <sb_at_dev-heaven.net>"
|
@@ -302,8 +311,9 @@ module Six
|
|
302
311
|
|
303
312
|
@config[:folders].each do |folder|
|
304
313
|
@beta = true if folder[:folder] == 'beta'
|
314
|
+
folder_case(folder[:folder])
|
315
|
+
folder[:folder].gsub!('\\', '/')
|
305
316
|
unless folder[:disabled]
|
306
|
-
folder[:folder].gsub!('\\', '/')
|
307
317
|
if folder[:mods]
|
308
318
|
@mods << folder[:mods]
|
309
319
|
else
|
data/lib/six/updater/mod.rb
CHANGED
@@ -14,7 +14,7 @@ module Six
|
|
14
14
|
@path = File.join(self.apppath, @modconfig[:folder])
|
15
15
|
get_repositories
|
16
16
|
|
17
|
-
|
17
|
+
#@modconfig[:folder].gsub!('\\', '/') # handled in updater atm..
|
18
18
|
@folder_str = @modconfig[:folder].clone
|
19
19
|
@folder_str.gsub!('/', '-')
|
20
20
|
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 18
|
8
|
-
-
|
9
|
-
version: 0.18.
|
8
|
+
- 2
|
9
|
+
version: 0.18.2
|
10
10
|
platform: x86-mingw32
|
11
11
|
authors:
|
12
12
|
- Sickboy
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-04-
|
17
|
+
date: 2010-04-26 00:00:00 +02:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|