itools 0.4.0 → 0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c3830d7f3900e12d560dbabbc7f27f9ae5b9076b1f888a816cddf3c05facf2c9
4
- data.tar.gz: 05e54dd77cc9923b3f9aa36f04cbd49da15df176a4296c15ad725f53e3c26764
3
+ metadata.gz: bfa7f1d61af3f21b4f830408a54445698ff087a9ad6d8e3b1d08e6dd01f37972
4
+ data.tar.gz: 7c4ca8105259d3782e630882974fef2f7cc023ecde73b70ea39c17bd55ba8c16
5
5
  SHA512:
6
- metadata.gz: 9463995b7ad75269a839eac92accf9c5064fc252efc10bf24eed98cf7d4b7a0d1805122f271cd317b9159211824b447db981b25fdea86b69d3a22cc742dd501a
7
- data.tar.gz: bf697e559ec802582054805692740d5870b47379b0821634a1a3e391f0f547b2b5c9b356dd70690b4eb793d8fbef4827f19d94687564690e7f13202c60e23448
6
+ metadata.gz: e7a22fb5ff1357dee5500392ce0ad3d7d0e8c15fd8d5e7237b78e87c37f2c29ea5a153024e84a29767f5c4c8e026896af3e65a27461cca43d320c8fdc807a793
7
+ data.tar.gz: 0455ce9866f4101234cb6c0cacc95195eb50d7d8641180d78afa009b204b98ac794e43f705ac1a17c717c4d4f828dde4651daccb5f6b3c76f3c7698e7194139f
data/.gitignore CHANGED
@@ -9,7 +9,7 @@
9
9
  /test/tmp/
10
10
  /test/version_tmp/
11
11
  /tmp/
12
-
12
+ /pkg/
13
13
  # Used by dotenv library to load environment variables.
14
14
  # .env
15
15
 
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- itools (0.4.0)
4
+ itools (0.4.1)
5
5
  bundler (~> 1.17)
6
6
  gli (~> 2.17)
7
7
  rake (~> 10.0)
data/bin/itools CHANGED
@@ -42,7 +42,7 @@ end
42
42
  # 计算占用内存大小
43
43
  desc "calculate the memory footprint of file or folder(contain file)"
44
44
  arg 'xxx.txt'
45
- command :sizeFor do |c|
45
+ command :size_for do |c|
46
46
  c.action do |global_options, options, args|
47
47
  Itools::Memory.sizeFor(args)
48
48
  end
@@ -51,7 +51,7 @@ end
51
51
  # 查找文件
52
52
  desc "search File in folder"
53
53
  arg 'file name'
54
- command :searchFile do |c|
54
+ command :search_file do |c|
55
55
  c.action do |global_options, options, args|
56
56
  Itools::FileSearcher.searchFile(args)
57
57
  end
@@ -1,3 +1,3 @@
1
1
  module Itools
2
- VERSION = "0.4.0"
2
+ VERSION = "0.4.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: itools
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - zhanggui
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-12-21 00:00:00.000000000 Z
11
+ date: 2018-12-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler