struggle 1.5.1 → 1.5.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/struggle/tfile.rb +2 -2
- data/struggle.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 84f5284a0420dc591f8ae6d6c0e605e0b32fbc02
|
4
|
+
data.tar.gz: 3cb5703a735b54e253db7f66bc3e88a254be0d18
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b59d03b30ad62d088c33967b24d7268fd5b470b0a6558145fde7def8227e7da39e3dfd00badcf370727c549d9d7c36b49698d3413c320b49af4d9c547a601eb9
|
7
|
+
data.tar.gz: dd272ef804de3c3c8be6db7dfaf72f8d83dd65f0efe4ba53ee9f97883d0fd46fb84f61667fc525d149cd1e8ba2f7844d72b1228f7145190b40b9be333844532a
|
data/lib/struggle/tfile.rb
CHANGED
@@ -35,9 +35,9 @@ module Struggle
|
|
35
35
|
if format==".gz" || format==".bz2" || format==".tar"
|
36
36
|
cmd="tar -zxvf #{file} -C #{path}"
|
37
37
|
elsif format==".zip"
|
38
|
-
cmd="unzip #{file} -d #{path}"
|
38
|
+
cmd="unzip -o #{file} -d #{path}"
|
39
39
|
elsif format==".rar"
|
40
|
-
cmd="unrar e #{file} #{path}"
|
40
|
+
cmd="unrar -y e #{file} #{path}"
|
41
41
|
end
|
42
42
|
system cmd
|
43
43
|
end
|
data/struggle.gemspec
CHANGED