aetherg 0.1.7 → 0.1.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8f4804eadacf3d1256afc90c95e669fb60c7ca53
4
- data.tar.gz: 7c7615466a76dd5e05e8941989c450f177e3b0e0
3
+ metadata.gz: 9ab8ac1f082866d78f1c768c90755d54f0c149f0
4
+ data.tar.gz: 9376b310a29790fa3bff268c08e3ac223e940910
5
5
  SHA512:
6
- metadata.gz: 9992f2e7c58ddc20a42f31cc9282a6d424760f1d27ae6678515345f788ba709041ff5c0925dc98cf4268143fa2e740929db6fca924f7047719dc9077e1228386
7
- data.tar.gz: d42a9a272fc1822a0ed11e9134c765d219872cc6c208179e8df5ac2319b38f83977c18f5bf6a07f82dc3fa5260a00206d1020815bde538f86d9d996d2a53831a
6
+ metadata.gz: d27634ee746ad2a450bc66aec71641e488b65c5480ac8f18b9d1e74a0b41d379c7ce5aa924600016dd083c5457508019e923668a89b54682aedc95f493a5957a
7
+ data.tar.gz: ba2e378452d836aff6c993dfb205516206cceac12b7c7fc198f762f0f11f61c46b8e93035eeda59b5f117b0c846b6a1e776456b9c286483f4e135d3634147ebb
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.7
1
+ 0.1.8
@@ -1,7 +1,8 @@
1
1
  class <%= @name.camelcase %>::Application
2
- <% unless @no_database -%>
2
+ <%- unless @no_database -%>
3
3
  default_dbconfig_file = File.expand_path('../../../config/database.yml', __FILE__)
4
- <% if @database != 'mongo' || @database != 'mongodb' -%>
4
+ <%- if @database != 'mongo' || @database != 'mongodb' -%>
5
+
5
6
  # ActiveRecord connection
6
7
  require 'active_record'
7
8
  if File.exist? default_dbconfig_file
@@ -15,4 +16,5 @@ class <%= @name.camelcase %>::Application
15
16
  Mongoid.load!(default_dbconfig_file, environment)
16
17
  <% end -%>
17
18
  <% end -%>
19
+
18
20
  end
@@ -10,7 +10,11 @@ class <%= @name.camelcase %>::Application
10
10
  enable :logging
11
11
  enable :static_cache_control
12
12
  file = File.new("#{root}/log/#{environment.to_s}.log", 'a+')
13
- <%= ActiveRecord::Base.logger = Logger.new(file) unless (@no_database || @database == 'mongodb' || @database == 'mongo') %>
13
+
14
+ <%- unless @no_database || @database == 'mongodb' || @database == 'mongo' -%>
15
+ ActiveRecord::Base.logger = Logger.new(file)
16
+ <%- end -%>
17
+
14
18
  file.sync = true
15
19
  use Rack::CommonLogger, file
16
20
 
@@ -0,0 +1,30 @@
1
+ */.DS_Store
2
+ .DS_Store
3
+ log/
4
+ tmp/
5
+ .bundle
6
+ db/*.sqlite3
7
+ .svn/*
8
+ .sass-cache/
9
+ .localized
10
+ .tm_properties
11
+ *.gem
12
+ *.rbc
13
+ .bundle
14
+ .config
15
+ coverage
16
+ InstalledFiles
17
+ lib/bundler/man
18
+ pkg
19
+ rdoc
20
+ spec/reports
21
+ test/tmp
22
+ test/version_tmp
23
+ tmp
24
+ config/database.yml
25
+ config/settings.yml
26
+ config/puma.rb
27
+ # YARD artifacts
28
+ .yardoc
29
+ _yardoc
30
+ doc/
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aetherg
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Allen Chan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-09-14 00:00:00.000000000 Z
11
+ date: 2015-09-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
@@ -59,6 +59,7 @@ files:
59
59
  - lib/templates/config/puma.rb
60
60
  - lib/templates/config/redis.yml
61
61
  - lib/templates/config/settings.yml
62
+ - lib/templates/gitignore
62
63
  homepage: https://github.com/octomusic/aetherg
63
64
  licenses:
64
65
  - MIT
@@ -79,9 +80,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
79
80
  version: '0'
80
81
  requirements: []
81
82
  rubyforge_project:
82
- rubygems_version: 2.4.6
83
+ rubygems_version: 2.4.8
83
84
  signing_key:
84
85
  specification_version: 4
85
- summary: Aetherg (Aether Generator) is aether generator of sinatra app.
86
+ summary: Aetherg (Aether Generator) is a generator of sinatra app.
86
87
  test_files: []
87
88
  has_rdoc: