golf 0.4.6 → 0.4.7
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/golf/compiler.rb +1 -1
- data/lib/golf/version.rb +1 -1
- metadata +2 -2
data/lib/golf/compiler.rb
CHANGED
@@ -24,7 +24,7 @@ module Golf
|
|
24
24
|
path = "#{@golfpath}/"
|
25
25
|
Find.find(@golfpath) do |path|
|
26
26
|
start = @golfpath.length
|
27
|
-
e = path.slice(start
|
27
|
+
e = path.slice(start, path.length-start)
|
28
28
|
f = URI.escape(e)
|
29
29
|
g = File.basename(e)
|
30
30
|
h = File.dirname(e) == "." ? [] : File.dirname(e).split("/")
|
data/lib/golf/version.rb
CHANGED