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 +4 -4
- data/.gitignore +1 -1
- data/Gemfile.lock +1 -1
- data/bin/itools +2 -2
- data/lib/itools/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: bfa7f1d61af3f21b4f830408a54445698ff087a9ad6d8e3b1d08e6dd01f37972
|
|
4
|
+
data.tar.gz: 7c4ca8105259d3782e630882974fef2f7cc023ecde73b70ea39c17bd55ba8c16
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e7a22fb5ff1357dee5500392ce0ad3d7d0e8c15fd8d5e7237b78e87c37f2c29ea5a153024e84a29767f5c4c8e026896af3e65a27461cca43d320c8fdc807a793
|
|
7
|
+
data.tar.gz: 0455ce9866f4101234cb6c0cacc95195eb50d7d8641180d78afa009b204b98ac794e43f705ac1a17c717c4d4f828dde4651daccb5f6b3c76f3c7698e7194139f
|
data/.gitignore
CHANGED
data/Gemfile.lock
CHANGED
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 :
|
|
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 :
|
|
54
|
+
command :search_file do |c|
|
|
55
55
|
c.action do |global_options, options, args|
|
|
56
56
|
Itools::FileSearcher.searchFile(args)
|
|
57
57
|
end
|
data/lib/itools/version.rb
CHANGED
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.
|
|
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-
|
|
11
|
+
date: 2018-12-24 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|