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 CHANGED
@@ -1,4 +1,5 @@
1
1
  .*.sw[pon]
2
+ .AppleDouble
2
3
  .rvmrc
3
4
  Gemfile.lock
4
5
  pkg
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.32
1
+ 0.0.33
@@ -337,7 +337,6 @@ if has("autocmd")
337
337
  autocmd FileType ruby setl path+=test/**
338
338
  autocmd FileType ruby setl path+=tests/**
339
339
  autocmd FileType ruby setl path+=spec/**
340
- autocmd FileType ruby imap <C-l> <C-k>l*
341
340
  augroup END
342
341
 
343
342
  augroup javascript
data/lib/utils/editor.rb CHANGED
@@ -60,7 +60,10 @@ module Utils
60
60
  end
61
61
 
62
62
  def edit(*filenames)
63
- filenames.map! { |f| Dir[f] }.flatten!
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
@@ -1,6 +1,6 @@
1
1
  module Utils
2
2
  # Utils version
3
- VERSION = '0.0.32'
3
+ VERSION = '0.0.33'
4
4
  VERSION_ARRAY = VERSION.split(/\./).map { |x| x.to_i } # :nodoc:
5
5
  VERSION_MAJOR = VERSION_ARRAY[0] # :nodoc:
6
6
  VERSION_MINOR = VERSION_ARRAY[1] # :nodoc:
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.32"
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 = ["untest", "chroot-libs", "edit_wait", "chroot-exec", "number_files", "search", "strip_spaces", "path", "enum", "edit", "git-empty", "classify", "utils-install-config", "xmp", "discover", "sshscreen", "myex", "probe", "errf", "same_files", "utils-utilsrc", "unquarantine_apps", "vacuum_firefox_sqlite", "sedit"]
13
- s.extra_rdoc_files = ["README.rdoc", "lib/utils/config/config_file.rb", "lib/utils/finder.rb", "lib/utils/version.rb", "lib/utils/find.rb", "lib/utils/config.rb", "lib/utils/editor.rb", "lib/utils/grepper.rb", "lib/utils/file_xt.rb", "lib/utils/md5.rb", "lib/utils/patterns.rb", "lib/utils.rb"]
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.32
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: &70356225126300 !ruby/object:Gem::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: *70356225126300
24
+ version_requirements: *2153736960
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: tins
27
- requirement: &70356225125860 !ruby/object:Gem::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: *70356225125860
35
+ version_requirements: *2153736520
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: term-ansicolor
38
- requirement: &70356225125440 !ruby/object:Gem::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: *70356225125440
46
+ version_requirements: *2153736100
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: dslkit
49
- requirement: &70356225124660 !ruby/object:Gem::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: *70356225124660
57
+ version_requirements: *2153735680
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: pry-editline
60
- requirement: &70356225123800 !ruby/object:Gem::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: *70356225123800
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
- - untest
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
- - edit
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
- - utils-utilsrc
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
- - sedit
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