episopass 0.2.3 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/exe/episounzip +4 -2
- data/exe/episozip +2 -1
- data/lib/episopass/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6d9c2c54c1959419ac2ad407bb9edf9471f304aafc6321637d6caf38ab8bef6e
|
4
|
+
data.tar.gz: 1479ebfcf3cdbecd754d459207681fc9c566afac9ebc2901663c6f943a964369
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 738362b0ae549787afcc4a2b8ac9a46885785ccf7af9a39af6ee5d45d530fc3a59e8d41dd46854693ab51f7d7380167728d473151fda7be6b43f40917dc8e518
|
7
|
+
data.tar.gz: 53c5bc9c97f2aba659011ae3c428ee59b2b556c33b46c6606eae12dafb618c50b8a63d9b49cdd0cca8c39c21d4c749cf7f32dda963f63f2c6f6e93e4453b3fc5
|
data/exe/episounzip
CHANGED
@@ -17,9 +17,11 @@ end
|
|
17
17
|
Dir.mkdir(dir)
|
18
18
|
|
19
19
|
path = File.expand_path(epfile)
|
20
|
-
system "pushd #{dir} > /dev/null; unzip #{path} ; unzip -P `episopass episopass.html` episopass.zip; rm episopass.zip episopass.html ; popd > /dev/null"
|
20
|
+
# system "pushd #{dir} > /dev/null; unzip #{path} ; unzip -P `episopass episopass.html` episopass.zip; rm episopass.zip episopass.html ; popd > /dev/null"
|
21
|
+
system "cd #{dir} ; unzip #{path} ; unzip -P `episopass episopass.html` episopass.zip; rm episopass.zip episopass.html"
|
22
|
+
|
23
|
+
system "(cd #{dir}; tar cf - .) | tar xvf -"
|
21
24
|
|
22
|
-
system "/bin/mv #{dir}/{*,.[a-z]*} ."
|
23
25
|
system "/bin/rm -r #{dir}"
|
24
26
|
|
25
27
|
|
data/exe/episozip
CHANGED
@@ -54,7 +54,8 @@ if File.exist?(zipfile)
|
|
54
54
|
end
|
55
55
|
|
56
56
|
system "zip -e -P `episopass #{dir}/episopass.html` #{dir}/episopass.zip #{ARGV.join(' ')}"
|
57
|
-
system "pushd #{dir} > /dev/null; zip #{zipfile} episopass.zip episopass.html; popd > /dev/null"
|
57
|
+
# system "pushd #{dir} > /dev/null; zip #{zipfile} episopass.zip episopass.html; popd > /dev/null"
|
58
|
+
system "cd #{dir} ; zip #{zipfile} episopass.zip episopass.html"
|
58
59
|
system "/bin/mv #{dir}/#{zipfile} ."
|
59
60
|
system "/bin/rm -r #{dir}"
|
60
61
|
|
data/lib/episopass/version.rb
CHANGED