utils 0.0.21 → 0.0.22

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -15,7 +15,7 @@ GemHadar do
15
15
  ignore '.*.sw[pon]', 'pkg', 'Gemfile.lock'
16
16
  readme 'README.rdoc'
17
17
 
18
- dependency 'spruz', '~>0.2.13'
18
+ dependency 'tins', '~>0.3'
19
19
  dependency 'term-ansicolor', '~>1.0'
20
20
  dependency 'dslkit', '~>0.2'
21
21
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.21
1
+ 0.0.22
data/bin/classify CHANGED
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
- require 'spruz/go'
4
- include Spruz::GO
5
- require 'spruz/xt/string'
3
+ require 'tins/go'
4
+ include Tins::GO
5
+ require 'tins/xt/string'
6
6
 
7
7
  opts = go 'bd'
8
8
 
data/bin/discover CHANGED
@@ -2,8 +2,8 @@
2
2
 
3
3
  require 'utils'
4
4
  include Utils
5
- require 'spruz/go'
6
- include Spruz::GO
5
+ require 'tins/go'
6
+ include Tins::GO
7
7
 
8
8
  def edit_files(pathes)
9
9
  editor = Utils::Editor.new do |config|
data/bin/edit CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
- require 'spruz/go'
4
- include Spruz::GO
3
+ require 'tins/go'
4
+ include Tins::GO
5
5
  require 'utils'
6
6
  include Utils
7
7
  require 'tempfile'
data/bin/enum ADDED
@@ -0,0 +1,167 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'tins'
4
+ include Tins
5
+ include Tins::GO
6
+
7
+ class CompoundRange
8
+ def initialize
9
+ @ranges = []
10
+ end
11
+
12
+ def concat(range)
13
+ @ranges << range
14
+ self
15
+ end
16
+
17
+ def each(&block)
18
+ @ranges.each { |r| r.each(&block) }
19
+ end
20
+ end
21
+
22
+ class Step
23
+ def initialize(a, b, step = 1, exclusive = false)
24
+ @a = a
25
+ @b = b
26
+ @step = step
27
+ if exclusive
28
+ if step < 0
29
+ @b += 1
30
+ else
31
+ @b -= 1
32
+ end
33
+ end
34
+ end
35
+
36
+ def each(&block)
37
+ @a.step(@b, @step, &block)
38
+ end
39
+ end
40
+
41
+ class StringRange
42
+ def initialize(a, b, exclusive = false)
43
+ @range = if a > b
44
+ if exclusive
45
+ (b.succ..a).to_a.reverse
46
+ else
47
+ (b..a).to_a.reverse
48
+ end
49
+ else
50
+ Range.new(a, b, exclusive)
51
+ end
52
+ end
53
+
54
+ def each(&block)
55
+ @range.each(&block)
56
+ end
57
+ end
58
+
59
+ class IntegerRange < Step
60
+ def initialize(a, b, exclusive = false)
61
+ @a = a
62
+ @b = b
63
+ super(a, b, a > b ? -1 : 1, exclusive)
64
+ end
65
+ end
66
+
67
+ def parse_range(range)
68
+ case range
69
+ when /,/
70
+ range.split(/,/).inject(CompoundRange.new) do |a,x|
71
+ a.concat(parse_range(x))
72
+ end
73
+ when /\A(-?\d+)\Z/
74
+ ($1.to_i)..($1.to_i)
75
+ when /\A(\w+)\Z/
76
+ $1..$1
77
+ when /\A(-?\d+)..(-?\d+)\Z/
78
+ IntegerRange.new($1.to_i, $2.to_i)
79
+ when /\A(-?\d+)...(-?\d+)\Z/
80
+ IntegerRange.new($1.to_i, $2.to_i, true)
81
+ when /\A(-?\d+)..(-?\d+)([+-]\d+)\Z/
82
+ Step.new($1.to_i, $2.to_i, $3.to_i)
83
+ when /\A(-?\d+)...(-?\d+)([+-]\d+)\Z/
84
+ Step.new($1.to_i, $2.to_i, $3.to_i, true)
85
+ when /\A(\w+)..(\w+)\Z/
86
+ StringRange.new($1, $2)
87
+ when /\A(\w+)...(\w+)\Z/
88
+ StringRange.new($1, $2, true)
89
+ else
90
+ fail "parsing range failed due to '#{range}'"
91
+ end
92
+ end
93
+
94
+ def parse_ranges(pattern)
95
+ pattern.split(/:/).map { |range| parse_range(range) }
96
+ end
97
+
98
+ def execute_command(command, format, tuple)
99
+ formatted = (format % tuple).split(/:/)
100
+ if $limited
101
+ $limited.execute do
102
+ system sprintf(command, *formatted)
103
+ end
104
+ else
105
+ system sprintf(command, *formatted)
106
+ end
107
+ end
108
+
109
+ def usage
110
+ puts <<EOT
111
+ Usage: #{File.basename($0)} [OPTIONS] RANGES
112
+
113
+ RANGES has to be a string of the from R1:R2:...Rn, where R1 to Rn are ranges of
114
+ values for each dimension. A range can be specified like in one of
115
+ those examples:
116
+ 2
117
+ 1..3
118
+ 3..1
119
+ 1...3
120
+ 1,2,4
121
+ 1..2,4
122
+ b
123
+ a..c
124
+ a...c
125
+ c..a
126
+ c...a
127
+ a,b,d
128
+ a..b,d
129
+
130
+
131
+ OPTIONS are
132
+
133
+ -p PARALLEL how many threads in parallel should be forked to handle the
134
+ execution of commands.
135
+
136
+ -e COMMAND this command is executed for every created tuple of values.
137
+ The tuple values can be fetch by using %s in order,
138
+ e. g. COMMAND = "a=%s;b=%s;echo a is $a. b is $b."
139
+
140
+ -f FORMAT format the created values with FORMAT = F1:F2:...:Fn each
141
+ format is a sprintf percent format, e. g. %02u.
142
+
143
+ -h this help display this help
144
+
145
+ EOT
146
+ exit 1
147
+ end
148
+
149
+ $opts = {
150
+ }.update(go('p:e:f:h')) do |o,default,set|
151
+ set || default
152
+ end
153
+ usage if $opts['h'] || ARGV.size != 1
154
+ $ranges = ARGV.shift
155
+ $limited = $opts['p'] ? Limited.new($opts['p']) : nil
156
+ ranges = parse_ranges($ranges)
157
+ generator = Generator.new(ranges)
158
+ $opts['f'] ||= %w[ %s ] * generator.size * ':'
159
+
160
+ generator.each do |tuple|
161
+ if $opts['e']
162
+ execute_command($opts['e'], $opts['f'], tuple)
163
+ else
164
+ puts $opts['f'] % tuple
165
+ end
166
+ end
167
+ exit 0
data/bin/myex CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
- require 'spruz'
4
- include Spruz::GO
3
+ require 'tins/go'
4
+ include Tins::GO
5
5
 
6
6
  def usage
7
7
  puts <<EOT
data/bin/path CHANGED
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
- require 'spruz/go'
4
- include Spruz::GO
5
- require 'spruz/xt/secure_write'
3
+ require 'tins/go'
4
+ include Tins::GO
5
+ require 'tins/xt/secure_write'
6
6
  require 'tempfile'
7
7
 
8
8
  path_separator = RUBY_PLATFORM =~ /mswin32/ ? ';' : ':'
data/bin/probe CHANGED
@@ -1,9 +1,9 @@
1
1
  #!/usr/bin/env ruby
2
2
  # encoding: UTF-8
3
3
 
4
- require 'spruz/xt'
5
- require 'spruz/lines_file'
6
- include Spruz::GO
4
+ require 'tins/xt'
5
+ require 'tins/lines_file'
6
+ include Tins::GO
7
7
  require 'utils'
8
8
  include Utils
9
9
 
@@ -33,7 +33,7 @@ if testname = $opt['n']
33
33
  cmd "testrb", '-I', 'lib:test:ext', '-n', testname , filename
34
34
  elsif filename =~ /^\s*([^:]+):(\d+)/
35
35
  filename, line_number = $1, $2
36
- lf = Spruz::LinesFile.for_filename filename, line_number.to_i
36
+ lf = Tins::LinesFile.for_filename filename, line_number.to_i
37
37
  if testname = lf.match_backward(/def\s+(\S+?)(?:\(|\s*$)/).full?(:first)
38
38
  puts "Running test #{testname.inspect} at #{filename}:#{lf.line_number}"
39
39
  cmd "testrb", '-I', 'lib:test:ext', '-n', testname , filename
data/bin/search CHANGED
@@ -3,8 +3,8 @@
3
3
 
4
4
  require 'utils'
5
5
  include Utils
6
- require 'spruz/go'
7
- include Spruz::GO
6
+ require 'tins/go'
7
+ include Tins::GO
8
8
 
9
9
  def edit_files(pattern, pathes)
10
10
  editor = Utils::Editor.new do |config|
data/bin/sshscreen CHANGED
@@ -2,8 +2,8 @@
2
2
 
3
3
  require 'fileutils'
4
4
  include FileUtils::Verbose
5
- require 'spruz/go'
6
- include Spruz::GO
5
+ require 'tins/go'
6
+ include Tins::GO
7
7
 
8
8
  =begin
9
9
  ~/.ssh/config:
data/bin/strip_spaces CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
- require 'spruz/secure_write'
4
- include Spruz::SecureWrite
3
+ require 'tins/secure_write'
4
+ include Tins::SecureWrite
5
5
  require 'utils'
6
6
  include Utils::Find
7
7
 
data/bin/untest CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
- require 'spruz/xt/secure_write'
3
+ require 'tins/xt/secure_write'
4
4
 
5
5
  for filename in ARGV
6
6
  File.open(filename) do |input|
@@ -1,5 +1,5 @@
1
1
  require 'dslkit/polite'
2
- require 'spruz/xt/string'
2
+ require 'tins/xt/string'
3
3
 
4
4
  class Utils::Config::ConfigFile
5
5
  include DSLKit::Interpreter
data/lib/utils/finder.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  require 'term/ansicolor'
2
- require 'spruz/xt'
2
+ require 'tins/xt'
3
3
 
4
4
  class ::File
5
5
  include Utils::FileXt
data/lib/utils/grepper.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  require 'term/ansicolor'
2
- require 'spruz/xt'
2
+ require 'tins/xt'
3
3
 
4
4
  class ::File
5
5
  include Utils::FileXt
data/lib/utils/version.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  module Utils
2
2
  # Utils version
3
- VERSION = '0.0.21'
3
+ VERSION = '0.0.22'
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,16 +2,16 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "utils"
5
- s.version = "0.0.21"
5
+ s.version = "0.0.22"
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-09-08"
9
+ s.date = "2011-09-25"
10
10
  s.description = "This ruby gem provides some useful command line utilities"
11
11
  s.email = "flori@ping.de"
12
- s.executables = ["chroot-exec", "chroot-libs", "classify", "discover", "edit", "edit_wait", "errf", "git-empty", "myex", "number_files", "path", "probe", "same_files", "search", "sedit", "sshscreen", "strip_spaces", "unquarantine_apps", "untest", "utils-install-config", "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
- s.files = [".gitignore", ".rvmrc", "COPYING", "Gemfile", "README.rdoc", "Rakefile", "TODO", "VERSION", "bin/chroot-exec", "bin/chroot-libs", "bin/classify", "bin/discover", "bin/edit", "bin/edit_wait", "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/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"]
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", "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"]
14
+ s.files = [".gitignore", ".rvmrc", "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/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"]
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"]
@@ -22,19 +22,19 @@ Gem::Specification.new do |s|
22
22
  s.specification_version = 3
23
23
 
24
24
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
25
- s.add_development_dependency(%q<gem_hadar>, ["~> 0.0.12"])
26
- s.add_runtime_dependency(%q<spruz>, ["~> 0.2.13"])
25
+ s.add_development_dependency(%q<gem_hadar>, ["~> 0.1.0"])
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
29
  else
30
- s.add_dependency(%q<gem_hadar>, ["~> 0.0.12"])
31
- s.add_dependency(%q<spruz>, ["~> 0.2.13"])
30
+ s.add_dependency(%q<gem_hadar>, ["~> 0.1.0"])
31
+ s.add_dependency(%q<tins>, ["~> 0.3"])
32
32
  s.add_dependency(%q<term-ansicolor>, ["~> 1.0"])
33
33
  s.add_dependency(%q<dslkit>, ["~> 0.2"])
34
34
  end
35
35
  else
36
- s.add_dependency(%q<gem_hadar>, ["~> 0.0.12"])
37
- s.add_dependency(%q<spruz>, ["~> 0.2.13"])
36
+ s.add_dependency(%q<gem_hadar>, ["~> 0.1.0"])
37
+ s.add_dependency(%q<tins>, ["~> 0.3"])
38
38
  s.add_dependency(%q<term-ansicolor>, ["~> 1.0"])
39
39
  s.add_dependency(%q<dslkit>, ["~> 0.2"])
40
40
  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.21
4
+ version: 0.0.22
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,33 +9,33 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-09-08 00:00:00.000000000Z
12
+ date: 2011-09-25 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: gem_hadar
16
- requirement: &2168807720 !ruby/object:Gem::Requirement
16
+ requirement: &2156179340 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
20
20
  - !ruby/object:Gem::Version
21
- version: 0.0.12
21
+ version: 0.1.0
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: *2168807720
24
+ version_requirements: *2156179340
25
25
  - !ruby/object:Gem::Dependency
26
- name: spruz
27
- requirement: &2168807280 !ruby/object:Gem::Requirement
26
+ name: tins
27
+ requirement: &2156178520 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
31
31
  - !ruby/object:Gem::Version
32
- version: 0.2.13
32
+ version: '0.3'
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *2168807280
35
+ version_requirements: *2156178520
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: term-ansicolor
38
- requirement: &2168806760 !ruby/object:Gem::Requirement
38
+ requirement: &2156177520 !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: *2168806760
46
+ version_requirements: *2156177520
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: dslkit
49
- requirement: &2168806200 !ruby/object:Gem::Requirement
49
+ requirement: &2156176500 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ~>
@@ -54,45 +54,46 @@ dependencies:
54
54
  version: '0.2'
55
55
  type: :runtime
56
56
  prerelease: false
57
- version_requirements: *2168806200
57
+ version_requirements: *2156176500
58
58
  description: This ruby gem provides some useful command line utilities
59
59
  email: flori@ping.de
60
60
  executables:
61
- - chroot-exec
61
+ - untest
62
62
  - chroot-libs
63
- - classify
64
- - discover
65
- - edit
66
63
  - edit_wait
67
- - errf
68
- - git-empty
69
- - myex
64
+ - chroot-exec
70
65
  - number_files
66
+ - search
67
+ - strip_spaces
71
68
  - path
69
+ - enum
70
+ - edit
71
+ - git-empty
72
+ - classify
73
+ - utils-install-config
74
+ - xmp
75
+ - discover
76
+ - sshscreen
77
+ - myex
72
78
  - probe
79
+ - errf
73
80
  - same_files
74
- - search
75
- - sedit
76
- - sshscreen
77
- - strip_spaces
78
81
  - unquarantine_apps
79
- - untest
80
- - utils-install-config
81
82
  - vacuum_firefox_sqlite
82
- - xmp
83
+ - sedit
83
84
  extensions: []
84
85
  extra_rdoc_files:
85
86
  - README.rdoc
86
87
  - lib/utils/config/config_file.rb
88
+ - lib/utils/finder.rb
89
+ - lib/utils/version.rb
90
+ - lib/utils/find.rb
87
91
  - lib/utils/config.rb
88
92
  - lib/utils/editor.rb
89
- - lib/utils/file_xt.rb
90
- - lib/utils/find.rb
91
- - lib/utils/finder.rb
92
93
  - lib/utils/grepper.rb
94
+ - lib/utils/file_xt.rb
93
95
  - lib/utils/md5.rb
94
96
  - lib/utils/patterns.rb
95
- - lib/utils/version.rb
96
97
  - lib/utils.rb
97
98
  files:
98
99
  - .gitignore
@@ -109,6 +110,7 @@ files:
109
110
  - bin/discover
110
111
  - bin/edit
111
112
  - bin/edit_wait
113
+ - bin/enum
112
114
  - bin/errf
113
115
  - bin/git-empty
114
116
  - bin/myex