dshelf 0.2 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/dshelf.rb +2 -2
- metadata +2 -1
data/lib/dshelf.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
module DistributedShelf
|
2
|
-
VERSION = '0.2'
|
2
|
+
VERSION = '0.2.1'
|
3
3
|
|
4
4
|
@@config = {}
|
5
5
|
|
@@ -11,7 +11,7 @@ module DistributedShelf
|
|
11
11
|
end
|
12
12
|
|
13
13
|
def distributed? file
|
14
|
-
@@config[:distributed_path] and not File.
|
14
|
+
@@config[:distributed_path] and not File.expand_path(file).match(@@config[:distributed_path]).nil?
|
15
15
|
end
|
16
16
|
|
17
17
|
def proxy_method(method, &b)
|