utils 0.0.43 → 0.0.44

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.43
1
+ 0.0.44
data/lib/utils/finder.rb CHANGED
@@ -53,7 +53,7 @@ class Utils::Finder
53
53
  def search
54
54
  pathes = []
55
55
  suffixes = @args['I'].ask_and_send(:split, /[\s,]+/).to_a
56
- find(*[ @roots, { :suffix => suffixes } ]) do |filename|
56
+ find(*(@roots + [ { :suffix => suffixes } ])) do |filename|
57
57
  begin
58
58
  bn, s = filename.pathname.basename, filename.stat
59
59
  if s.directory? && @config.discover.prune?(bn)
data/lib/utils/grepper.rb CHANGED
@@ -149,7 +149,7 @@ class Utils::Grepper
149
149
 
150
150
  def search
151
151
  suffixes = @args['I'].ask_and_send(:split, /[\s,]+/).to_a
152
- find(*[ @roots, { :suffix => suffixes } ]) do |filename|
152
+ find(*(@roots + [ { :suffix => suffixes } ])) do |filename|
153
153
  match(filename)
154
154
  end
155
155
  if @args['L'] or @args['e']
data/lib/utils/version.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  module Utils
2
2
  # Utils version
3
- VERSION = '0.0.43'
3
+ VERSION = '0.0.44'
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,11 +2,11 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "utils"
5
- s.version = "0.0.43"
5
+ s.version = "0.0.44"
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 = "2012-04-25"
9
+ s.date = "2012-04-27"
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"]
@@ -15,7 +15,7 @@ Gem::Specification.new do |s|
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.21"
18
+ s.rubygems_version = "1.8.23"
19
19
  s.summary = "Some useful command line utilities"
20
20
 
21
21
  if s.respond_to? :specification_version then
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.43
4
+ version: 0.0.44
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-04-25 00:00:00.000000000 Z
12
+ date: 2012-04-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: gem_hadar
@@ -255,7 +255,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
255
255
  version: '0'
256
256
  segments:
257
257
  - 0
258
- hash: -3456402908729313943
258
+ hash: 3956618814004661333
259
259
  required_rubygems_version: !ruby/object:Gem::Requirement
260
260
  none: false
261
261
  requirements:
@@ -264,7 +264,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
264
264
  version: '0'
265
265
  requirements: []
266
266
  rubyforge_project:
267
- rubygems_version: 1.8.21
267
+ rubygems_version: 1.8.23
268
268
  signing_key:
269
269
  specification_version: 3
270
270
  summary: Some useful command line utilities