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 CHANGED
@@ -1 +1 @@
1
- 0.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
- super
4
- @name = @args.first || 'application'
5
- end
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: layout_generators
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Roby