layout_generators 0.1.0 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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