hike 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/hike.rb +1 -1
- data/lib/hike/trail.rb +2 -1
- metadata +3 -3
data/lib/hike.rb
CHANGED
data/lib/hike/trail.rb
CHANGED
@@ -25,7 +25,8 @@ module Hike
|
|
25
25
|
options[:patterns_cache] = {}
|
26
26
|
|
27
27
|
logical_paths.each do |logical_path|
|
28
|
-
logical_path = Pathname.new(logical_path)
|
28
|
+
logical_path = Pathname.new(logical_path.sub(/^\//, ''))
|
29
|
+
|
29
30
|
if relative?(logical_path)
|
30
31
|
find_in_base_path(logical_path, base_path, options, &block)
|
31
32
|
else
|
metadata
CHANGED