struggle 1.4.5 → 1.5.0

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: 956bbcdc489c15f0599b1a6a4702b79724850b4e
4
- data.tar.gz: 302ccf32d2892df12c185e801c3a5d76faf96323
3
+ metadata.gz: b07bb4097ba8cbda6f72846164c33505f69fbf4a
4
+ data.tar.gz: 96ff332887fd6505cfd9f035bf5e389a2bca9180
5
5
  SHA512:
6
- metadata.gz: 8d82cc833c79ca70a4451f966ee8dbff370b3133d81ff4f11632e849c227c69e7069bcec5d2b764a23163bf43c7e1b076581be0543c10b7cb33cc27b9a060622
7
- data.tar.gz: fbed4c8b69d9d1a19608f7aaf62083e03dae766f29793d0e50a90182cad6433f7e13ae86372a93e7e43068f1e70aa0ad72d7b802e9fc660da941b0f1a75897c3
6
+ metadata.gz: ccb03dbc4083f600ea1213f8140154e3676109b434b76861e62adf2ec050dfae3faaaa66dcfa67e4efc505bb62690361b2b7ee77f3bf70b798a3a89a12e402d8
7
+ data.tar.gz: 2c4358adfefddb21bf509b1c9ff13d3e30a9fb4a5cae2c4722839fca900cba4b249030baaf6b599853332f08b1da944411a73ab8eb08ba38f2910279ba665ebd
@@ -25,21 +25,7 @@ module Struggle
25
25
  end
26
26
  end
27
27
 
28
- #before unpack init
29
- def Tfile.unpack_init
30
- soft = ""
31
- if system("unzip").nil?
32
- soft += "unzip "
33
- elsif system("unrar").nil?
34
- soft += "unrar "
35
- elsif system("tar").nil?
36
- soft += "tar "
37
- end
38
- unless soft.blank?
39
- system("sudo apt-get install #{soft}")
40
- end
41
- end
42
- #file unpack
28
+ #file unpack(before unpack run `sudo apt-get install unzip unrar -y` || insert gemfile)
43
29
  #file->file path
44
30
  #path->unpacked path
45
31
  #return->true, false, nil. nil not cmd
data/struggle.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'struggle'
3
- s.version = '1.4.5'
3
+ s.version = '1.5.0'
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.4.5
4
+ version: 1.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - lean