utils 0.0.31 → 0.0.32

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -18,6 +18,7 @@ GemHadar do
18
18
  dependency 'tins', '~>0.3'
19
19
  dependency 'term-ansicolor', '~>1.0'
20
20
  dependency 'dslkit', '~>0.2'
21
+ dependency 'pry-editline'
21
22
 
22
23
  install_library do
23
24
  libdir = CONFIG["sitelibdir"]
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.31
1
+ 0.0.32
@@ -6,12 +6,13 @@ require 'enumerator'
6
6
  require 'pp'
7
7
  require 'fileutils'
8
8
  require 'find'
9
+ require 'pry-editline'
9
10
  include FileUtils
10
11
  begin
11
12
  require 'ap'
12
13
  rescue LoadError
13
14
  end
14
- require 'utils/editor'
15
+ require 'utils'
15
16
  $editor = Utils::Editor.new
16
17
 
17
18
  $pager = ENV['PAGER'] || 'less -r'
@@ -343,13 +344,28 @@ def irb_read(filename, chunk_size = 8_192)
343
344
  end
344
345
  end
345
346
 
346
- def irb_load_each(*files)
347
+ def irb_load!(*files)
347
348
  files = files.map { |f| f.gsub(/(\.rb)?\Z/, '.rb') }
349
+ loaded = {}
348
350
  for file in files
349
- Find.find('.') do |f|
350
- if file == File.basename(f)
351
- load f
352
- STDERR.puts "Loaded '#{f}'."
351
+ catch :found do
352
+ Find.find('.') do |f|
353
+ File.directory?(f) and next
354
+ md5_f = Utils::MD5.md5(f)
355
+ if f.end_with?(file) and !loaded[md5_f]
356
+ Kernel.load f
357
+ loaded[md5_f] = true
358
+ STDERR.puts "Loaded '#{f}'."
359
+ end
360
+ end
361
+ Find.find('.') do |f|
362
+ File.directory?(f) and next
363
+ md5_f = Utils::MD5.md5(f)
364
+ if f.end_with?(file) and !loaded[md5_f]
365
+ Kernel.load f
366
+ loaded[md5_f] = true
367
+ STDERR.puts "Loaded '#{f}'."
368
+ end
353
369
  end
354
370
  end
355
371
  end
@@ -0,0 +1,5 @@
1
+ rvm_project_rvmrc=1
2
+ rvm_project_rvmrc_default=1
3
+ rvm_gemset_create_on_use_flag=1
4
+ rvm_make_flags="-j 3"
5
+ rvm_configure_flags="--enable-shared --disable-install-doc --with-readline-dir=$rvm_path/usr"
@@ -22,6 +22,7 @@ let g:colors_name="flori"
22
22
 
23
23
  " general highlight groups
24
24
  hi Normal guifg=lightyellow guibg=grey20
25
+ hi ColorColumn guibg=grey25
25
26
  hi Cursor guibg=khaki guifg=slategrey
26
27
  hi CursorIM guibg=khaki guifg=slategrey
27
28
  hi CursorColumn guibg=grey25
@@ -6,6 +6,8 @@
6
6
  set autoindent
7
7
  set autowrite
8
8
  set backspace=indent,eol,start
9
+ set colorcolumn=79
10
+ set textwidth=80
9
11
  set dictionary=/usr/dict/words
10
12
  set nodigraph
11
13
  set encoding=utf8
@@ -20,8 +22,8 @@ set hlsearch
20
22
  set laststatus=2
21
23
  set makeprg=errf
22
24
  set modelines=5
23
- set mouse=nv
24
25
  set mousehide
26
+ set mouse=nv
25
27
  set nocindent
26
28
  set nocompatible
27
29
  set nocursorcolumn
@@ -44,6 +46,7 @@ set smarttab
44
46
  set statusline=%<%f%m%r%=%(%Bh=%bd%)@%(%l:%c\%)%4P
45
47
  set swapsync="fsync"
46
48
  set termencoding=utf8
49
+ set tildeop
47
50
  set title
48
51
  set ttyfast
49
52
  set viminfo='20,<50,s10,h,!
@@ -89,14 +92,14 @@ if has("gui_running")
89
92
  set guioptions-=T
90
93
  set guioptions-=m
91
94
  set guioptions+=p
92
- endif
95
+ end
93
96
  elseif has("gui_gtk2")
94
97
  set guifont=DejaVu\ Sans\ Mono\ 12
95
98
  if exists("+guioptions")
96
99
  set guioptions-=T
97
100
  set guioptions-=m
98
101
  set guioptions+=p
99
- endif
102
+ end
100
103
  set guiheadroom=0
101
104
  set columns=80
102
105
  set lines=59
@@ -106,7 +109,7 @@ if has("gui_running")
106
109
  set guioptions-=T
107
110
  set guioptions-=m
108
111
  set guioptions+=p
109
- endif
112
+ end
110
113
  set antialias
111
114
  set guiheadroom=0
112
115
  "set macatsui
@@ -117,10 +120,11 @@ if has("gui_running")
117
120
  if exists("+guioptions")
118
121
  set guioptions-=T
119
122
  set guioptions-=m
120
- endif
123
+ end
121
124
  end
122
125
  else
123
126
  set background=dark
127
+ colorscheme darkblue
124
128
  hi DiffAdd ctermbg=green
125
129
  hi DiffChange ctermbg=blue
126
130
  hi DiffText ctermbg=gray
@@ -131,7 +135,7 @@ end
131
135
  let ruby_operators=1
132
136
  if has("syntax")
133
137
  syntax on
134
- endif
138
+ end
135
139
 
136
140
  " Browsing
137
141
  if has("browse")
@@ -144,7 +148,7 @@ if has("browse")
144
148
  let g:explDateFormat="%Y-%m-%d %H:%M:%S"
145
149
  " let g:explHideFiles='^\.,\.gz$,\.exe$,\.zip$'
146
150
  let g:explUseSeparators=1 " Use separator lines
147
- endif
151
+ end
148
152
 
149
153
  let g:netrw_longlist=1
150
154
  let g:netrw_use_noswf= 0
@@ -166,9 +170,9 @@ if has("cscope")
166
170
  " else add database pointed to by environment
167
171
  elseif $CSCOPE_DB != ""
168
172
  cs add $CSCOPE_DB
169
- endif
173
+ end
170
174
  set csverb
171
- endif
175
+ end
172
176
 
173
177
  " Mappings
174
178
  let mapleader=","
@@ -190,26 +194,40 @@ if has("fullscreen")
190
194
  set nofullscreen
191
195
  else
192
196
  set fullscreen
193
- endif
197
+ end
194
198
  endfunction
195
199
  map <silent> <F11> :call Cfullscreen()<CR>
200
+ if has("gui_mac") || has("gui_macvim")
201
+ map <silent> <D-Enter> :call Cfullscreen()<CR>
202
+ end
196
203
  au GUIEnter * set fullscreen
197
- endif
204
+ end
198
205
  function! Ctoggle()
199
206
  if &buftype == "quickfix"
200
207
  cclose
201
208
  else
202
209
  copen
203
- endif
210
+ end
204
211
  endfunction
205
212
  nnoremap <silent> <F12> :call Ctoggle()<CR>
206
213
 
207
214
  " Switch Windows
208
215
  map <A-j> <C-W>j<C-W>_
216
+ map ∆ <C-W>j<C-W>_
209
217
  map <A-k> <C-W>k<C-W>_
218
+ map ˚ <C-W>k<C-W>_
210
219
  " Switch Buffers
211
220
  map <A-l> <ESC>:bn<CR>
221
+ map ¬ <ESC>:bn<CR>
212
222
  map <A-h> <ESC>:bp<CR>
223
+ map ˙ <ESC>:bp<CR>
224
+ map <A-=> <C-W>=
225
+ map ≠ <C-W>=
226
+ map <A-,> <C-W>+
227
+ map ≥ <C-W>+
228
+ map <A-.> <C-W>-
229
+ map ≤ <C-W>-
230
+
213
231
  " Configure navigation keys
214
232
  noremap <Up> <Nop>
215
233
  noremap <Down> <Nop>
@@ -389,7 +407,7 @@ if has("autocmd")
389
407
  autocmd!
390
408
  autocmd BufNewFile,BufRead mutt-* setl textwidth=72
391
409
  augroup END
392
- endif
410
+ end
393
411
 
394
412
  function! Cfind(...)
395
413
  redraw
@@ -397,12 +415,11 @@ function! Cfind(...)
397
415
  let args = [ expand( '<cword>') ]
398
416
  else
399
417
  let args = copy(a:000)
400
- endif
418
+ end
401
419
  let args_string = join(map(copy(args), 'shellescape(v:val)'), ' ')
402
420
  echo 'Finding ' . args_string . '...'
403
421
  set grepformat=%f
404
422
  set grepprg=discover
405
- set hlsearch
406
423
  let @/=args[0]
407
424
  silent exec "silent gr -a 'a-zA-Z0-9' -c -i " . args_string
408
425
  copen
@@ -415,7 +432,7 @@ function! Cgrep(...)
415
432
  let args = [ expand( '<cword>') ]
416
433
  else
417
434
  let args = copy(a:000)
418
- endif
435
+ end
419
436
  let args_string = join(map(args, 'shellescape(v:val)'), ' ')
420
437
  echo 'Grepping ' . args_string . '...'
421
438
  set grepformat=%f:%l
@@ -433,7 +450,7 @@ function! Ctest(...)
433
450
  let name = expand('<cword>')
434
451
  else
435
452
  let name = a:1
436
- endif
453
+ end
437
454
  exec 'make ' . expand('%') . ' ' . name
438
455
  endfunction
439
456
 
@@ -442,7 +459,7 @@ function! Cclassify(...)
442
459
  let args = [ expand( '<cword>') ]
443
460
  else
444
461
  let args = copy(a:000)
445
- endif
462
+ end
446
463
  let output = system("classify -b " . join(map(copy(args), 'shellescape(v:val)'), ' '))
447
464
  execute "normal a" . output
448
465
  endfunction
@@ -452,7 +469,7 @@ function! CpathClassify(...)
452
469
  let args = [ expand( '<cword>') ]
453
470
  else
454
471
  let args = copy(a:000)
455
- endif
472
+ end
456
473
  let output = system("classify " . join(map(copy(args), 'shellescape(v:val)'), ' '))
457
474
  execute "normal a" . output
458
475
  endfunction
@@ -462,7 +479,7 @@ function! Cdeclassify(...)
462
479
  let args = [ expand( '<cword>') ]
463
480
  else
464
481
  let args = copy(a:000)
465
- endif
482
+ end
466
483
  let output = system("classify -s -d " . join(map(copy(args), 'shellescape(v:val)'), ' '))
467
484
  exec "normal a" . output
468
485
  endfunction
data/lib/utils/editor.rb CHANGED
@@ -16,20 +16,21 @@ module Utils
16
16
  alias wait? wait
17
17
 
18
18
  def vim
19
- @vim ||= case `uname -s`
20
- when /\Adarwin/i
21
- if File.directory?('/Applications')
22
- '/Applications/MacVim.app/Contents/MacOS/Vim'
19
+ @vim ||=
20
+ case `uname -s`
21
+ when /\Adarwin/i
22
+ if File.directory?('/Applications')
23
+ '/Applications/MacVim.app/Contents/MacOS/Vim'
24
+ else
25
+ 'vim'
26
+ end
23
27
  else
24
- 'gvim'
28
+ 'vim'
25
29
  end
26
- else
27
- 'gvim'
28
- end
29
30
  end
30
31
 
31
32
  def cmd(*parts)
32
- command = parts.inject([]) do |a, p|
33
+ command = parts.compact.inject([]) do |a, p|
33
34
  case
34
35
  when p == nil, p == []
35
36
  a
@@ -59,6 +60,7 @@ module Utils
59
60
  end
60
61
 
61
62
  def edit(*filenames)
63
+ filenames.map! { |f| Dir[f] }.flatten!
62
64
  if filenames.size == 1
63
65
  filename = filenames.first
64
66
  if m = file_linenumber?(filename)
@@ -93,8 +95,12 @@ module Utils
93
95
  self
94
96
  end
95
97
 
98
+ def gui
99
+ ENV['TERM'] =~ /xterm/ ? '-g' : nil
100
+ end
101
+
96
102
  def start
97
- cmd(vim, '-g', '--servername', servername)
103
+ cmd(vim, gui, '--servername', servername)
98
104
  end
99
105
 
100
106
  def stop
@@ -108,7 +114,7 @@ module Utils
108
114
  end
109
115
 
110
116
  def serverlist
111
- @serverlist ||= `#{vim} -g --serverlist`.split
117
+ @serverlist ||= `#{vim} #{gui} --serverlist`.split
112
118
  end
113
119
 
114
120
  def started?(name = servername)
@@ -116,15 +122,15 @@ module Utils
116
122
  end
117
123
 
118
124
  def edit_remote(*args)
119
- cmd(vim, '-g', '--servername', servername, '--remote', *args)
125
+ cmd(vim, gui, '--servername', servername, '--remote', *args)
120
126
  end
121
127
 
122
128
  def edit_remote_wait(*args)
123
- cmd(vim, '-g', '--servername', servername, '--remote-wait', *args)
129
+ cmd(vim, gui, '--servername', servername, '--remote-wait', *args)
124
130
  end
125
131
 
126
132
  def edit_remote_send(*args)
127
- cmd(vim, '-g', '--servername', servername, '--remote-send', *args)
133
+ cmd(vim, gui, '--servername', servername, '--remote-send', *args)
128
134
  end
129
135
 
130
136
  def edit_remote_file(*filenames)
data/lib/utils/md5.rb CHANGED
@@ -1,14 +1,14 @@
1
1
  require 'digest/md5'
2
2
 
3
3
  module Utils
4
- module_function
5
-
6
4
  module MD5
7
5
  class << self
8
6
  attr_accessor :buffer_size
9
7
  end
10
8
  self.buffer_size = 2 ** 20 - 1
11
9
 
10
+ module_function
11
+
12
12
  def md5(filename)
13
13
  digest = Digest::MD5.new
14
14
  digest.reset
data/lib/utils/version.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  module Utils
2
2
  # Utils version
3
- VERSION = '0.0.31'
3
+ VERSION = '0.0.32'
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,20 +2,20 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "utils"
5
- s.version = "0.0.31"
5
+ s.version = "0.0.32"
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
- s.date = "2011-12-19"
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
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
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"]
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/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"]
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"]
17
17
  s.require_paths = ["lib"]
18
- s.rubygems_version = "1.8.11"
18
+ s.rubygems_version = "1.8.15"
19
19
  s.summary = "Some useful command line utilities"
20
20
 
21
21
  if s.respond_to? :specification_version then
@@ -26,16 +26,19 @@ Gem::Specification.new do |s|
26
26
  s.add_runtime_dependency(%q<tins>, ["~> 0.3"])
27
27
  s.add_runtime_dependency(%q<term-ansicolor>, ["~> 1.0"])
28
28
  s.add_runtime_dependency(%q<dslkit>, ["~> 0.2"])
29
+ s.add_runtime_dependency(%q<pry-editline>, [">= 0"])
29
30
  else
30
31
  s.add_dependency(%q<gem_hadar>, ["~> 0.1.4"])
31
32
  s.add_dependency(%q<tins>, ["~> 0.3"])
32
33
  s.add_dependency(%q<term-ansicolor>, ["~> 1.0"])
33
34
  s.add_dependency(%q<dslkit>, ["~> 0.2"])
35
+ s.add_dependency(%q<pry-editline>, [">= 0"])
34
36
  end
35
37
  else
36
38
  s.add_dependency(%q<gem_hadar>, ["~> 0.1.4"])
37
39
  s.add_dependency(%q<tins>, ["~> 0.3"])
38
40
  s.add_dependency(%q<term-ansicolor>, ["~> 1.0"])
39
41
  s.add_dependency(%q<dslkit>, ["~> 0.2"])
42
+ s.add_dependency(%q<pry-editline>, [">= 0"])
40
43
  end
41
44
  end
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.31
4
+ version: 0.0.32
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: 2011-12-19 00:00:00.000000000 Z
12
+ 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: &83163010 !ruby/object:Gem::Requirement
16
+ requirement: &70356225126300 !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: *83163010
24
+ version_requirements: *70356225126300
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: tins
27
- requirement: &83162760 !ruby/object:Gem::Requirement
27
+ requirement: &70356225125860 !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: *83162760
35
+ version_requirements: *70356225125860
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: term-ansicolor
38
- requirement: &83239640 !ruby/object:Gem::Requirement
38
+ requirement: &70356225125440 !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: *83239640
46
+ version_requirements: *70356225125440
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: dslkit
49
- requirement: &83239400 !ruby/object:Gem::Requirement
49
+ requirement: &70356225124660 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ~>
@@ -54,7 +54,18 @@ dependencies:
54
54
  version: '0.2'
55
55
  type: :runtime
56
56
  prerelease: false
57
- version_requirements: *83239400
57
+ version_requirements: *70356225124660
58
+ - !ruby/object:Gem::Dependency
59
+ name: pry-editline
60
+ requirement: &70356225123800 !ruby/object:Gem::Requirement
61
+ none: false
62
+ requirements:
63
+ - - ! '>='
64
+ - !ruby/object:Gem::Version
65
+ version: '0'
66
+ type: :runtime
67
+ prerelease: false
68
+ version_requirements: *70356225123800
58
69
  description: This ruby gem provides some useful command line utilities
59
70
  email: flori@ping.de
60
71
  executables:
@@ -136,6 +147,7 @@ files:
136
147
  - lib/utils/config/gdbinit
137
148
  - lib/utils/config/irbrc
138
149
  - lib/utils/config/rdebugrc
150
+ - lib/utils/config/rvmrc
139
151
  - lib/utils/config/screenrc
140
152
  - lib/utils/config/utilsrc
141
153
  - lib/utils/config/vim/autoload/Align.vim
@@ -210,7 +222,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
210
222
  version: '0'
211
223
  requirements: []
212
224
  rubyforge_project:
213
- rubygems_version: 1.8.11
225
+ rubygems_version: 1.8.15
214
226
  signing_key:
215
227
  specification_version: 3
216
228
  summary: Some useful command line utilities