golf 0.4.13 → 0.4.14
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/Rakefile +4 -0
- data/lib/golf/cli.rb +5 -10
- data/lib/golf/version.rb +1 -1
- metadata +2 -22
data/Rakefile
CHANGED
data/lib/golf/cli.rb
CHANGED
@@ -47,23 +47,18 @@ module Golf
|
|
47
47
|
def server
|
48
48
|
`rackup`
|
49
49
|
end
|
50
|
-
|
50
|
+
|
51
51
|
desc "compile [DESTINATION]", "Compile the app into a directory"
|
52
|
-
# move resources into destination from gem
|
53
|
-
# move golfapp/ over destination
|
54
|
-
# drop component.js into destination
|
55
|
-
|
56
52
|
def compile(dir)
|
57
|
-
if Golf::Compiler.valid?(
|
53
|
+
if Golf::Compiler.valid?(self.destination_root)
|
58
54
|
compiler = Golf::Compiler.new
|
59
|
-
|
60
|
-
directory(
|
61
|
-
directory('golfapp/', dir)
|
55
|
+
directory('resources', dir)
|
56
|
+
directory("#{self.destination_root}/golfapp", dir)
|
62
57
|
create_file "#{dir}/components.js" do
|
63
58
|
compiler.generate_componentsjs
|
64
59
|
end
|
65
60
|
else
|
66
|
-
puts "golfapp/components not found"
|
61
|
+
puts "#{self.destination_root}/golfapp/components not found"
|
67
62
|
end
|
68
63
|
end
|
69
64
|
|
data/lib/golf/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,8 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: golf
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash: 21
|
5
4
|
prerelease:
|
6
|
-
|
7
|
-
- 0
|
8
|
-
- 4
|
9
|
-
- 13
|
10
|
-
version: 0.4.13
|
5
|
+
version: 0.4.14
|
11
6
|
platform: ruby
|
12
7
|
authors:
|
13
8
|
- Micha Niskin, Alan Dipert, Julio Capote
|
@@ -26,9 +21,6 @@ dependencies:
|
|
26
21
|
requirements:
|
27
22
|
- - ">="
|
28
23
|
- !ruby/object:Gem::Version
|
29
|
-
hash: 3
|
30
|
-
segments:
|
31
|
-
- 0
|
32
24
|
version: "0"
|
33
25
|
type: :runtime
|
34
26
|
version_requirements: *id001
|
@@ -40,9 +32,6 @@ dependencies:
|
|
40
32
|
requirements:
|
41
33
|
- - ">="
|
42
34
|
- !ruby/object:Gem::Version
|
43
|
-
hash: 3
|
44
|
-
segments:
|
45
|
-
- 0
|
46
35
|
version: "0"
|
47
36
|
type: :runtime
|
48
37
|
version_requirements: *id002
|
@@ -54,9 +43,6 @@ dependencies:
|
|
54
43
|
requirements:
|
55
44
|
- - ">="
|
56
45
|
- !ruby/object:Gem::Version
|
57
|
-
hash: 3
|
58
|
-
segments:
|
59
|
-
- 0
|
60
46
|
version: "0"
|
61
47
|
type: :runtime
|
62
48
|
version_requirements: *id003
|
@@ -200,23 +186,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
200
186
|
requirements:
|
201
187
|
- - ">="
|
202
188
|
- !ruby/object:Gem::Version
|
203
|
-
hash: 3
|
204
|
-
segments:
|
205
|
-
- 0
|
206
189
|
version: "0"
|
207
190
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
208
191
|
none: false
|
209
192
|
requirements:
|
210
193
|
- - ">="
|
211
194
|
- !ruby/object:Gem::Version
|
212
|
-
hash: 3
|
213
|
-
segments:
|
214
|
-
- 0
|
215
195
|
version: "0"
|
216
196
|
requirements: []
|
217
197
|
|
218
198
|
rubyforge_project: golf
|
219
|
-
rubygems_version: 1.6.
|
199
|
+
rubygems_version: 1.6.1
|
220
200
|
signing_key:
|
221
201
|
specification_version: 3
|
222
202
|
summary: Component based front end JS Framework
|