cmd_tools 5.0.0 → 5.0.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.
- data/bin/command/e +1 -1
- data/bin/command/em +2 -2
- data/lib/cmd_tools/application.rb +1 -1
- data/lib/cmd_tools/version.rb +1 -1
- metadata +7 -7
data/bin/command/e
CHANGED
data/bin/command/em
CHANGED
@@ -6,9 +6,9 @@ case $(uname) in
|
|
6
6
|
"Darwin")
|
7
7
|
for file in ${files}
|
8
8
|
do
|
9
|
-
[ -e ${file} ] || touch ${file}
|
10
|
-
/Applications/MacPorts/Emacs.app/Contents/MacOS/Emacs --no-window-system --no-init --no-splash ${file}
|
9
|
+
[ -e ${file} ] || [ "" = ${file} ] || [ "-" = ${file:0:1} ] || [ "+" = ${file:0:1} ] || touch ${file}
|
11
10
|
done
|
11
|
+
/Applications/MacPorts/Emacs.app/Contents/MacOS/Emacs --no-window-system --no-init --no-splash ${files}
|
12
12
|
;;
|
13
13
|
*)
|
14
14
|
cmd_tools emacs_launch --mode=cui "$@"
|
@@ -9,7 +9,7 @@ class ::CmdTools::Application < Thor
|
|
9
9
|
puts ::CmdTools::VERSION
|
10
10
|
end
|
11
11
|
|
12
|
-
desc "min_max < FILE", "Return the minmum and maximum value of each column."
|
12
|
+
desc "min_max < FILE [-m MIN_MAX_SEPARATOR -f FIELD_SEPARATOR]", "Return the minmum and maximum value of each column."
|
13
13
|
method_option :min_max_separator, default: "\t", aliases: "-m"
|
14
14
|
method_option :field_separator, default: "\t", aliases: "-f"
|
15
15
|
def min_max()
|
data/lib/cmd_tools/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cmd_tools
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.0.
|
4
|
+
version: 5.0.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-12-
|
12
|
+
date: 2012-12-08 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: ruby_patch
|
16
|
-
requirement: &
|
16
|
+
requirement: &2154210160 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: '2.0'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *2154210160
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: thor
|
27
|
-
requirement: &
|
27
|
+
requirement: &2154209440 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ~>
|
@@ -32,7 +32,7 @@ dependencies:
|
|
32
32
|
version: '0.16'
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *2154209440
|
36
36
|
description: ! 'Command line tools. Please type
|
37
37
|
|
38
38
|
|
@@ -77,7 +77,7 @@ post_install_message: ! '
|
|
77
77
|
|
78
78
|
# CmdTools
|
79
79
|
|
80
|
-
export PATH=${HOME}/.gem/ruby/1.9.1/gems/cmd_tools-5.0.
|
80
|
+
export PATH=${HOME}/.gem/ruby/1.9.1/gems/cmd_tools-5.0.1/bin/command:${PATH}
|
81
81
|
|
82
82
|
|
83
83
|
'
|