qedproject 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/qedproject/version.rb +1 -1
- data/templates/Guardfile +4 -4
- data/templates/assets.yml +1 -0
- data/templates/index.html +9 -10
- data/vendor/skeleton/templates/index.html +15 -18
- metadata +3 -3
data/lib/qedproject/version.rb
CHANGED
data/templates/Guardfile
CHANGED
@@ -17,13 +17,13 @@ guard "coffeescript", :input => "spec", :output => "spec"
|
|
17
17
|
<% end -%>
|
18
18
|
<% if self.jammit -%>
|
19
19
|
guard "jammit" do
|
20
|
-
watch(/^javascripts
|
21
|
-
watch(/^stylesheets
|
20
|
+
watch(/^javascripts\/(.*)\.js/)
|
21
|
+
watch(/^stylesheets\/(.*)\.css/)
|
22
22
|
<% if self.coffeescript -%>
|
23
|
-
watch(/^tmp
|
23
|
+
watch(/^tmp\/(.*)\.js/)
|
24
24
|
<% end -%>
|
25
25
|
<% if self.sass -%>
|
26
|
-
watch(/^tmp
|
26
|
+
watch(/^tmp\/(.*)\.css/)
|
27
27
|
<% end -%>
|
28
28
|
end
|
29
29
|
<% end -%>
|
data/templates/assets.yml
CHANGED
data/templates/index.html
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
<html>
|
3
3
|
<head>
|
4
4
|
<title>Project</title>
|
5
|
-
|
5
|
+
<% if @project.jammit -%>
|
6
6
|
<link rel="stylesheet" href="assets/app.css">
|
7
|
-
|
7
|
+
<% else -%>
|
8
8
|
<link rel="stylesheet" href="stylesheets/style.css">
|
9
|
-
|
9
|
+
<% end -%>
|
10
10
|
|
11
11
|
</head>
|
12
12
|
<body>
|
@@ -23,13 +23,12 @@
|
|
23
23
|
culpa qui officia deserunt mollit anim id est laborum.
|
24
24
|
</p>
|
25
25
|
|
26
|
-
|
27
|
-
<% if @project.jammit %>
|
26
|
+
<% if @project.jammit -%>
|
28
27
|
<script src="assets/app.js"></script>
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
28
|
+
<% else -%>
|
29
|
+
<% @project.js_assets.each do |js| -%>
|
30
|
+
<script src="javascripts/<%=js %>"></script>
|
31
|
+
<% end -%>
|
32
|
+
<% end -%>
|
34
33
|
</body>
|
35
34
|
</html>
|
@@ -21,13 +21,13 @@
|
|
21
21
|
|
22
22
|
<!-- CSS
|
23
23
|
================================================== -->
|
24
|
-
|
24
|
+
<% if @project.jammit -%>
|
25
25
|
<link rel="stylesheet" href="assets/app.css">
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
26
|
+
<% else -%>
|
27
|
+
<link rel="stylesheet" href="stylesheets/base.css">
|
28
|
+
<link rel="stylesheet" href="stylesheets/skeleton.css">
|
29
|
+
<link rel="stylesheet" href="stylesheets/layout.css">
|
30
|
+
<% end -%>
|
31
31
|
<!-- Favicons
|
32
32
|
================================================== -->
|
33
33
|
<link rel="shortcut icon" href="images/favicon.ico">
|
@@ -71,23 +71,20 @@
|
|
71
71
|
|
72
72
|
</div><!-- container -->
|
73
73
|
|
74
|
-
|
75
|
-
|
76
74
|
<!-- JS
|
77
75
|
================================================== -->
|
78
|
-
|
76
|
+
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
|
79
77
|
|
80
|
-
|
81
|
-
|
82
|
-
|
78
|
+
<% if @project.jammit -%>
|
79
|
+
<script src="assets/app.js"></script>
|
80
|
+
<% else -%>
|
83
81
|
|
84
|
-
|
85
|
-
|
86
|
-
|
82
|
+
<% @project.js_assets.each do |js| -%>
|
83
|
+
<script src="javascripts/<%=js %>"></script>
|
84
|
+
<% end -%>
|
87
85
|
|
88
|
-
|
89
|
-
|
90
|
-
<% end -%>
|
86
|
+
<script src="javascripts/tabs.js"></script>
|
87
|
+
<% end -%>
|
91
88
|
<!-- End Document
|
92
89
|
================================================== -->
|
93
90
|
</body>
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: qedproject
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 21
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 5
|
10
|
+
version: 0.0.5
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Brian P. Hogan
|