masterview_plugin_generator 0.2.0 → 0.2.1
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/templates/development.rb +8 -6
- data/templates/production.rb +2 -1
- data/templates/settings.rb +3 -3
- metadata +2 -2
data/templates/development.rb
CHANGED
@@ -8,15 +8,17 @@
|
|
8
8
|
# Set development-mode config settings here
|
9
9
|
|
10
10
|
# General options
|
11
|
-
#config.log_level = '
|
11
|
+
#config.log_level = 'INFO'
|
12
12
|
|
13
|
-
# Rails application options
|
14
|
-
#config.reparse_changed_masterview_templates = true
|
13
|
+
# Rails application options - normally enabled (only) in development env
|
14
|
+
#config.reparse_changed_masterview_templates = true
|
15
15
|
|
16
|
+
# Rails application options that you might want to enable for development
|
17
|
+
#config.enable_admin_pages = false
|
18
|
+
#config.enable_view_rhtml = false
|
19
|
+
|
20
|
+
# Sample of how you might want to modify logging config for development
|
16
21
|
#config.log_level = 'WARN'
|
17
22
|
#config.after_initialize {
|
18
23
|
# MasterView.log_level = 'DEBUG'
|
19
24
|
#}
|
20
|
-
|
21
|
-
# Only use the MasterView admin pages for development
|
22
|
-
# config.enable_admin_pages = true
|
data/templates/production.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
#
|
1
|
+
# Production environment config settings for the MasterView template engine.
|
2
2
|
#
|
3
3
|
# The MasterView configuration specification is referenced through +config+.
|
4
4
|
#
|
@@ -6,4 +6,5 @@
|
|
6
6
|
# general MasterView config in +config/masterview/settings.rb+.
|
7
7
|
#
|
8
8
|
# Set production-mode config settings here
|
9
|
+
#
|
9
10
|
|
data/templates/settings.rb
CHANGED
@@ -20,7 +20,7 @@
|
|
20
20
|
#config.directive_paths << '/path/to/custom/directives'
|
21
21
|
#config.logger = 'log4r'
|
22
22
|
#config.log_level = 'WARN'
|
23
|
-
#config.after_initialize { MasterView::Log.level = DEBUG }
|
23
|
+
#config.after_initialize { MasterView::Log.level = 'DEBUG' }
|
24
24
|
|
25
25
|
# Template Source Options
|
26
26
|
#config.template_src_dir_path = 'app/views' # relative path from config.root_path
|
@@ -52,8 +52,8 @@
|
|
52
52
|
|
53
53
|
# Rails application options
|
54
54
|
#config.parse_masterview_templates_at_startup = true
|
55
|
-
#config.reparse_changed_masterview_templates = false #
|
55
|
+
#config.reparse_changed_masterview_templates = false # enabled in development env
|
56
56
|
#config.enable_admin_pages = false
|
57
57
|
#config.enable_view_rhtml = false
|
58
|
-
#config.generate_rhtml_files = false
|
58
|
+
#config.generate_rhtml_files = false # compile directly to Rails view cache
|
59
59
|
|
metadata
CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.8.11
|
|
3
3
|
specification_version: 1
|
4
4
|
name: masterview_plugin_generator
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 0.2.
|
7
|
-
date: 2006-06-
|
6
|
+
version: 0.2.1
|
7
|
+
date: 2006-06-28 00:00:00 -05:00
|
8
8
|
summary: A (x)html friendly template engine for rails with the power of layouts, and partials. MasterView Plugin Generator for GEM
|
9
9
|
require_paths:
|
10
10
|
- .
|