masterview_gem_pack 0.2.2 → 0.2.3

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.
Files changed (4) hide show
  1. data/CHANGELOG +14 -0
  2. data/RELEASE_NOTES +12 -0
  3. data/TODO +16 -1
  4. metadata +5 -5
data/CHANGELOG CHANGED
@@ -1,3 +1,17 @@
1
+ 0.2.3 - July 5th, 2006
2
+ Change default development settings for enable_admin_pages = true and enable_view_rhtml = true, remains false in production.
3
+ Change generated message in files to indicate that list.html controls layout and _messages, while new.html controls _form...
4
+ Added check_box directive
5
+ Added radio_button directive
6
+ Refactored attr_value option parser
7
+ Added select directive
8
+ Added config setting template_asset_base_ref_pattern, index by asset type, for extracting asset refs from template design-time refs for rails helpers.
9
+ Internal rework of directive handling to provide infrastructure for enable alt directive name spaces (separate from builtin mv: namespace).
10
+ Std app directives dir at rails app/masterview/directives will be automatically added to load path along with builtin mv: directives if present.
11
+ Added quote_if method to directive_base and refactored directives to utilize so logic is consolidated.
12
+ Added collection_select directive
13
+
14
+
1
15
  0.2.2 - June 30th, 2006 - Fix bug when not generating rhtml that rails template error could not find source and thus would fail to generate rhtml error page
2
16
 
3
17
  0.2.1 - June 28th, 2006
data/RELEASE_NOTES CHANGED
@@ -1,5 +1,17 @@
1
1
  = MasterView - Rails-optimized (x)html friendly template engine
2
2
 
3
+ == Recent changes (Release 0.2.3)
4
+
5
+ Changed default development settings for enable_admin_pages and
6
+ enable_view_rhtml = true (false in production) to make it easy
7
+ for new users to get up and running. Added check_box, radio_button,
8
+ select, collection_select directives. Refactor attr_value parsing
9
+ to be more robust taking into account nested objects. Internal rework
10
+ of directive handling to support alternate namespaces for directives.
11
+ Std app directives dir at rails app/masterview/directives will be
12
+ automatically added to MasterView load path if exists.
13
+
14
+
3
15
  == Recent changes (Release 0.2.2)
4
16
 
5
17
  Fixes problem when rails encounters exception in either compiling or
data/TODO CHANGED
@@ -31,4 +31,19 @@
31
31
  ??? can we tweak the admin controller for gem plugin so it puts its empty.rhtml in, say, config/masterview/admin??
32
32
  => better loc than vendor/plugins/masterview/........ if users are going to customize that guy
33
33
 
34
- --####################
34
+ --####################
35
+
36
+ DSL for creating directives
37
+ maybe something like
38
+
39
+ event :etag => [:object, :method, :options, :html_options] do
40
+ # creates @dcs, @args, @object, @method, @options, @html_options, and we already have attr_value and attrs
41
+ # the array of symbols is used for string args found in attr_value
42
+ # here we build up the response
43
+ outargs = []
44
+ outargs << quote_if_simple_word(@object)
45
+ outargs << quote_if_simple_word(@method)
46
+ outargs << @options unless @options.to_s.empty?
47
+ outargs << @html_options unless @html_options.to_s.empty?
48
+ erb_output( 'test '+outargs.join(', ') )
49
+ end
metadata CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.8.11
3
3
  specification_version: 1
4
4
  name: masterview_gem_pack
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.2.2
7
- date: 2006-06-30 00:00:00 -05:00
6
+ version: 0.2.3
7
+ date: 2006-07-05 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
  - .
@@ -54,7 +54,7 @@ dependencies:
54
54
  requirements:
55
55
  - - ">="
56
56
  - !ruby/object:Gem::Version
57
- version: 0.2.2
57
+ version: 0.2.3
58
58
  version:
59
59
  - !ruby/object:Gem::Dependency
60
60
  name: masterview_generator
@@ -63,7 +63,7 @@ dependencies:
63
63
  requirements:
64
64
  - - ">="
65
65
  - !ruby/object:Gem::Version
66
- version: 0.2.2
66
+ version: 0.2.3
67
67
  version:
68
68
  - !ruby/object:Gem::Dependency
69
69
  name: masterview_plugin_generator
@@ -72,5 +72,5 @@ dependencies:
72
72
  requirements:
73
73
  - - ">="
74
74
  - !ruby/object:Gem::Version
75
- version: 0.2.2
75
+ version: 0.2.3
76
76
  version: