masterview_gem_pack 0.3.3 → 0.3.4
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/CHANGELOG +8 -1
- data/RELEASE_NOTES +14 -0
- data/Rakefile +11 -9
- data/ReleaseAnnouncement +25 -12
- metadata +5 -5
data/CHANGELOG
CHANGED
|
@@ -1,4 +1,11 @@
|
|
|
1
|
-
0.3.
|
|
1
|
+
0.3.4 - October 4th, 2007
|
|
2
|
+
Added rake task mv:generate_all_rhtml which calls mv:parse to generate all the rhtml files. Added to make it clearer for those wanting to generate their rhtml manually.
|
|
3
|
+
Make values in gen_partial and import_partial retain their page specific values, allowing you to specify different locals, collections, or objects for import_render than you do on gen_partial. Also allows you to reuse the partial multiple times on a page with different values. (thanks James Britt)
|
|
4
|
+
Fix rebuild template so that it uses the same list of XHTML empty elements to determine whether to collapse empty elements (thanks Brian Jordan)
|
|
5
|
+
Fixed problem with CruiseControl where ActionController was not defined (thanks James Britt)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
0.3.3 - July 1, 2007
|
|
2
9
|
Added xml doctype to generated code
|
|
3
10
|
Fixed bug in gen_replace where it was generating <% %> rather than <%= %> (Thanks to Jon Frisby for indentifying)
|
|
4
11
|
Fix defect in form tag not setting :multipart => true when form enctype=multipart/form-data (Thanks to Rajavel Lenin for identifying)
|
data/RELEASE_NOTES
CHANGED
|
@@ -1,4 +1,18 @@
|
|
|
1
1
|
= MasterView - Rails-optimized (x)html friendly template engine
|
|
2
|
+
== Recent changes (Release 0.3.4)
|
|
3
|
+
Added mv:generate_all_rhtml rake task which generates all rhtml files to make it
|
|
4
|
+
more obvious for users who want to generate the rhtml files. Also changed the way
|
|
5
|
+
gen_partial and import_render work with regards to collections, object, and locals,
|
|
6
|
+
they now retain the values from the page even after rebuild. This allows you to have
|
|
7
|
+
different values on each page and even different values on the same page if use partials
|
|
8
|
+
multiple times on a page.
|
|
9
|
+
|
|
10
|
+
Make values in gen_partial and import_partial retain their page specific values, allowing you to specify different locals, collections, or objects for import_render than you do on gen_partial. Also allows you to reuse the partial multiple times on a page with different values. (thanks James Britt)
|
|
11
|
+
|
|
12
|
+
Fix rebuild template so that it uses the same list of XHTML empty elements to determine whether to collapse empty elements (thanks to Brian Jordan)
|
|
13
|
+
|
|
14
|
+
Fixed a problem with CruiseControl where ActionController was not defined when masterview was initialized. (thanks James Britt)
|
|
15
|
+
|
|
2
16
|
|
|
3
17
|
== Recent changes (Release 0.3.3) - Maintenance release plus auto_copy
|
|
4
18
|
Added auto copy feature which can be configured to automatically copy static files
|
data/Rakefile
CHANGED
|
@@ -643,15 +643,17 @@ task :publish_news => [ :verify_rubyforge] do
|
|
|
643
643
|
news.subject = "MasterView #{MasterView::VERSION::STRING} Rails-optimized (x)html template engine"
|
|
644
644
|
news.changes_file = nil
|
|
645
645
|
|
|
646
|
-
details = []
|
|
647
|
-
File.open("ReleaseAnnouncement") do |file|
|
|
648
|
-
file.each do |line|
|
|
649
|
-
line.chomp!
|
|
650
|
-
break if line =~ /^=/
|
|
651
|
-
details << line
|
|
652
|
-
end
|
|
653
|
-
end
|
|
654
|
-
news.details = details.join("\n")
|
|
646
|
+
# details = []
|
|
647
|
+
# File.open("ReleaseAnnouncement") do |file|
|
|
648
|
+
# file.each do |line|
|
|
649
|
+
# line.chomp!
|
|
650
|
+
# break if line =~ /^=/
|
|
651
|
+
# details << line
|
|
652
|
+
# end
|
|
653
|
+
# end
|
|
654
|
+
# news.details = details.join("\n")
|
|
655
|
+
|
|
656
|
+
news.details = File.read("ReleaseAnnouncement")
|
|
655
657
|
end
|
|
656
658
|
end
|
|
657
659
|
|
data/ReleaseAnnouncement
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
= MasterView - Rails-optimized (x)html friendly template engine
|
|
2
2
|
|
|
3
|
-
MasterView is a template engine plugin that provides another option to the existing rails view templates (rhtml and rxml). This template engine has all the power of layouts, partials, and rails helpers but is still editable/styleable in a WYSIWYG editor.
|
|
3
|
+
MasterView is a template engine plugin that provides another option to the existing rails view templates (rhtml and rxml). This template engine has all the power of layouts, partials, and rails helpers but is still editable/styleable in a WYSIWYG editor.
|
|
4
4
|
|
|
5
|
-
Another major goal it to have the syntax of these attribute directives be very similar to rails helpers so that one could intuitively start using MasterView with little learning curve other than knowing rails. MasterView users can additionally create their own directives to encapsulate custom functionality so the system can be easily extended into specific uses.
|
|
5
|
+
Another major goal it to have the syntax of these attribute directives be very similar to rails helpers so that one could intuitively start using MasterView with little learning curve other than knowing rails. MasterView users can additionally create their own directives to encapsulate custom functionality so the system can be easily extended into specific uses.
|
|
6
6
|
|
|
7
|
-
MasterView was inspired by Amrita, Kwartz, Tapestry, Zope/PHP TAL, Liquid, and Web Objects but designed with a fresh approach and specifically targetted for rails users.
|
|
7
|
+
MasterView was inspired by Amrita, Kwartz, Tapestry, Zope/PHP TAL, Liquid, and Web Objects but designed with a fresh approach and specifically targetted for rails users.
|
|
8
8
|
|
|
9
9
|
There are several ways to use MasterView:
|
|
10
10
|
|
|
@@ -14,8 +14,21 @@ There are several ways to use MasterView:
|
|
|
14
14
|
|
|
15
15
|
- If you already have an application but would like to use MasterView, you can start to use MasterView for new pages. MasterView will co-exist nicely with existing rhtml and you can slowly evolve the site over time.
|
|
16
16
|
|
|
17
|
+
== Recent changes (Release 0.3.4)
|
|
18
|
+
Make values in gen_partial and import_partial retain their page specific values, allowing you to specify different locals, collections, or objects for import_render than you do on gen_partial. Also allows you to reuse the partial multiple times on a page with different values. (thanks James Britt)
|
|
17
19
|
|
|
18
|
-
|
|
20
|
+
Fix rebuild template so that it uses the same list of XHTML empty elements to determine whether to collapse empty elements (thanks to Brian Jordan)
|
|
21
|
+
|
|
22
|
+
Fixed a problem with CruiseControl where ActionController was not defined when masterview was initialized. (thanks James Britt)
|
|
23
|
+
|
|
24
|
+
Added mv:generate_all_rhtml rake task which generates all rhtml files to make it
|
|
25
|
+
more obvious for users who want to generate the rhtml files. Also changed the way
|
|
26
|
+
gen_partial and import_render work with regards to collections, object, and locals,
|
|
27
|
+
they now retain the values from the page even after rebuild. This allows you to have
|
|
28
|
+
different values on each page and even different values on the same page if use partials
|
|
29
|
+
multiple times on a page.
|
|
30
|
+
|
|
31
|
+
== Recent changes (Release 0.3.3) - Maintenance release plus auto_copy
|
|
19
32
|
Added auto copy feature which can be configured to automatically copy static files like stylesheets, images, and javascripts from a non-standard location to the proper location at runtime (under Rails public). This makes it easy to use HTML prototypes and associated files with MasterView eliminating any manual copying.
|
|
20
33
|
|
|
21
34
|
This release fix adds doctype to generated code, and a bug in gen_replace which outputted <% %> rather than <%= %> (thanks Jon Frisby). Fixed defect in multipart form and stylesheet_link directives (thanks Rajavel Lenin).
|
|
@@ -24,9 +37,9 @@ Made REXML sax2parser configurable. Generator now creates example for custom adm
|
|
|
24
37
|
|
|
25
38
|
Fix defect which prevented MasterView to be used with Goldberg or other plugins which alter the view base unless MasterView was configured to generate the rhtml files.
|
|
26
39
|
|
|
27
|
-
Fix rails runtime detection when running in RadRails which launches using -e
|
|
40
|
+
Fix rails runtime detection when running in RadRails which launches using -e
|
|
28
41
|
|
|
29
|
-
Added rake task mv:clean_mv_rhtml task which removes the MasterView generated rhtml if you have configured MasterView to generate to the file system. Only removes files that it generates leaving other rhtml untouched. This is useful when switching to not generating rhtml mode when it was previously enabled.
|
|
42
|
+
Added rake task mv:clean_mv_rhtml task which removes the MasterView generated rhtml if you have configured MasterView to generate to the file system. Only removes files that it generates leaving other rhtml untouched. This is useful when switching to not generating rhtml mode when it was previously enabled.
|
|
30
43
|
|
|
31
44
|
== Release 0.3.2 - Maintenance release plus custom admin auth
|
|
32
45
|
This release addresses a compatibility problem with Rails 1.2 where a view syntax error would not display the normal debug output but instead displayed only a blank screen. Also fixed a parsing problem with multiple parameters in some directives. Added the ability to use custom mixin for authorization to MasterView admin screens. Changed the MasterView generator to use request, flash, and params rather than deprecated @request, @flash, and @params. Tested with Rails 1.2.2
|
|
@@ -76,13 +89,13 @@ Requires::
|
|
|
76
89
|
No external dependencies
|
|
77
90
|
|
|
78
91
|
Optional::
|
|
79
|
-
tidy (gem) and tidy library
|
|
80
|
-
if these are installed you can use tidy to cleanup
|
|
92
|
+
tidy (gem) and tidy library
|
|
93
|
+
if these are installed you can use tidy to cleanup
|
|
81
94
|
html into valid xhtml for use by MasterView
|
|
82
95
|
|
|
83
96
|
log4r (gem)
|
|
84
|
-
if this gem is installed then MasterView will use
|
|
85
|
-
it for logging otherwise it defaults to using built
|
|
97
|
+
if this gem is installed then MasterView will use
|
|
98
|
+
it for logging otherwise it defaults to using built
|
|
86
99
|
in Logger.
|
|
87
100
|
|
|
88
101
|
|
|
@@ -104,7 +117,7 @@ The Configuration Guide describes how to customize the configuration of the Mast
|
|
|
104
117
|
|
|
105
118
|
== Usage
|
|
106
119
|
|
|
107
|
-
The MasterView User's Guide and a complete Directives Reference are provided in the MasterView user documentation. MasterView templates can be created by adding masterview directives markup to an (x)html ptototype, or can be generated for typical Rails controller/view scenarios using the supplied masterview generator developer tool.
|
|
120
|
+
The MasterView User's Guide and a complete Directives Reference are provided in the MasterView user documentation. MasterView templates can be created by adding masterview directives markup to an (x)html ptototype, or can be generated for typical Rails controller/view scenarios using the supplied masterview generator developer tool.
|
|
108
121
|
|
|
109
122
|
A MasterView Admin controller can optionally be activated in your application to assist you during development with creating and managing your templates.
|
|
110
123
|
|
|
@@ -112,7 +125,7 @@ A MasterView Admin controller can optionally be activated in your application to
|
|
|
112
125
|
== Next Steps
|
|
113
126
|
|
|
114
127
|
Visit the online documentation page at http://masterview.org/ for screenshots, illustrations, complete installation and usage information.
|
|
115
|
-
|
|
128
|
+
|
|
116
129
|
We would love to hear your feedback and ideas around this project! Visit the rubyforge project to join the users mailing list or to add yourself to the announce list to receive future announcements. Check out the video to see MasterView in action!
|
|
117
130
|
|
|
118
131
|
Thanks for your time!!
|
metadata
CHANGED
|
@@ -3,8 +3,8 @@ rubygems_version: 0.9.0
|
|
|
3
3
|
specification_version: 1
|
|
4
4
|
name: masterview_gem_pack
|
|
5
5
|
version: !ruby/object:Gem::Version
|
|
6
|
-
version: 0.3.
|
|
7
|
-
date: 2007-
|
|
6
|
+
version: 0.3.4
|
|
7
|
+
date: 2007-10-04 00:00:00 -05:00
|
|
8
8
|
summary: A (x)html friendly template engine for rails with the power of layouts, and partials. This gem package includes the other masterview gems for easy installation
|
|
9
9
|
require_paths:
|
|
10
10
|
- .
|
|
@@ -56,7 +56,7 @@ dependencies:
|
|
|
56
56
|
requirements:
|
|
57
57
|
- - ">="
|
|
58
58
|
- !ruby/object:Gem::Version
|
|
59
|
-
version: 0.3.
|
|
59
|
+
version: 0.3.4
|
|
60
60
|
version:
|
|
61
61
|
- !ruby/object:Gem::Dependency
|
|
62
62
|
name: masterview_generator
|
|
@@ -65,7 +65,7 @@ dependencies:
|
|
|
65
65
|
requirements:
|
|
66
66
|
- - ">="
|
|
67
67
|
- !ruby/object:Gem::Version
|
|
68
|
-
version: 0.3.
|
|
68
|
+
version: 0.3.4
|
|
69
69
|
version:
|
|
70
70
|
- !ruby/object:Gem::Dependency
|
|
71
71
|
name: masterview_plugin_generator
|
|
@@ -74,5 +74,5 @@ dependencies:
|
|
|
74
74
|
requirements:
|
|
75
75
|
- - ">="
|
|
76
76
|
- !ruby/object:Gem::Version
|
|
77
|
-
version: 0.3.
|
|
77
|
+
version: 0.3.4
|
|
78
78
|
version:
|