dshelf 0.2 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/dshelf.rb +2 -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.absolute_path(file).match(@@config[:distributed_path]).nil?
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)
metadata CHANGED
@@ -5,7 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 2
8
- version: "0.2"
8
+ - 1
9
+ version: 0.2.1
9
10
  platform: ruby
10
11
  authors:
11
12
  - Phil Pirozhkov