golf 0.4.1 → 0.4.2

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