six-updater 0.19.1-x86-mingw32 → 0.19.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/cleanup.rb +8 -8
- data/lib/six/updater.rb +1 -1
- metadata +2 -2
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.19.
|
16
|
+
s.version = '0.19.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.19.
|
38
|
+
s.version = '0.19.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.19.
|
59
|
+
s.version = '0.19.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/cleanup.rb
CHANGED
@@ -11,14 +11,14 @@ module Six
|
|
11
11
|
if File.directory?(dir)
|
12
12
|
entry = File.join(dir, ".repository.yml")
|
13
13
|
if File.exists?(entry)
|
14
|
-
puts "Processing: #{entry}"
|
14
|
+
#puts "Processing: #{entry}"
|
15
15
|
config = YAML::load_file(entry)
|
16
16
|
[:pack, :wd].each do |typ|
|
17
17
|
ar = []
|
18
18
|
config[typ].each do |e|
|
19
19
|
sum = if repack && e[0] =~ /.*[A-Z].*\.gz$/
|
20
20
|
Dir.chdir(dir) do
|
21
|
-
puts "Repacking #{e[0]} to #{e[0].downcase}"
|
21
|
+
#puts "Repacking #{e[0]} to #{e[0].downcase}"
|
22
22
|
system "gunzip \"#{e[0]}\""
|
23
23
|
f = e[0].clone
|
24
24
|
f.sub!(/\.gz$/, "")
|
@@ -59,18 +59,18 @@ module Six
|
|
59
59
|
dirname = File.dirname(entry)
|
60
60
|
base = File.basename(entry)
|
61
61
|
|
62
|
+
if File.directory?(entry)
|
63
|
+
check_dir(File.join(entry, ".rsync"), repack)
|
64
|
+
check_dir(File.join(entry, ".rsync/.pack"), repack)
|
65
|
+
check_dir(File.join(entry, ".pack"), repack)
|
66
|
+
end
|
67
|
+
|
62
68
|
if base =~ /[A-Z]/
|
63
69
|
newentry = File.join(dirname, base.downcase)
|
64
70
|
rename(entry, newentry)
|
65
71
|
entry = newentry
|
66
72
|
base = File.basename(entry)
|
67
73
|
end
|
68
|
-
|
69
|
-
if File.directory?(entry)
|
70
|
-
check_dir(File.join(entry, ".rsync"), repack)
|
71
|
-
check_dir(File.join(entry, ".rsync/.pack"), repack)
|
72
|
-
check_dir(File.join(entry, ".pack"), repack)
|
73
|
-
end
|
74
74
|
end
|
75
75
|
|
76
76
|
def self.repack(entry)
|
data/lib/six/updater.rb
CHANGED