freerangestylin 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
|
|
1
1
|
require File.expand_path(File.dirname(__FILE__) + "/lib/insert_commands.rb")
|
2
2
|
|
3
|
-
class FreerangeStylinGenerator < Rails::Generator::
|
3
|
+
class FreerangeStylinGenerator < Rails::Generator::NamedBase
|
4
4
|
|
5
5
|
def manifest
|
6
6
|
record do |m|
|
@@ -8,7 +8,7 @@ class FreerangeStylinGenerator < Rails::Generator::Base
|
|
8
8
|
|
9
9
|
unless File.exists?(app_layout)
|
10
10
|
m.directory File.join("app", "views", "layouts")
|
11
|
-
m.file "application.html.html",
|
11
|
+
m.file "application.html.html", app_layout
|
12
12
|
end
|
13
13
|
|
14
14
|
m.directory File.join("app", "stylesheets")
|