gokart 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +20 -0
- data/assets/src/www/app/erb_helpers/erb_helper.rb +41 -0
- data/assets/src/www/app/sass/application.css.scss +20 -120
- data/assets/src/www/app/templates/home.gotmpl +24 -21
- data/assets/tasks/www.rake +38 -25
- data/lib/gokart/environment.rb +1 -0
- data/lib/gokart/version.rb +1 -1
- metadata +33 -32
data/README.md
CHANGED
@@ -0,0 +1,20 @@
|
|
1
|
+
# Go Kart #
|
2
|
+
Combination of tooks which will make developing webapps using go easier. The gokart gem by default combines SASS, Coffee Script, Rake, and Sprokets with Go to provide a great development environment. This environment supports test driven development (TDD) with ruby guard and jasmine.
|
3
|
+
There are no external dependancies other than Go and ruby (which I expect you already have...). All dependancies are installed via bundler after the project directory is created.
|
4
|
+
|
5
|
+
|
6
|
+
# Environment Structure #
|
7
|
+
The environment is split into the following sections:
|
8
|
+
* bin/ - This is where the application will run from once built, and where all the assets will be compiled to.
|
9
|
+
* bin/server/ - Compiled Go http server.
|
10
|
+
* bin/assets/templates/ - Compiled Go HTML templates
|
11
|
+
* bin/assets/www-min/ - Compiled and minified CSS/JS/images using sprockets
|
12
|
+
* bin/assets/www-debug/ - Compiled, but non-minified/concatonated CSS/JS source, images are here also
|
13
|
+
* lib/ - Where any Go libraries your app depends on will be installed by running 'go get'. Note: You'll need to set the project into your GOPATH, I haven't figured out a good solution for this yet.
|
14
|
+
* spec/javascripts/ - Where all of the compiled JS specs will be written to, and run from. Note: Currently these do not go through sprockets, but only the coffee-script compiler. So no preprocessing is available
|
15
|
+
* spec/javascripts/support - Configuration files for Jasmine. jasmin.yml contains the script specifiing the source files to load, and what order to load them in.
|
16
|
+
* src/server/ - All of your Go code will go here following the normal Go 1.0 directory pattern
|
17
|
+
* src/www/app/ - All of you Coffee script, sass, and Go Template are found here
|
18
|
+
* src/www/spec/ - All coffee script spec files which will be compiled into js and run using jasmine.
|
19
|
+
* src/www/vendor/ - js/css/image files for third party tools and libraries
|
20
|
+
* tasks/ - Rake tasks to build, run, and test the application. There are sevearl tasks which you can run do 'rake --tasks' to see a complete list of them. 'rake app:test' to run test units, 'rake app:start' to build and run, use startdebug for a debug build. Note: when you do 'rake jasmine' or rake 'app:guard' you probably want to start these tasks in different tabs because they run until killed.
|
@@ -0,0 +1,41 @@
|
|
1
|
+
|
2
|
+
module ErbHelper
|
3
|
+
def ErbHelper.asset_link(asset, prefix)
|
4
|
+
if (prefix == 'js')
|
5
|
+
return "<script type=\"text/javascript\" src=\"{{.RootURL}}/assets/#{asset}\"></script>"
|
6
|
+
else (prefix == 'css')
|
7
|
+
return "<link rel=\"stylesheet\" type=\"text/css\" src=\"{{.RootURL}}/assets/#{asset}\">"
|
8
|
+
end
|
9
|
+
end
|
10
|
+
|
11
|
+
def ErbHelper.each_compiled_debug_asset(bundles, sproc_env)
|
12
|
+
each_compiled_asset(bundles, sproc_env) do |comp_file, prefix, assets|
|
13
|
+
assets.to_a.each do |asset|
|
14
|
+
# strip filename.css.foo.bar.css multiple extensions, but maintain the base directory of the file
|
15
|
+
realname = asset.pathname.basename.to_s.split(".")[0..1].join(".")
|
16
|
+
nested = File.dirname(asset.logical_path)
|
17
|
+
|
18
|
+
if nested == "."
|
19
|
+
rel_path = File.join(prefix, realname)
|
20
|
+
else
|
21
|
+
rel_path = File.join(prefix, nested, realname)
|
22
|
+
end
|
23
|
+
|
24
|
+
yield(rel_path, prefix) if block_given?
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
28
|
+
|
29
|
+
def ErbHelper.each_compiled_asset(bundles, sproc_env)
|
30
|
+
bundles.each do |bundle|
|
31
|
+
assets = sproc_env.find_asset(bundle)
|
32
|
+
|
33
|
+
# drop all extentions except the first
|
34
|
+
realname = assets.pathname.basename.to_s.split(".")[0..1].join(".")
|
35
|
+
prefix = File.extname(realname).split('.').last
|
36
|
+
out_file = File.join(prefix, realname)
|
37
|
+
|
38
|
+
yield(out_file, prefix, assets) if block_given?
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
@@ -1,136 +1,36 @@
|
|
1
|
-
html, body {
|
2
|
-
width: 100%;
|
3
|
-
height: 100%;
|
4
|
-
}
|
5
1
|
|
6
|
-
|
2
|
+
$box_border: #C4A478;
|
3
|
+
$lightBlue: #3bbfce;
|
4
|
+
$warning: #f00;
|
5
|
+
$base_bg: #fff;
|
6
|
+
|
7
|
+
|
8
|
+
html, body, div, h1, h2, h3, h4, p {
|
7
9
|
margin: 0;
|
8
10
|
padding: 0;
|
9
11
|
}
|
10
12
|
|
11
|
-
ul {
|
12
|
-
list-style-type: none;
|
13
|
-
}
|
14
|
-
|
15
|
-
h3 {font-size: 100%;}
|
16
|
-
|
17
|
-
$lightBlue: #3bbfce;
|
18
|
-
$warning: #f00;
|
19
|
-
|
20
13
|
* {
|
21
|
-
-webkit-user-select:none;
|
22
14
|
-webkit-box-sizing:border-box;
|
23
15
|
box-sizing:border-box;
|
24
16
|
}
|
25
17
|
|
26
18
|
body {
|
27
|
-
|
28
|
-
height: 100%;
|
29
|
-
display: -webkit-box;
|
30
|
-
-webkit-box-orient: vertical;
|
31
|
-
}
|
32
|
-
|
33
|
-
.panel {
|
34
|
-
width: 100%;
|
35
|
-
}
|
36
|
-
|
37
|
-
|
38
|
-
/*********************
|
39
|
-
header bar
|
40
|
-
*********************/
|
41
|
-
#header {
|
42
|
-
display: -webkit-box;
|
43
|
-
height: 30px;
|
44
|
-
width: 100%;
|
45
|
-
|
46
|
-
color: $lightBlue;
|
47
|
-
background-image:-webkit-gradient(linear, left top, left bottom, from(rgba(16,25,33,1)), to(rgba(14,23,32,1)), color-stop(.5, rgba(27,36,46,1)), color-stop(.5, rgba(14,23,32,1)));
|
48
|
-
-webkit-box-shadow:0px 0px 24px rgba(0,0,0,0.8); box-shadow:0px 0px 24px rgba(0,0,0,0.8);
|
49
|
-
|
50
|
-
-webkit-box-orient: horizontal;
|
51
|
-
-webkit-box-align: center;
|
52
|
-
-webkit-box-pack: justify;
|
53
|
-
}
|
54
|
-
#header .title {
|
55
|
-
-webkit-box-flex: 1;
|
56
|
-
text-align: center;
|
57
|
-
}
|
58
|
-
#header .search-bar {
|
59
|
-
display: none;
|
60
|
-
}
|
61
|
-
#header .serach-bar.shown {
|
62
|
-
display: -webkit-box;
|
63
|
-
-webkit-box-flex: 1;
|
64
|
-
width: 100%;
|
65
|
-
}
|
66
|
-
#header .search-button {
|
67
|
-
padding: 5px;
|
19
|
+
background: $base_bg;
|
68
20
|
}
|
69
21
|
|
22
|
+
.info-block {
|
23
|
+
margin: 1em 2em;
|
24
|
+
padding: 1em;
|
25
|
+
border: 2px solid $box_border;
|
26
|
+
border-radius: 10px;
|
70
27
|
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
-webkit-box-align: center;
|
79
|
-
overflow: hidden;
|
80
|
-
|
81
|
-
z-index:1000;
|
82
|
-
position:relative;
|
83
|
-
}
|
84
|
-
#subreddit-wrapper {
|
85
|
-
height: 40px;
|
86
|
-
display: -webkit-box;
|
87
|
-
}
|
88
|
-
#subreddit-wrapper ul.subreddits {
|
89
|
-
display: -webkit-box;
|
90
|
-
-webkit-box-orient: horizontal;
|
91
|
-
-webkit-box-align: center;
|
92
|
-
padding-left: 0;
|
93
|
-
white-space: nowrap;
|
94
|
-
}
|
95
|
-
#subreddit-wrapper .subreddits li {
|
96
|
-
display:inline;
|
97
|
-
a {
|
98
|
-
margin-right: 5px;
|
99
|
-
padding: 0 5px;
|
100
|
-
|
101
|
-
}
|
28
|
+
background: -moz-linear-gradient(top, rgba(0,0,0,0.38) 0%, rgba(0,0,0,0) 85%, rgba(0,0,0,0) 100%); /* FF3.6+ */
|
29
|
+
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,0.38)), color-stop(85%,rgba(0,0,0,0)), color-stop(100%,rgba(0,0,0,0))); /* Chrome,Safari4+ */
|
30
|
+
background: -webkit-linear-gradient(top, rgba(0,0,0,0.38) 0%,rgba(0,0,0,0) 85%,rgba(0,0,0,0) 100%); /* Chrome10+,Safari5.1+ */
|
31
|
+
background: -o-linear-gradient(top, rgba(0,0,0,0.38) 0%,rgba(0,0,0,0) 85%,rgba(0,0,0,0) 100%); /* Opera 11.10+ */
|
32
|
+
background: -ms-linear-gradient(top, rgba(0,0,0,0.38) 0%,rgba(0,0,0,0) 85%,rgba(0,0,0,0) 100%); /* IE10+ */
|
33
|
+
background: linear-gradient(top, rgba(0,0,0,0.38) 0%,rgba(0,0,0,0) 85%,rgba(0,0,0,0) 100%); /* W3C */
|
34
|
+
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#61000000', endColorstr='#00000000',GradientType=0 );
|
102
35
|
}
|
103
36
|
|
104
|
-
|
105
|
-
/***************************
|
106
|
-
App Content for main page
|
107
|
-
***************************/
|
108
|
-
#content{
|
109
|
-
z-index:180;
|
110
|
-
display:block;
|
111
|
-
position:relative;
|
112
|
-
} /* Accounts for positioning of the content area, which is everything below the header and above the navbar. */
|
113
|
-
|
114
|
-
.panel {
|
115
|
-
z-index:180;
|
116
|
-
width:100%;
|
117
|
-
height:100%;
|
118
|
-
display:none;
|
119
|
-
position:absolute; top:0px; left:-100%;
|
120
|
-
overflow:hidden;
|
121
|
-
}
|
122
|
-
|
123
|
-
#subreddit-posts {
|
124
|
-
display: -webkit-box;
|
125
|
-
}
|
126
|
-
|
127
|
-
|
128
|
-
/***************************
|
129
|
-
Formatting for Short posts
|
130
|
-
***************************/
|
131
|
-
.posts .post-short {
|
132
|
-
display: bock;
|
133
|
-
}
|
134
|
-
.posts .post-short.nsfw {
|
135
|
-
background-color: $warning;
|
136
|
-
}
|
@@ -1,25 +1,28 @@
|
|
1
1
|
{{define "home.contents"}}
|
2
|
-
<
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
<
|
8
|
-
|
9
|
-
<
|
10
|
-
<
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
2
|
+
<div class="info-block">
|
3
|
+
<h3>Go Kart</h3>
|
4
|
+
<p>Combination of tooks which will make developing webapps using go easier. The gokart gem by default combines SASS, Coffee Script, Rake, and Sprokets with Go to provide a great development environment. This environment supports test driven development (TDD) with ruby guard and jasmine.</p>
|
5
|
+
<p>There are no external dependancies other than Go and ruby (which I expect you already have...). All dependancies are installed via bundler after the project directory is created.</p>
|
6
|
+
</div>
|
7
|
+
<div class="info-block">
|
8
|
+
<h4>Environment Structure</h4>
|
9
|
+
<p>The environment is split into the following sections:</p>
|
10
|
+
<ul>
|
11
|
+
<li><strong>bin/</strong> - This is where the application will run from once built, and where all the assets will be compiled to.</li>
|
12
|
+
<li><strong>bin/server/</strong> - Compiled Go http server.</li>
|
13
|
+
<li><strong>bin/assets/templates/</strong> - Compiled Go HTML templates</li>
|
14
|
+
<li><strong>bin/assets/www-min/</strong> - Compiled and minified CSS/JS/images using sprockets</li>
|
15
|
+
<li><strong>bin/assets/www-debug/</strong> - Compiled, but non-minified/concatonated CSS/JS source, images are here also</li>
|
16
|
+
<li><strong>lib/</strong> - Where any Go libraries your app depends on will be installed by running 'go get'. Note: You'll need to set the project into your GOPATH, I haven't figured out a good solution for this yet.</li>
|
17
|
+
<li><strong>spec/javascripts/</strong> - Where all of the compiled JS specs will be written to, and run from. Note: Currently these do not go through sprockets, but only the coffee-script compiler. So no preprocessing is available</li>
|
18
|
+
<li><strong>spec/javascripts/support</strong> - Configuration files for Jasmine. jasmin.yml contains the script specifiing the source files to load, and what order to load them in.</li>
|
19
|
+
<li><strong>src/server/</strong> - All of your Go code will go here following the normal Go 1.0 directory pattern</li>
|
20
|
+
<li><strong>src/www/app/</strong> - All of you Coffee script, sass, and Go Template are found here</li>
|
21
|
+
<li><strong>src/www/spec/</strong> - All coffee script spec files which will be compiled into js and run using jasmine.</li>
|
22
|
+
<li><strong>src/www/vendor/</strong> - js/css/image files for third party tools and libraries</li>
|
23
|
+
<li><strong>tasks/</strong> - Rake tasks to build, run, and test the application. There are sevearl tasks which you can run do 'rake --tasks' to see a complete list of them. 'rake app:test' to run test units, 'rake app:start' to build and run, use startdebug for a debug build. Note: when you do 'rake jasmine' or rake 'app:guard' you probably want to start these tasks in different tabs because they run until killed.</li>
|
24
|
+
</ul>
|
25
|
+
</div>
|
23
26
|
|
24
27
|
{{end}}
|
25
28
|
|
data/assets/tasks/www.rake
CHANGED
@@ -1,9 +1,13 @@
|
|
1
1
|
require 'fileutils'
|
2
|
-
require '
|
2
|
+
require 'sprockets'
|
3
3
|
require 'sass'
|
4
|
+
require 'coffee_script'
|
4
5
|
require 'yui/compressor'
|
5
6
|
require 'uglifier'
|
6
|
-
|
7
|
+
|
8
|
+
|
9
|
+
Dir.glob("#{WWW_SRC_APP_PATH}/erb_helpers/**/*.rb").sort.each { |helper| load helper }
|
10
|
+
|
7
11
|
|
8
12
|
sprockets = (Sprockets::Environment.new(ROOT) { |env| env.logger = Logger.new(STDOUT) })
|
9
13
|
sprockets.append_path WWW_SRC_VENDOR_PATH.join('css').to_s
|
@@ -11,6 +15,7 @@ sprockets.append_path WWW_SRC_APP_PATH.join('sass').to_s
|
|
11
15
|
sprockets.append_path WWW_SRC_VENDOR_PATH.join('js').to_s
|
12
16
|
sprockets.append_path WWW_SRC_APP_PATH.join('coffee').to_s
|
13
17
|
sprockets.append_path WWW_SRC_APP_PATH.join('templates').to_s
|
18
|
+
|
14
19
|
# Note: Requires JVM for YUI
|
15
20
|
sprockets.css_compressor = YUI::CssCompressor.new
|
16
21
|
sprockets.js_compressor = Uglifier.new(mangle: true)
|
@@ -103,37 +108,45 @@ namespace :app do
|
|
103
108
|
|
104
109
|
desc 'Compiles the asset files into those usable by the browser'
|
105
110
|
task :compile do
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
111
|
+
begin
|
112
|
+
ASSET_BUNDLES.each do |bundle|
|
113
|
+
assets = sprockets.find_asset(bundle)
|
114
|
+
|
115
|
+
# drop all extentions except the first
|
116
|
+
realname = assets.pathname.basename.to_s.split(".")[0..1].join(".")
|
117
|
+
prefix = File.extname(realname).split('.').last
|
118
|
+
outfile = MIN_WWW_PATH.join(prefix, realname)
|
119
|
+
|
120
|
+
assets.write_to(outfile)
|
121
|
+
assets.write_to("#{outfile}.gz")
|
122
|
+
|
123
|
+
# For each asset in the bundle write them to the debug output
|
124
|
+
assets.to_a.each do |asset|
|
125
|
+
# strip filename.css.foo.bar.css multiple extensions, but maintain the base directory of the file
|
126
|
+
realname = asset.pathname.basename.to_s.split(".")[0..1].join(".")
|
127
|
+
outPath = DEBUG_WWW_PATH.join(prefix, File.dirname(asset.logical_path))
|
128
|
+
FileUtils::mkdir_p(outPath) if (!FileTest::directory?(outPath))
|
129
|
+
asset.write_to(outPath.join(realname))
|
130
|
+
end
|
124
131
|
end
|
132
|
+
rescue Exception => e
|
133
|
+
$stderr.puts "Failed to compile assets, becasue #{e}"
|
125
134
|
end
|
126
135
|
end
|
127
136
|
|
128
137
|
desc 'Compiles the go template files and concats them'
|
129
138
|
task :compile_templates do
|
130
|
-
|
139
|
+
begin
|
140
|
+
assets = sprockets.find_asset("application.gotmpl")
|
131
141
|
|
132
|
-
|
133
|
-
|
134
|
-
|
142
|
+
# drop all extentions except the first
|
143
|
+
realname = assets.pathname.basename.to_s.split(".")[0..1].join(".")
|
144
|
+
outfile = TMPL_BUILD_PATH.join(realname)
|
135
145
|
|
136
|
-
|
146
|
+
assets.write_to(outfile)
|
147
|
+
rescue Exception => e
|
148
|
+
$stderr.puts "Failed to compile template, becasue #{e}"
|
149
|
+
end
|
137
150
|
end
|
138
151
|
|
139
152
|
desc 'Builds the existing source'
|
data/lib/gokart/environment.rb
CHANGED
@@ -24,6 +24,7 @@ module Gokart
|
|
24
24
|
Pathname(@app_base_path).join('src','www','app','coffee','helpers'),
|
25
25
|
Pathname(@app_base_path).join('src','www','app','coffee','libs'),
|
26
26
|
Pathname(@app_base_path).join('src','www','app','coffee'),
|
27
|
+
Pathname(@app_base_path).join('src','www','app','erb_helpers'),
|
27
28
|
Pathname(@app_base_path).join('src','www','app','images'),
|
28
29
|
Pathname(@app_base_path).join('src','www','app','partials'),
|
29
30
|
Pathname(@app_base_path).join('src','www','app','sass'),
|
data/lib/gokart/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gokart
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-05-
|
12
|
+
date: 2012-05-30 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: sass
|
16
|
-
requirement: &
|
16
|
+
requirement: &11700020 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: '0'
|
22
22
|
type: :development
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *11700020
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: coffee-script
|
27
|
-
requirement: &
|
27
|
+
requirement: &11697800 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: '0'
|
33
33
|
type: :development
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *11697800
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: therubyracer
|
38
|
-
requirement: &
|
38
|
+
requirement: &11696660 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ! '>='
|
@@ -43,10 +43,10 @@ dependencies:
|
|
43
43
|
version: '0'
|
44
44
|
type: :development
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *11696660
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: sprockets
|
49
|
-
requirement: &
|
49
|
+
requirement: &11695100 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
52
|
- - ! '>='
|
@@ -54,10 +54,10 @@ dependencies:
|
|
54
54
|
version: '0'
|
55
55
|
type: :development
|
56
56
|
prerelease: false
|
57
|
-
version_requirements: *
|
57
|
+
version_requirements: *11695100
|
58
58
|
- !ruby/object:Gem::Dependency
|
59
59
|
name: guard
|
60
|
-
requirement: &
|
60
|
+
requirement: &11726260 !ruby/object:Gem::Requirement
|
61
61
|
none: false
|
62
62
|
requirements:
|
63
63
|
- - ! '>='
|
@@ -65,10 +65,10 @@ dependencies:
|
|
65
65
|
version: '0'
|
66
66
|
type: :development
|
67
67
|
prerelease: false
|
68
|
-
version_requirements: *
|
68
|
+
version_requirements: *11726260
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: guard-coffeescript
|
71
|
-
requirement: &
|
71
|
+
requirement: &11723320 !ruby/object:Gem::Requirement
|
72
72
|
none: false
|
73
73
|
requirements:
|
74
74
|
- - ! '>='
|
@@ -76,10 +76,10 @@ dependencies:
|
|
76
76
|
version: '0'
|
77
77
|
type: :development
|
78
78
|
prerelease: false
|
79
|
-
version_requirements: *
|
79
|
+
version_requirements: *11723320
|
80
80
|
- !ruby/object:Gem::Dependency
|
81
81
|
name: guard-jasmine
|
82
|
-
requirement: &
|
82
|
+
requirement: &11720840 !ruby/object:Gem::Requirement
|
83
83
|
none: false
|
84
84
|
requirements:
|
85
85
|
- - ! '>='
|
@@ -87,10 +87,10 @@ dependencies:
|
|
87
87
|
version: '0'
|
88
88
|
type: :development
|
89
89
|
prerelease: false
|
90
|
-
version_requirements: *
|
90
|
+
version_requirements: *11720840
|
91
91
|
- !ruby/object:Gem::Dependency
|
92
92
|
name: guard-sass
|
93
|
-
requirement: &
|
93
|
+
requirement: &11736580 !ruby/object:Gem::Requirement
|
94
94
|
none: false
|
95
95
|
requirements:
|
96
96
|
- - ! '>='
|
@@ -98,10 +98,10 @@ dependencies:
|
|
98
98
|
version: '0'
|
99
99
|
type: :development
|
100
100
|
prerelease: false
|
101
|
-
version_requirements: *
|
101
|
+
version_requirements: *11736580
|
102
102
|
- !ruby/object:Gem::Dependency
|
103
103
|
name: guard-rake
|
104
|
-
requirement: &
|
104
|
+
requirement: &11730960 !ruby/object:Gem::Requirement
|
105
105
|
none: false
|
106
106
|
requirements:
|
107
107
|
- - ! '>='
|
@@ -109,10 +109,10 @@ dependencies:
|
|
109
109
|
version: '0'
|
110
110
|
type: :development
|
111
111
|
prerelease: false
|
112
|
-
version_requirements: *
|
112
|
+
version_requirements: *11730960
|
113
113
|
- !ruby/object:Gem::Dependency
|
114
114
|
name: guard-livereload
|
115
|
-
requirement: &
|
115
|
+
requirement: &11750560 !ruby/object:Gem::Requirement
|
116
116
|
none: false
|
117
117
|
requirements:
|
118
118
|
- - ! '>='
|
@@ -120,10 +120,10 @@ dependencies:
|
|
120
120
|
version: '0'
|
121
121
|
type: :development
|
122
122
|
prerelease: false
|
123
|
-
version_requirements: *
|
123
|
+
version_requirements: *11750560
|
124
124
|
- !ruby/object:Gem::Dependency
|
125
125
|
name: guard-shell
|
126
|
-
requirement: &
|
126
|
+
requirement: &11747740 !ruby/object:Gem::Requirement
|
127
127
|
none: false
|
128
128
|
requirements:
|
129
129
|
- - ! '>='
|
@@ -131,10 +131,10 @@ dependencies:
|
|
131
131
|
version: '0'
|
132
132
|
type: :development
|
133
133
|
prerelease: false
|
134
|
-
version_requirements: *
|
134
|
+
version_requirements: *11747740
|
135
135
|
- !ruby/object:Gem::Dependency
|
136
136
|
name: jasmine
|
137
|
-
requirement: &
|
137
|
+
requirement: &11744120 !ruby/object:Gem::Requirement
|
138
138
|
none: false
|
139
139
|
requirements:
|
140
140
|
- - ! '>='
|
@@ -142,10 +142,10 @@ dependencies:
|
|
142
142
|
version: '0'
|
143
143
|
type: :development
|
144
144
|
prerelease: false
|
145
|
-
version_requirements: *
|
145
|
+
version_requirements: *11744120
|
146
146
|
- !ruby/object:Gem::Dependency
|
147
147
|
name: yui-compressor
|
148
|
-
requirement: &
|
148
|
+
requirement: &11780380 !ruby/object:Gem::Requirement
|
149
149
|
none: false
|
150
150
|
requirements:
|
151
151
|
- - ! '>='
|
@@ -153,10 +153,10 @@ dependencies:
|
|
153
153
|
version: '0'
|
154
154
|
type: :development
|
155
155
|
prerelease: false
|
156
|
-
version_requirements: *
|
156
|
+
version_requirements: *11780380
|
157
157
|
- !ruby/object:Gem::Dependency
|
158
158
|
name: uglifier
|
159
|
-
requirement: &
|
159
|
+
requirement: &11779700 !ruby/object:Gem::Requirement
|
160
160
|
none: false
|
161
161
|
requirements:
|
162
162
|
- - ! '>='
|
@@ -164,10 +164,10 @@ dependencies:
|
|
164
164
|
version: '0'
|
165
165
|
type: :development
|
166
166
|
prerelease: false
|
167
|
-
version_requirements: *
|
167
|
+
version_requirements: *11779700
|
168
168
|
- !ruby/object:Gem::Dependency
|
169
169
|
name: bundler
|
170
|
-
requirement: &
|
170
|
+
requirement: &11778700 !ruby/object:Gem::Requirement
|
171
171
|
none: false
|
172
172
|
requirements:
|
173
173
|
- - ! '>='
|
@@ -175,7 +175,7 @@ dependencies:
|
|
175
175
|
version: 1.0.0
|
176
176
|
type: :runtime
|
177
177
|
prerelease: false
|
178
|
-
version_requirements: *
|
178
|
+
version_requirements: *11778700
|
179
179
|
description: Combination of tooks which will make developing webapps using go easier. The
|
180
180
|
gokart gem by default combines SASS, Coffee Script, Rake, and Sprokets with Go to
|
181
181
|
provide a great development environment. This environment supports test driven
|
@@ -206,6 +206,7 @@ files:
|
|
206
206
|
- assets/src/www/spec/coffee/deferred-spec.coffee
|
207
207
|
- assets/src/www/spec/coffee/mocks.coffee
|
208
208
|
- assets/src/www/spec/coffee/properties-spec.coffee
|
209
|
+
- assets/src/www/app/erb_helpers/erb_helper.rb
|
209
210
|
- assets/src/www/app/partials/index.html
|
210
211
|
- assets/src/www/app/templates/home.gotmpl
|
211
212
|
- assets/src/www/app/templates/base.gotmpl.erb
|