golf 0.0.3 → 0.0.4

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/bin/golf CHANGED
@@ -5,4 +5,3 @@ require "rubygems"
5
5
  require "golf"
6
6
 
7
7
  Golf::CLI.start
8
-
data/lib/golf/rack.rb CHANGED
@@ -9,7 +9,7 @@ module Golf
9
9
  if env["REQUEST_METHOD"] == "GET" and env["PATH_INFO"] == "/component.js"
10
10
  ['200', { 'Content-Type' => 'application/javascript', 'Content-Length' => '5'}, ['asasd']]
11
11
  else
12
- @app.call if @app
12
+ @app.call(env) if @app
13
13
  end
14
14
  end
15
15
  end
data/lib/golf/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Golf
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: golf
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.3
5
+ version: 0.0.4
6
6
  platform: ruby
7
7
  authors:
8
8
  - Micha Niskin, Alan Dipert, Julio Capote