aetherg 0.5.0.beta2 → 0.5.0.beta3

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8c14fc0b51212c45fc6b1a9ecd2a63e0c4919e61
4
- data.tar.gz: 498aad0e46737bd2ca39a0fb4021d0561f2fc401
3
+ metadata.gz: ee0f6f16eb9c47da107c505109ef79cd17dbce5a
4
+ data.tar.gz: c78d17e086c19170a4efb853ed22cfca3fc3c635
5
5
  SHA512:
6
- metadata.gz: c10c303c2583f5ffdd591365f6d573286eb4ba16e52281eef27797927b126a75ff5cc118fc63b52224db605bf50d551f980942aec0680658be67b34671670224
7
- data.tar.gz: 43d5569efb69129f6c013bf3b6b72ae2e428acfe58ad6ee8a2657bbccc3d3eb4ddb81d83824eeb1af6b3760b07f44e47e594e5220dff2dea3cd0595c29e615c4
6
+ metadata.gz: 382c786f86d0b8fa305e2d2989658c97ace30d4e15bcf6c6d1b412c90ee7118f85a3d689fdb0c3014520c79e75161b1f2c40d4fc60857ea3ccd490471dc27b18
7
+ data.tar.gz: be52aa92f8a7db107fcd96b32cd557c31dce7b4edb70c42ddfc46314d6cd42f79cebf41f7ccbc948de6c156fb3cd10545da09bb5d4aa3f0cc06c65db98dbd1e4
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.5.0.beta2
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.beta2'
4
- s.date = '2017-04-27'
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
@@ -8,5 +8,5 @@ if ARGV[0] == "--version" || ARGV[0] == "-v"
8
8
  exit
9
9
  end
10
10
 
11
- puts "Aetherg is generating..."
11
+ puts "Your Sinatra app is generating..."
12
12
  Aetherg::Generator.start
@@ -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/application.js", File.join(@app_path, "/app/assets/javascripts/applicatin.js")
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
@@ -1,4 +1,4 @@
1
1
  module Aetherg
2
- VERSION = "0.5.0.beta2"
3
- BUILD = "2017-04-27"
2
+ VERSION = "0.5.0.beta3"
3
+ BUILD = "2017-05-01"
4
4
  end
@@ -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
+ });