mvc_one 0.1.0.pre.rc6 → 0.1.0.pre.rc7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/exe/mvc_one +3 -2
- data/lib/mvc_one/version.rb +1 -1
- data/templates/general/gemfile.erb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4f489062a168994ccfaaff6f7811bb9497d040549edcd08841a593954a4353c7
|
4
|
+
data.tar.gz: 2f4137370abacaf4a2f4b6172910998499f2a2f67a9142c0ca8e60a25d0fbe71
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6b6aac9708b613a065e14e45ba6aa20c2ce6ab9d309f4863ec8093a3ee6415af498cea36d9d30c4d9379b807d006773d94ea480bd065be118b627ba412abecc0
|
7
|
+
data.tar.gz: a5713a8153df483093fb9b19ab53f25eab5b4bc33558a700773bb368915d639f833035d712c14986a305348625034c5816bebd112cee3c44dc3a20152db0813c
|
data/Gemfile.lock
CHANGED
data/exe/mvc_one
CHANGED
@@ -83,13 +83,14 @@ module MvcOne
|
|
83
83
|
gemfile = ERB.new(File.read(File.join(gem_path, 'templates/general/gemfile.erb')))
|
84
84
|
File.write "#{name_normalized}/Gemfile", gemfile.result(binding)
|
85
85
|
|
86
|
-
app_layout =
|
86
|
+
app_layout = File.read(File.join(gem_path, 'templates/app/application_layout.slim'))
|
87
87
|
File.write "#{name_normalized}/app/views/application_layout.slim", app_layout
|
88
88
|
|
89
89
|
welcome_controller = ERB.new(File.read(File.join(gem_path, 'templates/app/welcome_controller_rb.erb')))
|
90
90
|
File.write "#{name_normalized}/app/controllers/welcome_controller.rb", welcome_controller.result(binding)
|
91
91
|
|
92
|
-
|
92
|
+
Dir.mkdir("#{name_normalized}/app/views/welcome")
|
93
|
+
welcome_index = File.read(File.join(gem_path, 'templates/app/welcome_index.slim'))
|
93
94
|
File.write "#{name_normalized}/app/views/welcome/index.slim", welcome_index
|
94
95
|
end
|
95
96
|
|
data/lib/mvc_one/version.rb
CHANGED