masterview_gem_pack 0.1.3 → 0.1.5
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 +4 -0
 - data/README +18 -2
 - data/RELEASE_NOTES +1 -1
 - metadata +7 -7
 
    
        data/CHANGELOG
    CHANGED
    
    | 
         @@ -1,3 +1,7 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            0.1.5 - May 31st - Remove app_[ENV] customization hook in leau of a block based initializer approach (similar to rails) from Deborah Lewis which would allow customization from the environment config files.
         
     | 
| 
      
 2 
     | 
    
         
            +
             
     | 
| 
      
 3 
     | 
    
         
            +
            0.1.4 - May 30th - Apply patch by Deborah Lewis to allow customized generated comment. Add omit_tag directive to conditionally suppress output of element tag. Add user configuration user.rb, user_RAILS_ENV.rb
         
     | 
| 
      
 4 
     | 
    
         
            +
             
     | 
| 
       1 
5 
     | 
    
         
             
            0.1.3 - May 29th - Fixed generators to use m.file not m.template on non-erb files
         
     | 
| 
       2 
6 
     | 
    
         | 
| 
       3 
7 
     | 
    
         
             
            0.1.2 - May 29th - Fix empty.rhtml not being found from rake mv:copy_layout
         
     | 
    
        data/README
    CHANGED
    
    | 
         @@ -45,7 +45,7 @@ If you can use gems you may simply do the following 
     | 
|
| 
       45 
45 
     | 
    
         | 
| 
       46 
46 
     | 
    
         
             
            gem install masterview_gem_pack
         
     | 
| 
       47 
47 
     | 
    
         | 
| 
       48 
     | 
    
         
            -
            Now your gem is installed and you can skip these steps in the future. After creating your rails directory, change directory to it and run the following to create a very lightweight plugin instance for this application mainly consisting of an init.rb file which will get loaded at runtime. This init.rb refers to the gem for everything but allows you to override any constants or setup that has been provided. See MasterView module masterview.rb for a list of the available constants.
         
     | 
| 
      
 48 
     | 
    
         
            +
            Now your gem is installed and you can skip these steps in the future. After creating your rails directory, change directory to it and run the following to create a very lightweight plugin instance for this application mainly consisting of an init.rb file which will get loaded at runtime. This init.rb refers to the gem for everything but allows you to override any constants or setup that has been provided. See MasterView module masterview.rb for a list of the available constants. 
         
     | 
| 
       49 
49 
     | 
    
         | 
| 
       50 
50 
     | 
    
         
             
            script/generate masterview_plugin
         
     | 
| 
       51 
51 
     | 
    
         | 
| 
         @@ -53,7 +53,7 @@ After this MasterView is ready for use. Skip down to the Usage section for more 
     | 
|
| 
       53 
53 
     | 
    
         | 
| 
       54 
54 
     | 
    
         
             
            === Installation without using gems, install as plugin
         
     | 
| 
       55 
55 
     | 
    
         | 
| 
       56 
     | 
    
         
            -
            script/plugin install svn://rubyforge.org/var/svn/masterview
         
     | 
| 
      
 56 
     | 
    
         
            +
            script/plugin install svn://rubyforge.org/var/svn/masterview/tags/latest
         
     | 
| 
       57 
57 
     | 
    
         | 
| 
       58 
58 
     | 
    
         
             
            This will copy entire MasterView system into your vendor/plugin/masterview directory. You may tweak its init.rb to override any MasterView constants at runtime. See MasterView module masterview.rb for a list of available constants. Note that if you don't have svn (subversion) installed, you may also retrieve the plugin package (masterview_plugin.tgz or masterview_plugin.zip) from http://rubyforge.org/projects/masterview and simply extract into vendor/plugins/masterview 
         
     | 
| 
       59 
59 
     | 
    
         | 
| 
         @@ -386,6 +386,22 @@ mv:link_to_remote="linkToRemoteOptions" 
     | 
|
| 
       386 
386 
     | 
    
         | 
| 
       387 
387 
     | 
    
         
             
            	<%= link_to_remote 'New product', :action => 'new' %>
         
     | 
| 
       388 
388 
     | 
    
         | 
| 
      
 389 
     | 
    
         
            +
            mv:omit_tag="evalString"
         
     | 
| 
      
 390 
     | 
    
         
            +
            	Omit the element tag if the evalString is empty or evaluates to true. For example...
         
     | 
| 
      
 391 
     | 
    
         
            +
             
     | 
| 
      
 392 
     | 
    
         
            +
            	<span mv:omit_tag="">hello</span>
         
     | 
| 
      
 393 
     | 
    
         
            +
             
     | 
| 
      
 394 
     | 
    
         
            +
            	  becomes
         
     | 
| 
      
 395 
     | 
    
         
            +
             
     | 
| 
      
 396 
     | 
    
         
            +
            	hello
         
     | 
| 
      
 397 
     | 
    
         
            +
             
     | 
| 
      
 398 
     | 
    
         
            +
            	<span mv:omit_tag="@test">hello</span>
         
     | 
| 
      
 399 
     | 
    
         
            +
             
     | 
| 
      
 400 
     | 
    
         
            +
            	  becomes
         
     | 
| 
      
 401 
     | 
    
         
            +
             
     | 
| 
      
 402 
     | 
    
         
            +
            	<% if @test %><span><% end %>hello<% if @test %></span><% end %>
         
     | 
| 
      
 403 
     | 
    
         
            +
             
     | 
| 
      
 404 
     | 
    
         
            +
             
     | 
| 
       389 
405 
     | 
    
         
             
            mv:password_field="user, password"
         
     | 
| 
       390 
406 
     | 
    
         
             
            	Replaces the tag with a password_field helper using the attribute as well as merging any html 
         
     | 
| 
       391 
407 
     | 
    
         
             
            	attributes that have been set by the designer, for example...
         
     | 
    
        data/RELEASE_NOTES
    CHANGED
    
    | 
         @@ -66,7 +66,7 @@ After this MasterView is ready for use. Skip down to the Usage section for more 
     | 
|
| 
       66 
66 
     | 
    
         | 
| 
       67 
67 
     | 
    
         
             
            === Installation without using gems, install as plugin
         
     | 
| 
       68 
68 
     | 
    
         | 
| 
       69 
     | 
    
         
            -
            script/plugin install svn://rubyforge.org/var/svn/masterview
         
     | 
| 
      
 69 
     | 
    
         
            +
            script/plugin install svn://rubyforge.org/var/svn/masterview/tags/latest
         
     | 
| 
       70 
70 
     | 
    
         | 
| 
       71 
71 
     | 
    
         
             
            This will copy entire MasterView system into your vendor/plugin/masterview directory. You may tweak its init.rb to override any MasterView constants at runtime. See MasterView module masterview.rb for a list of available constants. Note that if you don't have svn (subversion) installed, you may also retrieve the plugin package (masterview_plugin.tgz or masterview_plugin.zip) from http://rubyforge.org/projects/masterview and simply extract into vendor/plugins/masterview 
         
     | 
| 
       72 
72 
     | 
    
         | 
    
        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.1. 
     | 
| 
       7 
     | 
    
         
            -
            date: 2006-05- 
     | 
| 
      
 6 
     | 
    
         
            +
              version: 0.1.5
         
     | 
| 
      
 7 
     | 
    
         
            +
            date: 2006-05-31 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 
     | 
    
         
             
            - .
         
     | 
| 
         @@ -29,11 +29,11 @@ authors: 
     | 
|
| 
       29 
29 
     | 
    
         
             
            - Jeff Barczewski
         
     | 
| 
       30 
30 
     | 
    
         
             
            files: 
         
     | 
| 
       31 
31 
     | 
    
         
             
            - CHANGELOG
         
     | 
| 
      
 32 
     | 
    
         
            +
            - MIT-LICENSE
         
     | 
| 
       32 
33 
     | 
    
         
             
            - Rakefile
         
     | 
| 
      
 34 
     | 
    
         
            +
            - TODO
         
     | 
| 
       33 
35 
     | 
    
         
             
            - RELEASE_NOTES
         
     | 
| 
       34 
     | 
    
         
            -
            - MIT-LICENSE
         
     | 
| 
       35 
36 
     | 
    
         
             
            - README
         
     | 
| 
       36 
     | 
    
         
            -
            - TODO
         
     | 
| 
       37 
37 
     | 
    
         
             
            test_files: []
         
     | 
| 
       38 
38 
     | 
    
         | 
| 
       39 
39 
     | 
    
         
             
            rdoc_options: []
         
     | 
| 
         @@ -54,7 +54,7 @@ dependencies: 
     | 
|
| 
       54 
54 
     | 
    
         
             
                requirements: 
         
     | 
| 
       55 
55 
     | 
    
         
             
                - - ">="
         
     | 
| 
       56 
56 
     | 
    
         
             
                  - !ruby/object:Gem::Version 
         
     | 
| 
       57 
     | 
    
         
            -
                    version: 0.1. 
     | 
| 
      
 57 
     | 
    
         
            +
                    version: 0.1.5
         
     | 
| 
       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.1. 
     | 
| 
      
 66 
     | 
    
         
            +
                    version: 0.1.5
         
     | 
| 
       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.1. 
     | 
| 
      
 75 
     | 
    
         
            +
                    version: 0.1.5
         
     | 
| 
       76 
76 
     | 
    
         
             
                version: 
         
     |