volt 0.9.0.pre2 → 0.9.0.pre3
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/lib/volt/cli/generate.rb +1 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1a657a85e80572c96acf329e6bcae5e6068ab330
|
4
|
+
data.tar.gz: 03b2010b74fe63a65b47a3032f0c96021dbaaea2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ce9938c5ea6de3864eb535bc7edbc8af55e2063aef79d70b0dc478dc4c2836465b7e11f4451818ec5c07d4f833664d2ed8abb1a7821480567a0b9895b4d18cd7
|
7
|
+
data.tar.gz: f3a520c558f153268123966047d470847ce892bef26cadef22b9dd996be291c77297cced514a52557a5aad01469bf60add2640fead42e3465adbb1b01ab50c7e
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.9.0.
|
1
|
+
0.9.0.pre3
|
data/lib/volt/cli/generate.rb
CHANGED
@@ -75,6 +75,7 @@ class Generate < Thor
|
|
75
75
|
template('view/view.rb.tt', output_file, view_name: name.camelize.singularize)
|
76
76
|
end
|
77
77
|
|
78
|
+
private
|
78
79
|
def controller?(name, component = 'main')
|
79
80
|
dir = Dir.pwd + "/app/#{component}/controllers/"
|
80
81
|
File.exists?(dir + name.downcase.underscore.singularize + '.rb')
|