watch-paths 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +5 -0
- data/bin/watch-paths +1 -1
- data/lib/watch-paths.rb +2 -2
- metadata +1 -1
data/History.txt
CHANGED
data/bin/watch-paths
CHANGED
data/lib/watch-paths.rb
CHANGED
@@ -11,7 +11,7 @@ $r ||= false
|
|
11
11
|
|
12
12
|
class WatchPaths
|
13
13
|
|
14
|
-
VERSION = '1.1.
|
14
|
+
VERSION = '1.1.1'
|
15
15
|
|
16
16
|
##
|
17
17
|
# File used to record checksums in each path scanned
|
@@ -23,7 +23,7 @@ class WatchPaths
|
|
23
23
|
|
24
24
|
def watch( paths )
|
25
25
|
chksum_errors = {}
|
26
|
-
paths.map!{ |path| Dir["#{path}/**/*"] } if $r
|
26
|
+
paths.map!{ |path| Dir["#{path}/**/*"] }.flatten! if $r
|
27
27
|
dirs = paths.select{ |path| File.directory? path }
|
28
28
|
dirs.each do |dir|
|
29
29
|
cd dir do
|
metadata
CHANGED
@@ -3,7 +3,7 @@ rubygems_version: 0.9.4
|
|
3
3
|
specification_version: 1
|
4
4
|
name: watch-paths
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 1.1.
|
6
|
+
version: 1.1.1
|
7
7
|
date: 2007-09-06 00:00:00 -04:00
|
8
8
|
summary: "== FEATURES/PROBLEMS: * A poor man's configuration management * Does not report files added since last scan * Error handling is minimal"
|
9
9
|
require_paths:
|