golf 0.4.1 → 0.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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