layout_generators 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/rails_generators/xhtml_strict/xhtml_strict_generator.rb +5 -5
- metadata +1 -1
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.2.0
|
@@ -1,9 +1,9 @@
|
|
1
1
|
class XhtmlStrictGenerator < Rails::Generator::Base
|
2
2
|
def initialize(runtime_args, runtime_options = {})
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
3
|
+
super
|
4
|
+
@name = @args.first || 'application'
|
5
|
+
end
|
6
|
+
|
7
7
|
def manifest
|
8
8
|
record do |m|
|
9
9
|
m.directory 'app/views/layouts'
|
@@ -14,7 +14,7 @@ class XhtmlStrictGenerator < Rails::Generator::Base
|
|
14
14
|
m.file "reset.css", "public/stylesheets/#{file_name}.css"
|
15
15
|
end
|
16
16
|
end
|
17
|
-
|
17
|
+
|
18
18
|
def file_name
|
19
19
|
@name.underscore
|
20
20
|
end
|