conte_rails_template 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,18 @@
|
|
1
|
+
module ConteRailsTemplate #:nodoc:
|
2
|
+
module Generators #:nodoc:
|
3
|
+
class InstallGenerator < Rails::Generators::Base #:nodoc:
|
4
|
+
|
5
|
+
source_root File.expand_path('../templates', __FILE__)
|
6
|
+
|
7
|
+
def copy_stuff #:nodoc:
|
8
|
+
copy_file 'layout.html.erb', 'app/views/layouts/application.html.erb'
|
9
|
+
copy_file 'session.html.erb', 'app/views/layouts/single.html.erb'
|
10
|
+
end
|
11
|
+
|
12
|
+
def install_wice_grid
|
13
|
+
generate "wice_grid:install"
|
14
|
+
end
|
15
|
+
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: conte_rails_template
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -87,6 +87,7 @@ files:
|
|
87
87
|
- lib/generators/conte_rails_template/install_generator.rb
|
88
88
|
- lib/generators/conte_rails_template/templates/layout.html.erb
|
89
89
|
- lib/generators/conte_rails_template/templates/session.html.erb
|
90
|
+
- lib/generators/install_generator.rb
|
90
91
|
- vendor/images/app_logo.png
|
91
92
|
- vendor/images/breadcrumb_bg.png
|
92
93
|
- vendor/images/login_logo.png
|