golf 0.2.5 → 0.2.7
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/golf/compiler.rb +3 -1
- data/lib/golf/version.rb +1 -1
- metadata +6 -6
- /data/templates/raw/{golfapp/components → components}/HelloWorld/HelloWorld.html +0 -0
- /data/templates/raw/{golfapp/controller.js → controller.js} +0 -0
- /data/templates/raw/{golfapp/plugins → plugins}/mylib.js +0 -0
- /data/templates/raw/{golfapp/scripts → scripts}/00-myscript.js +0 -0
- /data/templates/raw/{golfapp/styles → styles}/main.css +0 -0
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
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
|
+
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/
|
84
|
-
- templates/raw/
|
85
|
-
- templates/raw/
|
86
|
-
- templates/raw/
|
87
|
-
- templates/raw/
|
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
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|