sanji 1.0.0.pre.3 → 1.0.0.pre.4

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: d0103c55fdb1f413332c4b002f8e12198e3a8b06
4
- data.tar.gz: 18a15474fdf32b49a1c21a44e477568b0488e0f8
3
+ metadata.gz: 761e0db85939270258d83509f3433ffd23959bdf
4
+ data.tar.gz: 3c1ab6ef2147753a103e87cf86adf046800cbd49
5
5
  SHA512:
6
- metadata.gz: c458b800fe84c9be31c8105909c6e4efb926b337bca50e146e6964edb0695b10b0f39efe05644a60a659a80d8ff1034b747c971cc28ec729d4765880959d22d6
7
- data.tar.gz: e4a085cc24fb2e6c12eb77a7de587bb12209cadebbab093fbce139b623296f13bdca882ba19a9fb642b69009bff7778aa62c889020183604ca1d027784dced48
6
+ metadata.gz: 1ba36ccb450ac2cbcf3fa0b8589d312d8e20fc9a94f65da245bfcb4b46021d497cdba42f2ede35edb0362bccd94d5115f8e74fe32d06d5091a559d6d05945471
7
+ data.tar.gz: 8d16ba20c6e8b22008c55c98ae79f7c5444f55817f5bc1d38e1327ccdca50e69e1fa3b1e2db2c55b9e504b779c2d15aebcdf5c307b3e2ec50844063e431e06ae
@@ -0,0 +1,7 @@
1
+ require 'reform/form/coercion'
2
+
3
+ class BaseForm < Reform::Form
4
+
5
+ include Coercion
6
+
7
+ end
@@ -0,0 +1,17 @@
1
+ default: &default
2
+ adapter: postgresql
3
+
4
+
5
+ development:
6
+ <<: *default
7
+ database: <%= app_name %>_development
8
+ username: <%= config[:username] %>
9
+ password: <%= config[:password] %>
10
+
11
+ staging:
12
+ <<: *default
13
+ database: <%= app_name %>_staging
14
+
15
+ test:
16
+ <<: *default
17
+ database: <%= app_name %>_test
@@ -0,0 +1,6 @@
1
+ class Public::HomeController < Public::BaseController
2
+
3
+ def index
4
+ end
5
+
6
+ end
@@ -0,0 +1 @@
1
+ %h1 <%= app_name.humanize %>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sanji
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.pre.3
4
+ version: 1.0.0.pre.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Karl Paragua
@@ -42,6 +42,10 @@ files:
42
42
  - lib/sanji/recipes/setup.rb
43
43
  - lib/sanji/recipes/simple_gems.rb
44
44
  - lib/sanji/utilities/text.rb
45
+ - templates/base_form.rb
46
+ - templates/database.yml.erb
47
+ - templates/public_home_controller.rb
48
+ - templates/public_home_index.haml.erb
45
49
  homepage: https://www.github.com/kbparagua/sanji
46
50
  licenses:
47
51
  - MIT