utils 0.0.32 → 0.0.33
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +1 -0
- data/Rakefile +1 -1
- data/VERSION +1 -1
- data/lib/utils/config/vimrc +0 -1
- data/lib/utils/editor.rb +4 -1
- data/lib/utils/version.rb +1 -1
- data/utils.gemspec +3 -3
- metadata +30 -30
data/.gitignore
CHANGED
data/Rakefile
CHANGED
@@ -12,7 +12,7 @@ GemHadar do
|
|
12
12
|
bindir 'bin'
|
13
13
|
executables Dir['bin/*'].map(&File.method(:basename))
|
14
14
|
test_dir 'tests'
|
15
|
-
ignore '.*.sw[pon]', 'pkg', 'Gemfile.lock', '.rvmrc'
|
15
|
+
ignore '.*.sw[pon]', 'pkg', 'Gemfile.lock', '.rvmrc', '.AppleDouble'
|
16
16
|
readme 'README.rdoc'
|
17
17
|
|
18
18
|
dependency 'tins', '~>0.3'
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.33
|
data/lib/utils/config/vimrc
CHANGED
data/lib/utils/editor.rb
CHANGED
@@ -60,7 +60,10 @@ module Utils
|
|
60
60
|
end
|
61
61
|
|
62
62
|
def edit(*filenames)
|
63
|
-
|
63
|
+
filenames_with_colon, filenames_without_colon =
|
64
|
+
filenames.partition { |x| x =~ /:/ }
|
65
|
+
filenames_without_colon.map! { |f| Dir[f] }.flatten!
|
66
|
+
filenames = filenames_with_colon + filenames_without_colon
|
64
67
|
if filenames.size == 1
|
65
68
|
filename = filenames.first
|
66
69
|
if m = file_linenumber?(filename)
|
data/lib/utils/version.rb
CHANGED
data/utils.gemspec
CHANGED
@@ -2,15 +2,15 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = "utils"
|
5
|
-
s.version = "0.0.
|
5
|
+
s.version = "0.0.33"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
8
8
|
s.authors = ["Florian Frank"]
|
9
9
|
s.date = "2012-02-09"
|
10
10
|
s.description = "This ruby gem provides some useful command line utilities"
|
11
11
|
s.email = "flori@ping.de"
|
12
|
-
s.executables = ["
|
13
|
-
s.extra_rdoc_files = ["README.rdoc", "lib/utils/config/config_file.rb", "lib/utils/
|
12
|
+
s.executables = ["chroot-exec", "chroot-libs", "classify", "discover", "edit", "edit_wait", "enum", "errf", "git-empty", "myex", "number_files", "path", "probe", "same_files", "search", "sedit", "sshscreen", "strip_spaces", "unquarantine_apps", "untest", "utils-install-config", "utils-utilsrc", "vacuum_firefox_sqlite", "xmp"]
|
13
|
+
s.extra_rdoc_files = ["README.rdoc", "lib/utils/config/config_file.rb", "lib/utils/config.rb", "lib/utils/editor.rb", "lib/utils/file_xt.rb", "lib/utils/find.rb", "lib/utils/finder.rb", "lib/utils/grepper.rb", "lib/utils/md5.rb", "lib/utils/patterns.rb", "lib/utils/version.rb", "lib/utils.rb"]
|
14
14
|
s.files = [".gitignore", "COPYING", "Gemfile", "README.rdoc", "Rakefile", "TODO", "VERSION", "bin/chroot-exec", "bin/chroot-libs", "bin/classify", "bin/discover", "bin/edit", "bin/edit_wait", "bin/enum", "bin/errf", "bin/git-empty", "bin/myex", "bin/number_files", "bin/path", "bin/probe", "bin/same_files", "bin/search", "bin/sedit", "bin/sshscreen", "bin/strip_spaces", "bin/unquarantine_apps", "bin/untest", "bin/utils-install-config", "bin/utils-utilsrc", "bin/vacuum_firefox_sqlite", "bin/xmp", "lib/utils.rb", "lib/utils/config.rb", "lib/utils/config/config_file.rb", "lib/utils/config/gdb/asm", "lib/utils/config/gdb/ruby", "lib/utils/config/gdbinit", "lib/utils/config/irbrc", "lib/utils/config/rdebugrc", "lib/utils/config/rvmrc", "lib/utils/config/screenrc", "lib/utils/config/utilsrc", "lib/utils/config/vim/autoload/Align.vim", "lib/utils/config/vim/autoload/AlignMaps.vim", "lib/utils/config/vim/autoload/rails.vim", "lib/utils/config/vim/autoload/rubycomplete.vim", "lib/utils/config/vim/autoload/sqlcomplete.vim", "lib/utils/config/vim/autoload/vimball.vim", "lib/utils/config/vim/colors/flori.vim", "lib/utils/config/vim/compiler/eruby.vim", "lib/utils/config/vim/compiler/ruby.vim", "lib/utils/config/vim/compiler/rubyunit.vim", "lib/utils/config/vim/ftdetect/ragel.vim", "lib/utils/config/vim/ftdetect/ruby.vim", "lib/utils/config/vim/ftplugin/eruby.vim", "lib/utils/config/vim/ftplugin/ruby.vim", "lib/utils/config/vim/ftplugin/xml.vim", "lib/utils/config/vim/indent/IndentAnything_html.vim", "lib/utils/config/vim/indent/eruby.vim", "lib/utils/config/vim/indent/javascript.vim", "lib/utils/config/vim/indent/ruby.vim", "lib/utils/config/vim/plugin/AlignMapsPlugin.vim", "lib/utils/config/vim/plugin/AlignPlugin.vim", "lib/utils/config/vim/plugin/Decho.vim", "lib/utils/config/vim/plugin/IndentAnything.vim", "lib/utils/config/vim/plugin/bufexplorer.vim", "lib/utils/config/vim/plugin/cecutil.vim", "lib/utils/config/vim/plugin/fugitive.vim", "lib/utils/config/vim/plugin/lusty-explorer.vim", "lib/utils/config/vim/plugin/rails.vim", "lib/utils/config/vim/plugin/rubyextra.vim", "lib/utils/config/vim/plugin/surround.vim", "lib/utils/config/vim/plugin/taglist.vim", "lib/utils/config/vim/plugin/test/IndentAnything/test.js", "lib/utils/config/vim/plugin/vimballPlugin.vim", "lib/utils/config/vim/syntax/Decho.vim", "lib/utils/config/vim/syntax/eruby.vim", "lib/utils/config/vim/syntax/javascript.vim", "lib/utils/config/vim/syntax/ragel.vim", "lib/utils/config/vim/syntax/ruby.vim", "lib/utils/config/vimrc", "lib/utils/editor.rb", "lib/utils/file_xt.rb", "lib/utils/find.rb", "lib/utils/finder.rb", "lib/utils/grepper.rb", "lib/utils/md5.rb", "lib/utils/patterns.rb", "lib/utils/version.rb", "utils.gemspec"]
|
15
15
|
s.homepage = "http://github.com/flori/utils"
|
16
16
|
s.rdoc_options = ["--title", "Utils - Some useful command line utilities", "--main", "README.rdoc"]
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: utils
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.33
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ date: 2012-02-09 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: gem_hadar
|
16
|
-
requirement: &
|
16
|
+
requirement: &2153736960 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: 0.1.4
|
22
22
|
type: :development
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *2153736960
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: tins
|
27
|
-
requirement: &
|
27
|
+
requirement: &2153736520 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ~>
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: '0.3'
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *2153736520
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: term-ansicolor
|
38
|
-
requirement: &
|
38
|
+
requirement: &2153736100 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ~>
|
@@ -43,10 +43,10 @@ dependencies:
|
|
43
43
|
version: '1.0'
|
44
44
|
type: :runtime
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *2153736100
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: dslkit
|
49
|
-
requirement: &
|
49
|
+
requirement: &2153735680 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
52
|
- - ~>
|
@@ -54,10 +54,10 @@ dependencies:
|
|
54
54
|
version: '0.2'
|
55
55
|
type: :runtime
|
56
56
|
prerelease: false
|
57
|
-
version_requirements: *
|
57
|
+
version_requirements: *2153735680
|
58
58
|
- !ruby/object:Gem::Dependency
|
59
59
|
name: pry-editline
|
60
|
-
requirement: &
|
60
|
+
requirement: &2153735320 !ruby/object:Gem::Requirement
|
61
61
|
none: false
|
62
62
|
requirements:
|
63
63
|
- - ! '>='
|
@@ -65,47 +65,47 @@ dependencies:
|
|
65
65
|
version: '0'
|
66
66
|
type: :runtime
|
67
67
|
prerelease: false
|
68
|
-
version_requirements: *
|
68
|
+
version_requirements: *2153735320
|
69
69
|
description: This ruby gem provides some useful command line utilities
|
70
70
|
email: flori@ping.de
|
71
71
|
executables:
|
72
|
-
-
|
72
|
+
- chroot-exec
|
73
73
|
- chroot-libs
|
74
|
+
- classify
|
75
|
+
- discover
|
76
|
+
- edit
|
74
77
|
- edit_wait
|
75
|
-
- chroot-exec
|
76
|
-
- number_files
|
77
|
-
- search
|
78
|
-
- strip_spaces
|
79
|
-
- path
|
80
78
|
- enum
|
81
|
-
-
|
79
|
+
- errf
|
82
80
|
- git-empty
|
83
|
-
- classify
|
84
|
-
- utils-install-config
|
85
|
-
- xmp
|
86
|
-
- discover
|
87
|
-
- sshscreen
|
88
81
|
- myex
|
82
|
+
- number_files
|
83
|
+
- path
|
89
84
|
- probe
|
90
|
-
- errf
|
91
85
|
- same_files
|
92
|
-
-
|
86
|
+
- search
|
87
|
+
- sedit
|
88
|
+
- sshscreen
|
89
|
+
- strip_spaces
|
93
90
|
- unquarantine_apps
|
91
|
+
- untest
|
92
|
+
- utils-install-config
|
93
|
+
- utils-utilsrc
|
94
94
|
- vacuum_firefox_sqlite
|
95
|
-
-
|
95
|
+
- xmp
|
96
96
|
extensions: []
|
97
97
|
extra_rdoc_files:
|
98
98
|
- README.rdoc
|
99
99
|
- lib/utils/config/config_file.rb
|
100
|
-
- lib/utils/finder.rb
|
101
|
-
- lib/utils/version.rb
|
102
|
-
- lib/utils/find.rb
|
103
100
|
- lib/utils/config.rb
|
104
101
|
- lib/utils/editor.rb
|
105
|
-
- lib/utils/grepper.rb
|
106
102
|
- lib/utils/file_xt.rb
|
103
|
+
- lib/utils/find.rb
|
104
|
+
- lib/utils/finder.rb
|
105
|
+
- lib/utils/grepper.rb
|
107
106
|
- lib/utils/md5.rb
|
108
107
|
- lib/utils/patterns.rb
|
108
|
+
- lib/utils/version.rb
|
109
109
|
- lib/utils.rb
|
110
110
|
files:
|
111
111
|
- .gitignore
|