aetherg 0.5.0.beta2 → 0.5.0.beta3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/aetherg.gemspec +2 -2
- data/bin/aetherg +1 -1
- data/lib/aetherg/aetherg.rb +3 -1
- data/lib/aetherg/version.rb +2 -2
- data/lib/templates/app/assets/javascripts/application.js +10 -0
- data/lib/templates/app/assets/javascripts/jquery.js +10253 -0
- data/lib/templates/app/assets/javascripts/turbolinks.js +6 -0
- data/lib/templates/app/views/layouts/application.erb +3 -3
- metadata +4 -5
- data/changchangchang/app/routes/welcome.rb +0 -6
- data/changchangchang/app/views/layouts/application.erb +0 -0
- data/changchangchang/application.rb +0 -36
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ee0f6f16eb9c47da107c505109ef79cd17dbce5a
|
4
|
+
data.tar.gz: c78d17e086c19170a4efb853ed22cfca3fc3c635
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 382c786f86d0b8fa305e2d2989658c97ace30d4e15bcf6c6d1b412c90ee7118f85a3d689fdb0c3014520c79e75161b1f2c40d4fc60857ea3ccd490471dc27b18
|
7
|
+
data.tar.gz: be52aa92f8a7db107fcd96b32cd557c31dce7b4edb70c42ddfc46314d6cd42f79cebf41f7ccbc948de6c156fb3cd10545da09bb5d4aa3f0cc06c65db98dbd1e4
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.5.0.
|
1
|
+
0.5.0.beta3
|
data/aetherg.gemspec
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'aetherg'
|
3
|
-
s.version = '0.5.0.
|
4
|
-
s.date = '2017-
|
3
|
+
s.version = '0.5.0.beta3'
|
4
|
+
s.date = '2017-05-01'
|
5
5
|
s.summary = "Aetherg (Aether Generator) is a generator of sinatra app."
|
6
6
|
s.description = "Aetherg (Aether Generator) is a sinatra based App generator. Light-weight for API service or full-stack Web apps"
|
7
7
|
s.authors = ["Allen Chan"]
|
data/bin/aetherg
CHANGED
data/lib/aetherg/aetherg.rb
CHANGED
@@ -48,7 +48,9 @@ module Aetherg
|
|
48
48
|
def create_views_layout
|
49
49
|
unless @no_views
|
50
50
|
copy_file "app/views/layouts/application.erb", File.join(@app_path, "/app/views/layouts/application.erb")
|
51
|
-
copy_file "app/assets/javascripts/
|
51
|
+
copy_file "app/assets/javascripts/jquery.js", File.join(@app_path, "/app/assets/javascripts/jquery.js")
|
52
|
+
copy_file "app/assets/javascripts/turbolinks.js", File.join(@app_path, "/app/assets/javascripts/turbolinks.js")
|
53
|
+
copy_file "app/assets/javascripts/application.js", File.join(@app_path, "/app/assets/javascripts/application.js")
|
52
54
|
copy_file "app/assets/stylesheets/application.css", File.join(@app_path, "/app/assets/stylesheets/application.css")
|
53
55
|
end
|
54
56
|
end
|
data/lib/aetherg/version.rb
CHANGED
@@ -3,4 +3,14 @@
|
|
3
3
|
//
|
4
4
|
// Any JavaScript/Coffee file within this directory can be referenced here using a relative path.
|
5
5
|
//
|
6
|
+
//= require jquery
|
7
|
+
//= require turbolinks
|
6
8
|
//= require_tree .
|
9
|
+
//= require_self
|
10
|
+
|
11
|
+
$(document).on('turbolinks:load', function () {
|
12
|
+
// turbolink dom ready instead of JQuery;
|
13
|
+
// #coffeescript
|
14
|
+
// $(document).on 'turbolinks:load', () ->
|
15
|
+
// // body here
|
16
|
+
});
|