boatman 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/boatman/copyable.rb +1 -1
- data/lib/boatman/monitored_directory.rb +1 -1
- data/lib/boatman.rb +2 -2
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.1
|
data/lib/boatman/copyable.rb
CHANGED
@@ -38,7 +38,7 @@ class Boatman
|
|
38
38
|
next if @minimum_age && age < @minimum_age
|
39
39
|
next if @maximum_age && age > @maximum_age
|
40
40
|
|
41
|
-
match_data = entry_path.match(entry_pattern) if entry_pattern.is_a?(Regexp)
|
41
|
+
match_data = File.basename(entry_path).match(entry_pattern) if entry_pattern.is_a?(Regexp)
|
42
42
|
case type
|
43
43
|
when :file
|
44
44
|
entry = MonitoredFile.new(entry_path, match_data)
|
data/lib/boatman.rb
CHANGED
@@ -6,8 +6,8 @@ require "boatman/ext/string"
|
|
6
6
|
require "boatman/ext/fixnum"
|
7
7
|
|
8
8
|
require "boatman/copyable"
|
9
|
-
require "boatman/monitored_directory
|
10
|
-
require "boatman/monitored_file
|
9
|
+
require "boatman/monitored_directory"
|
10
|
+
require "boatman/monitored_file"
|
11
11
|
|
12
12
|
class Boatman
|
13
13
|
cattr_accessor :tasks
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: boatman
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bruz Marzolf
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-12-
|
12
|
+
date: 2009-12-30 00:00:00 -08:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|