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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7067a39c4eba3696ad23261b3c2665255d7bc3ca6e7587974bea08c727799345
4
- data.tar.gz: 10b52aab734c784daa224afa1e348455587c84834f42fe1fe66734d3a0b02d7e
3
+ metadata.gz: 6d9c2c54c1959419ac2ad407bb9edf9471f304aafc6321637d6caf38ab8bef6e
4
+ data.tar.gz: 1479ebfcf3cdbecd754d459207681fc9c566afac9ebc2901663c6f943a964369
5
5
  SHA512:
6
- metadata.gz: 16d7c43d1d606645c7ad609822aaf9ff0c11955b49330ff95c54692b6813113f4896a09e1c199d1191203f5b895cc41b8fdd40bd007bd900b2a9bd094a8d4724
7
- data.tar.gz: 490662d500144550dc85ff3bba4cd70db48d6d4a92707d1f023522d1880b2ffed45c0d9042ef3028609979fab8b58c1aa9d2039fd484d7d72b1d65554c77b47a
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
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module EpisoPass
4
- VERSION = "0.2.3" # episozip追加
4
+ VERSION = "0.2.4" # episozip追加
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: episopass
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Toshiyuki Masui