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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8c62c6b4336f9ebac7e90534c4bed83f84e8fa0e
4
- data.tar.gz: c23ef321dd30b347bc228bf60cf17dc787ec333b
3
+ metadata.gz: 84f5284a0420dc591f8ae6d6c0e605e0b32fbc02
4
+ data.tar.gz: 3cb5703a735b54e253db7f66bc3e88a254be0d18
5
5
  SHA512:
6
- metadata.gz: 85aff84e8640738ea1d548a97fe9f23785bdc2a9a8e43b5a9c62f0f9bb2ac0fb2ddf52543ad4c38e5984a4bbf8ca0b094d17cca77654212453fa18e0dcb6b2ca
7
- data.tar.gz: 9a638552fce5be3125102c45df28c0df098a50e777f54d3c598bce4a31130385c266eb61fda62623a9722e60ec678cb2b63f76cb6b2ca2bed1bf8b8811264551
6
+ metadata.gz: b59d03b30ad62d088c33967b24d7268fd5b470b0a6558145fde7def8227e7da39e3dfd00badcf370727c549d9d7c36b49698d3413c320b49af4d9c547a601eb9
7
+ data.tar.gz: dd272ef804de3c3c8be6db7dfaf72f8d83dd65f0efe4ba53ee9f97883d0fd46fb84f61667fc525d149cd1e8ba2f7844d72b1228f7145190b40b9be333844532a
@@ -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
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'struggle'
3
- s.version = '1.5.1'
3
+ s.version = '1.5.2'
4
4
  s.date = '2015-07-31'
5
5
  s.summary = "struggle!"
6
6
  s.description = "vcode,tfile,pager,func,logistic,pay_gateway,tmagick,html_extend;"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: struggle
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.1
4
+ version: 1.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - lean