appmake 0.1.30 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
data/lib/appmake.rb CHANGED
@@ -137,11 +137,11 @@ module Appmake
137
137
  elsif name == "underscore"
138
138
  empty_directory "public"
139
139
  empty_directory "public/js"
140
- run "curl http://underscorejs.org/underscore-min.js -o public/underscore.min.js"
140
+ run "curl http://underscorejs.org/underscore-min.js -o public/js/underscore.min.js"
141
141
  elsif name == "backbone"
142
142
  empty_directory "public"
143
143
  empty_directory "public/js"
144
- run "curl -silent http://backbonejs.org/backbone-min.js -o public/backbone.min.js"
144
+ run "curl -silent http://backbonejs.org/backbone-min.js -o public/js/backbone.min.js"
145
145
  elsif name == "bootstrap"
146
146
  empty_directory "public"
147
147
  empty_directory "public/css"
@@ -1,3 +1,3 @@
1
1
  module Appmake
2
- VERSION = "0.1.30"
2
+ VERSION = "0.2.0"
3
3
  end
@@ -7,10 +7,10 @@
7
7
  <link rel="stylesheet" type="text/css" href="css/App.css">
8
8
  </head>
9
9
  <body>
10
- <% if options.jquery %><script type="text/javascript" src="js/jquery.min.js"></script><% end %>
11
- <% if options.underscore %><script type="text/javascript" src="js/underscore.min.js"></script><% end %>
12
- <% if options.backbone %><script type="text/javascript" src="js/backbone.min.js"></script><% end %>
13
- <% if options.bootstrap %><script type="text/javascript" src="js/bootstrap.min.js"></script><% end %>
10
+ <% if options.jquery? %><script type="text/javascript" src="js/jquery.min.js"></script><% end %>
11
+ <% if options.underscore? %><script type="text/javascript" src="js/underscore.min.js"></script><% end %>
12
+ <% if options.backbone? %><script type="text/javascript" src="js/backbone.min.js"></script><% end %>
13
+ <% if options.bootstrap? %><script type="text/javascript" src="js/bootstrap.min.js"></script><% end %>
14
14
  <script type="text/javascript" src="js/App.js"></script>
15
15
  </body>
16
16
  </html>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: appmake
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.30
4
+ version: 0.2.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: