golf 0.3.2 → 0.3.3

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.
Files changed (3) hide show
  1. data/lib/golf/cli.rb +2 -2
  2. data/lib/golf/version.rb +1 -1
  3. metadata +1 -1
data/lib/golf/cli.rb CHANGED
@@ -19,7 +19,7 @@ module Golf
19
19
  directory("templates/#{template}", name)
20
20
  end
21
21
  end
22
-
22
+
23
23
  desc "raw", "Dumps a raw hello world golfapp into current dir"
24
24
  def raw
25
25
  directory("templates/raw", "golfapp")
@@ -37,7 +37,7 @@ module Golf
37
37
  package_name = name
38
38
  end
39
39
  create_file "components/#{package_name}/#{component_name}.html" do
40
- File.read("templates/component/Component.html")
40
+ File.read(File.expand_path("../../../templates/component/Component.html", __FILE__))
41
41
  end
42
42
  end
43
43
  end
data/lib/golf/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Golf
2
- VERSION = "0.3.2"
2
+ VERSION = "0.3.3"
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.3.2
5
+ version: 0.3.3
6
6
  platform: ruby
7
7
  authors:
8
8
  - Micha Niskin, Alan Dipert, Julio Capote