golf 0.4.3 → 0.4.4

Sign up to get free protection for your applications and to get access to all the features.
data/lib/golf/compiler.rb CHANGED
@@ -22,7 +22,8 @@ module Golf
22
22
  def res_json
23
23
  results = {}
24
24
  Find.find(@golfpath) do |path|
25
- e = path.slice(@golfpath.length+1,path.length-@golfpath.length)
25
+ start = @golfpath.length+1
26
+ e = path.slice(start, path.length-start)
26
27
  f = URI.escape(e)
27
28
  g = File.basename(e)
28
29
  h = File.dirname(e) == "." ? [] : File.dirname(e).split("/")
data/lib/golf/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Golf
2
- VERSION = "0.4.3"
2
+ VERSION = "0.4.4"
3
3
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 4
8
- - 3
9
- version: 0.4.3
8
+ - 4
9
+ version: 0.4.4
10
10
  platform: ruby
11
11
  authors:
12
12
  - Micha Niskin, Alan Dipert, Julio Capote