golf 0.2.5 → 0.2.7

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
@@ -2,8 +2,10 @@ module Golf
2
2
  class Compiler
3
3
 
4
4
  def initialize(golfpath = ".")
5
- puts "starting up in #{golfpath}"
6
5
  @golfpath = "#{golfpath}/golfapp"
6
+ puts "golf #{Golf::VERSION}: starting compiler in #{@golfpath}..."
7
+ components = "#{@golfpath}/components"
8
+ puts "golf #{Golf::VERSION}: is valid golfapp?: #{File.exists?(components)}"
7
9
  end
8
10
 
9
11
  def generate_componentsjs
data/lib/golf/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Golf
2
- VERSION = "0.2.5"
2
+ VERSION = "0.2.7"
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.2.5
5
+ version: 0.2.7
6
6
  platform: ruby
7
7
  authors:
8
8
  - Micha Niskin, Alan Dipert, Julio Capote
@@ -80,11 +80,11 @@ files:
80
80
  - templates/new/golfapp/plugins/mylib.js
81
81
  - templates/new/golfapp/scripts/00-myscript.js
82
82
  - templates/new/golfapp/styles/main.css
83
- - templates/raw/golfapp/components/HelloWorld/HelloWorld.html
84
- - templates/raw/golfapp/controller.js
85
- - templates/raw/golfapp/plugins/mylib.js
86
- - templates/raw/golfapp/scripts/00-myscript.js
87
- - templates/raw/golfapp/styles/main.css
83
+ - templates/raw/components/HelloWorld/HelloWorld.html
84
+ - templates/raw/controller.js
85
+ - templates/raw/plugins/mylib.js
86
+ - templates/raw/scripts/00-myscript.js
87
+ - templates/raw/styles/main.css
88
88
  - templates/sinatra/Gemfile
89
89
  - templates/sinatra/config.ru
90
90
  - templates/sinatra/demo.rb
File without changes