muck-engine 0.1.0 → 0.1.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/README.rdoc +11 -4
- data/Rakefile +5 -6
- data/VERSION +1 -1
- data/muck-engine.gemspec +214 -0
- data/rails/init.rb +1 -1
- data/rdoc/classes/ActionController.html +111 -0
- data/rdoc/classes/ActionController/MuckApplication.html +158 -0
- data/rdoc/classes/ActionController/MuckApplication/ClassMethods.html +105 -0
- data/rdoc/classes/ActionController/MuckApplication/InstanceMethods.html +105 -0
- data/rdoc/classes/ActiveRecord.html +111 -0
- data/rdoc/classes/ActiveRecord/MuckModel.html +157 -0
- data/rdoc/classes/ActiveRecord/MuckModel/ClassMethods.html +105 -0
- data/rdoc/classes/ActiveRecord/MuckModel/InstanceMethods.html +169 -0
- data/rdoc/classes/MuckEngine.html +117 -0
- data/rdoc/classes/MuckEngine/Tasks.html +146 -0
- data/rdoc/created.rid +1 -0
- data/rdoc/files/README_rdoc.html +145 -0
- data/rdoc/files/lib/action_controller/muck_application_rb.html +101 -0
- data/rdoc/files/lib/active_record/muck_model_rb.html +101 -0
- data/rdoc/files/lib/muck-engine/tasks_rb.html +111 -0
- data/rdoc/files/lib/muck-engine_rb.html +101 -0
- data/rdoc/fr_class_index.html +36 -0
- data/rdoc/fr_file_index.html +31 -0
- data/rdoc/fr_method_index.html +31 -0
- data/rdoc/index.html +24 -0
- data/rdoc/rdoc-style.css +208 -0
- data/tasks/rails.rake +2 -0
- metadata +25 -3
- data/lib/muck-engine.rb +0 -5
    
        data/README.rdoc
    CHANGED
    
    | @@ -1,5 +1,5 @@ | |
| 1 | 
            -
            MuckEngine
         | 
| 2 | 
            -
             | 
| 1 | 
            +
            = MuckEngine
         | 
| 2 | 
            +
             | 
| 3 3 | 
             
            The muck engine is forms the basis for the muck framework and includes basic functionality utilized by the various muck engines.
         | 
| 4 4 |  | 
| 5 5 | 
             
            The easiest way to get started with muck is to generate your application using a template:
         | 
| @@ -8,8 +8,15 @@ The easiest way to get started with muck is to generate your application using a | |
| 8 8 | 
             
            Add optional functionality with the following command:
         | 
| 9 9 | 
             
              $ rake rails:template LOCATION=http://github.com/jbasdf/rails-templates/raw/master/mucktoo.rb
         | 
| 10 10 |  | 
| 11 | 
            -
             | 
| 12 | 
            -
             | 
| 11 | 
            +
            == Setup
         | 
| 12 | 
            +
            Be sure to include the muck_engine tasks in your Rakefile:
         | 
| 13 | 
            +
             | 
| 14 | 
            +
              require 'muck_engine'
         | 
| 15 | 
            +
              require 'muck_engine/tasks'
         | 
| 16 | 
            +
             | 
| 17 | 
            +
             | 
| 18 | 
            +
            == Layout
         | 
| 19 | 
            +
             | 
| 13 20 | 
             
            The muck template will build your basic application and construct all the needed files and configuration.
         | 
| 14 21 |  | 
| 15 22 | 
             
            If you build your own layout be sure to include the following script in your layout or the javascript in the system won't work:
         | 
    
        data/Rakefile
    CHANGED
    
    | @@ -5,7 +5,7 @@ require 'rake/rdoctask' | |
| 5 5 | 
             
            desc 'Default: run unit tests.'
         | 
| 6 6 | 
             
            task :default => :test
         | 
| 7 7 |  | 
| 8 | 
            -
            desc 'Test the  | 
| 8 | 
            +
            desc 'Test the muck_engine plugin.'
         | 
| 9 9 | 
             
            Rake::TestTask.new(:test) do |t|
         | 
| 10 10 | 
             
              t.libs << 'lib'
         | 
| 11 11 | 
             
              t.libs << 'test'
         | 
| @@ -13,12 +13,12 @@ Rake::TestTask.new(:test) do |t| | |
| 13 13 | 
             
              t.verbose = true
         | 
| 14 14 | 
             
            end
         | 
| 15 15 |  | 
| 16 | 
            -
            desc 'Generate documentation for the  | 
| 16 | 
            +
            desc 'Generate documentation for the muck_engine plugin.'
         | 
| 17 17 | 
             
            Rake::RDocTask.new(:rdoc) do |rdoc|
         | 
| 18 18 | 
             
              rdoc.rdoc_dir = 'rdoc'
         | 
| 19 19 | 
             
              rdoc.title    = 'MuckEngine'
         | 
| 20 20 | 
             
              rdoc.options << '--line-numbers' << '--inline-source'
         | 
| 21 | 
            -
              rdoc.rdoc_files.include('README')
         | 
| 21 | 
            +
              rdoc.rdoc_files.include('README*')
         | 
| 22 22 | 
             
              rdoc.rdoc_files.include('lib/**/*.rb')
         | 
| 23 23 | 
             
            end
         | 
| 24 24 |  | 
| @@ -29,10 +29,9 @@ begin | |
| 29 29 | 
             
                gemspec.name = "muck-engine"
         | 
| 30 30 | 
             
                gemspec.summary = "The base engine for the muck system.  Contains common tables, custom for, css and javascript."
         | 
| 31 31 | 
             
                gemspec.email = "justinball@gmail.com"
         | 
| 32 | 
            -
                gemspec.homepage = "http://github.com/ | 
| 32 | 
            +
                gemspec.homepage = "http://github.com/jbasdf/muck_engine"
         | 
| 33 33 | 
             
                gemspec.description = "The base engine for the muck system.  Contains common tables, custom for, css and javascript."
         | 
| 34 34 | 
             
                gemspec.authors = ["Justin Ball"]
         | 
| 35 | 
            -
                gemspec.files.include %w( lib/muck-engine.rb )
         | 
| 36 35 | 
             
                gemspec.rubyforge_project = 'muck-engine'
         | 
| 37 36 | 
             
              end
         | 
| 38 37 | 
             
            rescue LoadError
         | 
| @@ -55,7 +54,7 @@ begin | |
| 55 54 | 
             
                    )
         | 
| 56 55 |  | 
| 57 56 | 
             
                    host = "#{config['username']}@rubyforge.org"
         | 
| 58 | 
            -
                    remote_dir = "/var/www/gforge-projects/ | 
| 57 | 
            +
                    remote_dir = "/var/www/gforge-projects/muck_engine/"
         | 
| 59 58 | 
             
                    local_dir = 'rdoc'
         | 
| 60 59 |  | 
| 61 60 | 
             
                    Rake::SshDirPublisher.new(host, remote_dir, local_dir).upload
         | 
    
        data/VERSION
    CHANGED
    
    | @@ -1 +1 @@ | |
| 1 | 
            -
            0.1. | 
| 1 | 
            +
            0.1.1
         | 
    
        data/muck-engine.gemspec
    ADDED
    
    | @@ -0,0 +1,214 @@ | |
| 1 | 
            +
            # -*- encoding: utf-8 -*-
         | 
| 2 | 
            +
             | 
| 3 | 
            +
            Gem::Specification.new do |s|
         | 
| 4 | 
            +
              s.name = %q{muck-engine}
         | 
| 5 | 
            +
              s.version = "0.1.1"
         | 
| 6 | 
            +
             | 
| 7 | 
            +
              s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
         | 
| 8 | 
            +
              s.authors = ["Justin Ball"]
         | 
| 9 | 
            +
              s.date = %q{2009-06-11}
         | 
| 10 | 
            +
              s.description = %q{The base engine for the muck system.  Contains common tables, custom for, css and javascript.}
         | 
| 11 | 
            +
              s.email = %q{justinball@gmail.com}
         | 
| 12 | 
            +
              s.extra_rdoc_files = [
         | 
| 13 | 
            +
                "README.rdoc"
         | 
| 14 | 
            +
              ]
         | 
| 15 | 
            +
              s.files = [
         | 
| 16 | 
            +
                "MIT-LICENSE",
         | 
| 17 | 
            +
                 "README.rdoc",
         | 
| 18 | 
            +
                 "Rakefile",
         | 
| 19 | 
            +
                 "VERSION",
         | 
| 20 | 
            +
                 "app/controllers/admin/muck/base_controller.rb",
         | 
| 21 | 
            +
                 "app/helpers/muck_custom_form_builder.rb",
         | 
| 22 | 
            +
                 "app/helpers/muck_engine_helper.rb",
         | 
| 23 | 
            +
                 "app/models/country.rb",
         | 
| 24 | 
            +
                 "app/models/language.rb",
         | 
| 25 | 
            +
                 "app/models/state.rb",
         | 
| 26 | 
            +
                 "app/views/forms/_base_field.html.erb",
         | 
| 27 | 
            +
                 "app/views/forms/_color_picker_field.html.erb",
         | 
| 28 | 
            +
                 "app/views/forms/_default.html.erb",
         | 
| 29 | 
            +
                 "app/views/forms/_field.html.erb",
         | 
| 30 | 
            +
                 "app/views/forms/_field_with_tips.html.erb",
         | 
| 31 | 
            +
                 "app/views/forms/_menu_field.erb",
         | 
| 32 | 
            +
                 "app/views/forms/_menu_field.html.erb",
         | 
| 33 | 
            +
                 "app/views/forms/_tips.html.erb",
         | 
| 34 | 
            +
                 "app/views/layouts/admin.html.erb",
         | 
| 35 | 
            +
                 "app/views/layouts/default.html.erb",
         | 
| 36 | 
            +
                 "app/views/shared/_error_box.html.erb",
         | 
| 37 | 
            +
                 "app/views/shared/_field_error.html.erb",
         | 
| 38 | 
            +
                 "app/views/shared/_flash_error_box.html.erb",
         | 
| 39 | 
            +
                 "app/views/shared/_flash_messages.html.erb",
         | 
| 40 | 
            +
                 "app/views/shared/_growl.html.erb",
         | 
| 41 | 
            +
                 "app/views/shared/_growl_box.html.erb",
         | 
| 42 | 
            +
                 "app/views/shared/_no_result.html.erb",
         | 
| 43 | 
            +
                 "db/migrate/20090402234137_create_languages.rb",
         | 
| 44 | 
            +
                 "db/migrate/20090426041056_create_countries.rb",
         | 
| 45 | 
            +
                 "db/migrate/20090426041103_create_states.rb",
         | 
| 46 | 
            +
                 "install.rb",
         | 
| 47 | 
            +
                 "lib/action_controller/muck_application.rb",
         | 
| 48 | 
            +
                 "lib/active_record/muck_model.rb",
         | 
| 49 | 
            +
                 "locales/en.yml",
         | 
| 50 | 
            +
                 "muck-engine.gemspec",
         | 
| 51 | 
            +
                 "public/images/arrow_down.gif",
         | 
| 52 | 
            +
                 "public/images/arrow_left.gif",
         | 
| 53 | 
            +
                 "public/images/arrow_right.gif",
         | 
| 54 | 
            +
                 "public/images/arrow_up.gif",
         | 
| 55 | 
            +
                 "public/images/icons/accept.png",
         | 
| 56 | 
            +
                 "public/images/icons/add.png",
         | 
| 57 | 
            +
                 "public/images/icons/delete.png",
         | 
| 58 | 
            +
                 "public/images/icons/vote.png",
         | 
| 59 | 
            +
                 "public/images/loading.gif",
         | 
| 60 | 
            +
                 "public/images/spinner.gif",
         | 
| 61 | 
            +
                 "public/javascripts/application.js",
         | 
| 62 | 
            +
                 "public/javascripts/fancyzoom.min.js",
         | 
| 63 | 
            +
                 "public/javascripts/jquery/jquery-ui.js",
         | 
| 64 | 
            +
                 "public/javascripts/jquery/jquery.form.js",
         | 
| 65 | 
            +
                 "public/javascripts/jquery/jquery.jgrowl.js",
         | 
| 66 | 
            +
                 "public/javascripts/jquery/jquery.js",
         | 
| 67 | 
            +
                 "public/javascripts/jquery/jquery.tips.js",
         | 
| 68 | 
            +
                 "public/stylesheets/admin.css",
         | 
| 69 | 
            +
                 "public/stylesheets/blueprint/ie.css",
         | 
| 70 | 
            +
                 "public/stylesheets/blueprint/liquid_screen.css",
         | 
| 71 | 
            +
                 "public/stylesheets/blueprint/plugins/buttons/icons/cross.png",
         | 
| 72 | 
            +
                 "public/stylesheets/blueprint/plugins/buttons/icons/key.png",
         | 
| 73 | 
            +
                 "public/stylesheets/blueprint/plugins/buttons/icons/tick.png",
         | 
| 74 | 
            +
                 "public/stylesheets/blueprint/plugins/buttons/readme.txt",
         | 
| 75 | 
            +
                 "public/stylesheets/blueprint/plugins/buttons/screen.css",
         | 
| 76 | 
            +
                 "public/stylesheets/blueprint/plugins/fancy-type/readme.txt",
         | 
| 77 | 
            +
                 "public/stylesheets/blueprint/plugins/fancy-type/screen.css",
         | 
| 78 | 
            +
                 "public/stylesheets/blueprint/plugins/link-icons/icons/doc.png",
         | 
| 79 | 
            +
                 "public/stylesheets/blueprint/plugins/link-icons/icons/email.png",
         | 
| 80 | 
            +
                 "public/stylesheets/blueprint/plugins/link-icons/icons/external.png",
         | 
| 81 | 
            +
                 "public/stylesheets/blueprint/plugins/link-icons/icons/feed.png",
         | 
| 82 | 
            +
                 "public/stylesheets/blueprint/plugins/link-icons/icons/im.png",
         | 
| 83 | 
            +
                 "public/stylesheets/blueprint/plugins/link-icons/icons/pdf.png",
         | 
| 84 | 
            +
                 "public/stylesheets/blueprint/plugins/link-icons/icons/visited.png",
         | 
| 85 | 
            +
                 "public/stylesheets/blueprint/plugins/link-icons/icons/xls.png",
         | 
| 86 | 
            +
                 "public/stylesheets/blueprint/plugins/link-icons/readme.txt",
         | 
| 87 | 
            +
                 "public/stylesheets/blueprint/plugins/link-icons/screen.css",
         | 
| 88 | 
            +
                 "public/stylesheets/blueprint/plugins/liquid/liquid.css",
         | 
| 89 | 
            +
                 "public/stylesheets/blueprint/plugins/liquid/src/liquid.css",
         | 
| 90 | 
            +
                 "public/stylesheets/blueprint/plugins/rtl/readme.txt",
         | 
| 91 | 
            +
                 "public/stylesheets/blueprint/plugins/rtl/screen.css",
         | 
| 92 | 
            +
                 "public/stylesheets/blueprint/print.css",
         | 
| 93 | 
            +
                 "public/stylesheets/blueprint/screen.css",
         | 
| 94 | 
            +
                 "public/stylesheets/blueprint/src/forms.css",
         | 
| 95 | 
            +
                 "public/stylesheets/blueprint/src/grid.css",
         | 
| 96 | 
            +
                 "public/stylesheets/blueprint/src/grid.png",
         | 
| 97 | 
            +
                 "public/stylesheets/blueprint/src/ie.css",
         | 
| 98 | 
            +
                 "public/stylesheets/blueprint/src/print.css",
         | 
| 99 | 
            +
                 "public/stylesheets/blueprint/src/reset.css",
         | 
| 100 | 
            +
                 "public/stylesheets/blueprint/src/typography.css",
         | 
| 101 | 
            +
                 "public/stylesheets/jquery/cupertino/images/ui-bg_diagonals-small_0_aaaaaa_40x40.png",
         | 
| 102 | 
            +
                 "public/stylesheets/jquery/cupertino/images/ui-bg_diagonals-thick_15_444444_40x40.png",
         | 
| 103 | 
            +
                 "public/stylesheets/jquery/cupertino/images/ui-bg_glass_100_f0f0f0_1x400.png",
         | 
| 104 | 
            +
                 "public/stylesheets/jquery/cupertino/images/ui-bg_glass_50_99c2ff_1x400.png",
         | 
| 105 | 
            +
                 "public/stylesheets/jquery/cupertino/images/ui-bg_glass_55_fbf5d0_1x400.png",
         | 
| 106 | 
            +
                 "public/stylesheets/jquery/cupertino/images/ui-bg_glass_80_e6e6e6_1x400.png",
         | 
| 107 | 
            +
                 "public/stylesheets/jquery/cupertino/images/ui-bg_glass_95_fef1ec_1x400.png",
         | 
| 108 | 
            +
                 "public/stylesheets/jquery/cupertino/images/ui-bg_highlight-hard_100_f9f9f9_1x100.png",
         | 
| 109 | 
            +
                 "public/stylesheets/jquery/cupertino/images/ui-bg_highlight-soft_100_e7eef3_1x100.png",
         | 
| 110 | 
            +
                 "public/stylesheets/jquery/cupertino/images/ui-icons_222222_256x240.png",
         | 
| 111 | 
            +
                 "public/stylesheets/jquery/cupertino/images/ui-icons_2694e8_256x240.png",
         | 
| 112 | 
            +
                 "public/stylesheets/jquery/cupertino/images/ui-icons_2e83ff_256x240.png",
         | 
| 113 | 
            +
                 "public/stylesheets/jquery/cupertino/images/ui-icons_72a7cf_256x240.png",
         | 
| 114 | 
            +
                 "public/stylesheets/jquery/cupertino/images/ui-icons_888888_256x240.png",
         | 
| 115 | 
            +
                 "public/stylesheets/jquery/cupertino/images/ui-icons_cd0a0a_256x240.png",
         | 
| 116 | 
            +
                 "public/stylesheets/jquery/cupertino/images/ui-icons_ffffff_256x240.png",
         | 
| 117 | 
            +
                 "public/stylesheets/jquery/cupertino/jquery-ui-1.7.1.custom.css",
         | 
| 118 | 
            +
                 "public/stylesheets/jquery/redmond/images/ui-bg_flat_0_aaaaaa_40x100.png",
         | 
| 119 | 
            +
                 "public/stylesheets/jquery/redmond/images/ui-bg_flat_55_fbec88_40x100.png",
         | 
| 120 | 
            +
                 "public/stylesheets/jquery/redmond/images/ui-bg_glass_75_d0e5f5_1x400.png",
         | 
| 121 | 
            +
                 "public/stylesheets/jquery/redmond/images/ui-bg_glass_85_dfeffc_1x400.png",
         | 
| 122 | 
            +
                 "public/stylesheets/jquery/redmond/images/ui-bg_glass_95_fef1ec_1x400.png",
         | 
| 123 | 
            +
                 "public/stylesheets/jquery/redmond/images/ui-bg_gloss-wave_55_5c9ccc_500x100.png",
         | 
| 124 | 
            +
                 "public/stylesheets/jquery/redmond/images/ui-bg_inset-hard_100_f5f8f9_1x100.png",
         | 
| 125 | 
            +
                 "public/stylesheets/jquery/redmond/images/ui-bg_inset-hard_100_fcfdfd_1x100.png",
         | 
| 126 | 
            +
                 "public/stylesheets/jquery/redmond/images/ui-icons_217bc0_256x240.png",
         | 
| 127 | 
            +
                 "public/stylesheets/jquery/redmond/images/ui-icons_2e83ff_256x240.png",
         | 
| 128 | 
            +
                 "public/stylesheets/jquery/redmond/images/ui-icons_469bdd_256x240.png",
         | 
| 129 | 
            +
                 "public/stylesheets/jquery/redmond/images/ui-icons_6da8d5_256x240.png",
         | 
| 130 | 
            +
                 "public/stylesheets/jquery/redmond/images/ui-icons_cd0a0a_256x240.png",
         | 
| 131 | 
            +
                 "public/stylesheets/jquery/redmond/images/ui-icons_d8e7f3_256x240.png",
         | 
| 132 | 
            +
                 "public/stylesheets/jquery/redmond/images/ui-icons_f9bd01_256x240.png",
         | 
| 133 | 
            +
                 "public/stylesheets/jquery/redmond/jquery-ui-1.7.1.custom.css",
         | 
| 134 | 
            +
                 "public/stylesheets/jquery/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png",
         | 
| 135 | 
            +
                 "public/stylesheets/jquery/smoothness/images/ui-bg_flat_75_ffffff_40x100.png",
         | 
| 136 | 
            +
                 "public/stylesheets/jquery/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png",
         | 
| 137 | 
            +
                 "public/stylesheets/jquery/smoothness/images/ui-bg_glass_65_ffffff_1x400.png",
         | 
| 138 | 
            +
                 "public/stylesheets/jquery/smoothness/images/ui-bg_glass_75_dadada_1x400.png",
         | 
| 139 | 
            +
                 "public/stylesheets/jquery/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png",
         | 
| 140 | 
            +
                 "public/stylesheets/jquery/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png",
         | 
| 141 | 
            +
                 "public/stylesheets/jquery/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png",
         | 
| 142 | 
            +
                 "public/stylesheets/jquery/smoothness/images/ui-icons_222222_256x240.png",
         | 
| 143 | 
            +
                 "public/stylesheets/jquery/smoothness/images/ui-icons_2e83ff_256x240.png",
         | 
| 144 | 
            +
                 "public/stylesheets/jquery/smoothness/images/ui-icons_454545_256x240.png",
         | 
| 145 | 
            +
                 "public/stylesheets/jquery/smoothness/images/ui-icons_888888_256x240.png",
         | 
| 146 | 
            +
                 "public/stylesheets/jquery/smoothness/images/ui-icons_cd0a0a_256x240.png",
         | 
| 147 | 
            +
                 "public/stylesheets/jquery/smoothness/jquery-ui-1.7.1.custom.css",
         | 
| 148 | 
            +
                 "public/stylesheets/jquery/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png",
         | 
| 149 | 
            +
                 "public/stylesheets/jquery/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png",
         | 
| 150 | 
            +
                 "public/stylesheets/jquery/ui-lightness/images/ui-bg_flat_10_000000_40x100.png",
         | 
| 151 | 
            +
                 "public/stylesheets/jquery/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png",
         | 
| 152 | 
            +
                 "public/stylesheets/jquery/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png",
         | 
| 153 | 
            +
                 "public/stylesheets/jquery/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png",
         | 
| 154 | 
            +
                 "public/stylesheets/jquery/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png",
         | 
| 155 | 
            +
                 "public/stylesheets/jquery/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png",
         | 
| 156 | 
            +
                 "public/stylesheets/jquery/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png",
         | 
| 157 | 
            +
                 "public/stylesheets/jquery/ui-lightness/images/ui-icons_222222_256x240.png",
         | 
| 158 | 
            +
                 "public/stylesheets/jquery/ui-lightness/images/ui-icons_228ef1_256x240.png",
         | 
| 159 | 
            +
                 "public/stylesheets/jquery/ui-lightness/images/ui-icons_ef8c08_256x240.png",
         | 
| 160 | 
            +
                 "public/stylesheets/jquery/ui-lightness/images/ui-icons_ffd27a_256x240.png",
         | 
| 161 | 
            +
                 "public/stylesheets/jquery/ui-lightness/images/ui-icons_ffffff_256x240.png",
         | 
| 162 | 
            +
                 "public/stylesheets/jquery/ui-lightness/jquery-ui-1.7.1.custom.css",
         | 
| 163 | 
            +
                 "public/stylesheets/reset.css",
         | 
| 164 | 
            +
                 "public/stylesheets/styles.css",
         | 
| 165 | 
            +
                 "rails/init.rb",
         | 
| 166 | 
            +
                 "rdoc/classes/ActionController.html",
         | 
| 167 | 
            +
                 "rdoc/classes/ActionController/MuckApplication.html",
         | 
| 168 | 
            +
                 "rdoc/classes/ActionController/MuckApplication/ClassMethods.html",
         | 
| 169 | 
            +
                 "rdoc/classes/ActionController/MuckApplication/InstanceMethods.html",
         | 
| 170 | 
            +
                 "rdoc/classes/ActiveRecord.html",
         | 
| 171 | 
            +
                 "rdoc/classes/ActiveRecord/MuckModel.html",
         | 
| 172 | 
            +
                 "rdoc/classes/ActiveRecord/MuckModel/ClassMethods.html",
         | 
| 173 | 
            +
                 "rdoc/classes/ActiveRecord/MuckModel/InstanceMethods.html",
         | 
| 174 | 
            +
                 "rdoc/classes/MuckEngine.html",
         | 
| 175 | 
            +
                 "rdoc/classes/MuckEngine/Tasks.html",
         | 
| 176 | 
            +
                 "rdoc/created.rid",
         | 
| 177 | 
            +
                 "rdoc/files/README_rdoc.html",
         | 
| 178 | 
            +
                 "rdoc/files/lib/action_controller/muck_application_rb.html",
         | 
| 179 | 
            +
                 "rdoc/files/lib/active_record/muck_model_rb.html",
         | 
| 180 | 
            +
                 "rdoc/files/lib/muck-engine/tasks_rb.html",
         | 
| 181 | 
            +
                 "rdoc/files/lib/muck-engine_rb.html",
         | 
| 182 | 
            +
                 "rdoc/fr_class_index.html",
         | 
| 183 | 
            +
                 "rdoc/fr_file_index.html",
         | 
| 184 | 
            +
                 "rdoc/fr_method_index.html",
         | 
| 185 | 
            +
                 "rdoc/index.html",
         | 
| 186 | 
            +
                 "rdoc/rdoc-style.css",
         | 
| 187 | 
            +
                 "tasks/languages.txt",
         | 
| 188 | 
            +
                 "tasks/rails.rake",
         | 
| 189 | 
            +
                 "test/muck_engine_test.rb",
         | 
| 190 | 
            +
                 "test/test_helper.rb",
         | 
| 191 | 
            +
                 "uninstall.rb"
         | 
| 192 | 
            +
              ]
         | 
| 193 | 
            +
              s.has_rdoc = true
         | 
| 194 | 
            +
              s.homepage = %q{http://github.com/jbasdf/muck_engine}
         | 
| 195 | 
            +
              s.rdoc_options = ["--charset=UTF-8"]
         | 
| 196 | 
            +
              s.require_paths = ["lib"]
         | 
| 197 | 
            +
              s.rubyforge_project = %q{muck-engine}
         | 
| 198 | 
            +
              s.rubygems_version = %q{1.3.1}
         | 
| 199 | 
            +
              s.summary = %q{The base engine for the muck system.  Contains common tables, custom for, css and javascript.}
         | 
| 200 | 
            +
              s.test_files = [
         | 
| 201 | 
            +
                "test/muck_engine_test.rb",
         | 
| 202 | 
            +
                 "test/test_helper.rb"
         | 
| 203 | 
            +
              ]
         | 
| 204 | 
            +
             | 
| 205 | 
            +
              if s.respond_to? :specification_version then
         | 
| 206 | 
            +
                current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
         | 
| 207 | 
            +
                s.specification_version = 2
         | 
| 208 | 
            +
             | 
| 209 | 
            +
                if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
         | 
| 210 | 
            +
                else
         | 
| 211 | 
            +
                end
         | 
| 212 | 
            +
              else
         | 
| 213 | 
            +
              end
         | 
| 214 | 
            +
            end
         | 
    
        data/rails/init.rb
    CHANGED
    
    
| @@ -0,0 +1,111 @@ | |
| 1 | 
            +
            <?xml version="1.0" encoding="iso-8859-1"?>
         | 
| 2 | 
            +
            <!DOCTYPE html 
         | 
| 3 | 
            +
                 PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
         | 
| 4 | 
            +
                 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
         | 
| 5 | 
            +
             | 
| 6 | 
            +
            <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
         | 
| 7 | 
            +
            <head>
         | 
| 8 | 
            +
              <title>Module: ActionController</title>
         | 
| 9 | 
            +
              <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
         | 
| 10 | 
            +
              <meta http-equiv="Content-Script-Type" content="text/javascript" />
         | 
| 11 | 
            +
              <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
         | 
| 12 | 
            +
              <script type="text/javascript">
         | 
| 13 | 
            +
              // <![CDATA[
         | 
| 14 | 
            +
             | 
| 15 | 
            +
              function popupCode( url ) {
         | 
| 16 | 
            +
                window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
         | 
| 17 | 
            +
              }
         | 
| 18 | 
            +
             | 
| 19 | 
            +
              function toggleCode( id ) {
         | 
| 20 | 
            +
                if ( document.getElementById )
         | 
| 21 | 
            +
                  elem = document.getElementById( id );
         | 
| 22 | 
            +
                else if ( document.all )
         | 
| 23 | 
            +
                  elem = eval( "document.all." + id );
         | 
| 24 | 
            +
                else
         | 
| 25 | 
            +
                  return false;
         | 
| 26 | 
            +
             | 
| 27 | 
            +
                elemStyle = elem.style;
         | 
| 28 | 
            +
                
         | 
| 29 | 
            +
                if ( elemStyle.display != "block" ) {
         | 
| 30 | 
            +
                  elemStyle.display = "block"
         | 
| 31 | 
            +
                } else {
         | 
| 32 | 
            +
                  elemStyle.display = "none"
         | 
| 33 | 
            +
                }
         | 
| 34 | 
            +
             | 
| 35 | 
            +
                return true;
         | 
| 36 | 
            +
              }
         | 
| 37 | 
            +
              
         | 
| 38 | 
            +
              // Make codeblocks hidden by default
         | 
| 39 | 
            +
              document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
         | 
| 40 | 
            +
              
         | 
| 41 | 
            +
              // ]]>
         | 
| 42 | 
            +
              </script>
         | 
| 43 | 
            +
             | 
| 44 | 
            +
            </head>
         | 
| 45 | 
            +
            <body>
         | 
| 46 | 
            +
             | 
| 47 | 
            +
             | 
| 48 | 
            +
             | 
| 49 | 
            +
                <div id="classHeader">
         | 
| 50 | 
            +
                    <table class="header-table">
         | 
| 51 | 
            +
                    <tr class="top-aligned-row">
         | 
| 52 | 
            +
                      <td><strong>Module</strong></td>
         | 
| 53 | 
            +
                      <td class="class-name-in-header">ActionController</td>
         | 
| 54 | 
            +
                    </tr>
         | 
| 55 | 
            +
                    <tr class="top-aligned-row">
         | 
| 56 | 
            +
                        <td><strong>In:</strong></td>
         | 
| 57 | 
            +
                        <td>
         | 
| 58 | 
            +
                            <a href="../files/lib/action_controller/muck_application_rb.html">
         | 
| 59 | 
            +
                            lib/action_controller/muck_application.rb
         | 
| 60 | 
            +
                            </a>
         | 
| 61 | 
            +
                    <br />
         | 
| 62 | 
            +
                        </td>
         | 
| 63 | 
            +
                    </tr>
         | 
| 64 | 
            +
             | 
| 65 | 
            +
                    </table>
         | 
| 66 | 
            +
                </div>
         | 
| 67 | 
            +
              <!-- banner header -->
         | 
| 68 | 
            +
             | 
| 69 | 
            +
              <div id="bodyContent">
         | 
| 70 | 
            +
             | 
| 71 | 
            +
             | 
| 72 | 
            +
             | 
| 73 | 
            +
              <div id="contextContent">
         | 
| 74 | 
            +
             | 
| 75 | 
            +
             | 
| 76 | 
            +
             | 
| 77 | 
            +
               </div>
         | 
| 78 | 
            +
             | 
| 79 | 
            +
             | 
| 80 | 
            +
              </div>
         | 
| 81 | 
            +
             | 
| 82 | 
            +
             | 
| 83 | 
            +
                <!-- if includes -->
         | 
| 84 | 
            +
             | 
| 85 | 
            +
                <div id="section">
         | 
| 86 | 
            +
             | 
| 87 | 
            +
                <div id="class-list">
         | 
| 88 | 
            +
                  <h3 class="section-bar">Classes and Modules</h3>
         | 
| 89 | 
            +
             | 
| 90 | 
            +
                  Module <a href="ActionController/MuckApplication.html" class="link">ActionController::MuckApplication</a><br />
         | 
| 91 | 
            +
             | 
| 92 | 
            +
                </div>
         | 
| 93 | 
            +
             | 
| 94 | 
            +
             | 
| 95 | 
            +
             | 
| 96 | 
            +
             | 
| 97 | 
            +
                  
         | 
| 98 | 
            +
             | 
| 99 | 
            +
             | 
| 100 | 
            +
                <!-- if method_list -->
         | 
| 101 | 
            +
             | 
| 102 | 
            +
             | 
| 103 | 
            +
              </div>
         | 
| 104 | 
            +
             | 
| 105 | 
            +
             | 
| 106 | 
            +
            <div id="validator-badges">
         | 
| 107 | 
            +
              <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
         | 
| 108 | 
            +
            </div>
         | 
| 109 | 
            +
             | 
| 110 | 
            +
            </body>
         | 
| 111 | 
            +
            </html>
         | 
| @@ -0,0 +1,158 @@ | |
| 1 | 
            +
            <?xml version="1.0" encoding="iso-8859-1"?>
         | 
| 2 | 
            +
            <!DOCTYPE html 
         | 
| 3 | 
            +
                 PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
         | 
| 4 | 
            +
                 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
         | 
| 5 | 
            +
             | 
| 6 | 
            +
            <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
         | 
| 7 | 
            +
            <head>
         | 
| 8 | 
            +
              <title>Module: ActionController::MuckApplication</title>
         | 
| 9 | 
            +
              <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
         | 
| 10 | 
            +
              <meta http-equiv="Content-Script-Type" content="text/javascript" />
         | 
| 11 | 
            +
              <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
         | 
| 12 | 
            +
              <script type="text/javascript">
         | 
| 13 | 
            +
              // <![CDATA[
         | 
| 14 | 
            +
             | 
| 15 | 
            +
              function popupCode( url ) {
         | 
| 16 | 
            +
                window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
         | 
| 17 | 
            +
              }
         | 
| 18 | 
            +
             | 
| 19 | 
            +
              function toggleCode( id ) {
         | 
| 20 | 
            +
                if ( document.getElementById )
         | 
| 21 | 
            +
                  elem = document.getElementById( id );
         | 
| 22 | 
            +
                else if ( document.all )
         | 
| 23 | 
            +
                  elem = eval( "document.all." + id );
         | 
| 24 | 
            +
                else
         | 
| 25 | 
            +
                  return false;
         | 
| 26 | 
            +
             | 
| 27 | 
            +
                elemStyle = elem.style;
         | 
| 28 | 
            +
                
         | 
| 29 | 
            +
                if ( elemStyle.display != "block" ) {
         | 
| 30 | 
            +
                  elemStyle.display = "block"
         | 
| 31 | 
            +
                } else {
         | 
| 32 | 
            +
                  elemStyle.display = "none"
         | 
| 33 | 
            +
                }
         | 
| 34 | 
            +
             | 
| 35 | 
            +
                return true;
         | 
| 36 | 
            +
              }
         | 
| 37 | 
            +
              
         | 
| 38 | 
            +
              // Make codeblocks hidden by default
         | 
| 39 | 
            +
              document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
         | 
| 40 | 
            +
              
         | 
| 41 | 
            +
              // ]]>
         | 
| 42 | 
            +
              </script>
         | 
| 43 | 
            +
             | 
| 44 | 
            +
            </head>
         | 
| 45 | 
            +
            <body>
         | 
| 46 | 
            +
             | 
| 47 | 
            +
             | 
| 48 | 
            +
             | 
| 49 | 
            +
                <div id="classHeader">
         | 
| 50 | 
            +
                    <table class="header-table">
         | 
| 51 | 
            +
                    <tr class="top-aligned-row">
         | 
| 52 | 
            +
                      <td><strong>Module</strong></td>
         | 
| 53 | 
            +
                      <td class="class-name-in-header">ActionController::MuckApplication</td>
         | 
| 54 | 
            +
                    </tr>
         | 
| 55 | 
            +
                    <tr class="top-aligned-row">
         | 
| 56 | 
            +
                        <td><strong>In:</strong></td>
         | 
| 57 | 
            +
                        <td>
         | 
| 58 | 
            +
                            <a href="../../files/lib/action_controller/muck_application_rb.html">
         | 
| 59 | 
            +
                            lib/action_controller/muck_application.rb
         | 
| 60 | 
            +
                            </a>
         | 
| 61 | 
            +
                    <br />
         | 
| 62 | 
            +
                        </td>
         | 
| 63 | 
            +
                    </tr>
         | 
| 64 | 
            +
             | 
| 65 | 
            +
                    </table>
         | 
| 66 | 
            +
                </div>
         | 
| 67 | 
            +
              <!-- banner header -->
         | 
| 68 | 
            +
             | 
| 69 | 
            +
              <div id="bodyContent">
         | 
| 70 | 
            +
             | 
| 71 | 
            +
             | 
| 72 | 
            +
             | 
| 73 | 
            +
              <div id="contextContent">
         | 
| 74 | 
            +
             | 
| 75 | 
            +
             | 
| 76 | 
            +
             | 
| 77 | 
            +
               </div>
         | 
| 78 | 
            +
             | 
| 79 | 
            +
                <div id="method-list">
         | 
| 80 | 
            +
                  <h3 class="section-bar">Methods</h3>
         | 
| 81 | 
            +
             | 
| 82 | 
            +
                  <div class="name-list">
         | 
| 83 | 
            +
                  <a href="#M000002">included</a>  
         | 
| 84 | 
            +
                  </div>
         | 
| 85 | 
            +
                </div>
         | 
| 86 | 
            +
             | 
| 87 | 
            +
              </div>
         | 
| 88 | 
            +
             | 
| 89 | 
            +
             | 
| 90 | 
            +
                <!-- if includes -->
         | 
| 91 | 
            +
                <div id="includes">
         | 
| 92 | 
            +
                  <h3 class="section-bar">Included Modules</h3>
         | 
| 93 | 
            +
             | 
| 94 | 
            +
                  <div id="includes-list">
         | 
| 95 | 
            +
                    <span class="include-name"><a href="MuckApplication/InstanceMethods.html">InstanceMethods</a></span>
         | 
| 96 | 
            +
                  </div>
         | 
| 97 | 
            +
                </div>
         | 
| 98 | 
            +
             | 
| 99 | 
            +
                <div id="section">
         | 
| 100 | 
            +
             | 
| 101 | 
            +
                <div id="class-list">
         | 
| 102 | 
            +
                  <h3 class="section-bar">Classes and Modules</h3>
         | 
| 103 | 
            +
             | 
| 104 | 
            +
                  Module <a href="MuckApplication/ClassMethods.html" class="link">ActionController::MuckApplication::ClassMethods</a><br />
         | 
| 105 | 
            +
            Module <a href="MuckApplication/InstanceMethods.html" class="link">ActionController::MuckApplication::InstanceMethods</a><br />
         | 
| 106 | 
            +
             | 
| 107 | 
            +
                </div>
         | 
| 108 | 
            +
             | 
| 109 | 
            +
             | 
| 110 | 
            +
             | 
| 111 | 
            +
             | 
| 112 | 
            +
                  
         | 
| 113 | 
            +
             | 
| 114 | 
            +
             | 
| 115 | 
            +
                <!-- if method_list -->
         | 
| 116 | 
            +
                <div id="methods">
         | 
| 117 | 
            +
                  <h3 class="section-bar">Public Class methods</h3>
         | 
| 118 | 
            +
             | 
| 119 | 
            +
                  <div id="method-M000002" class="method-detail">
         | 
| 120 | 
            +
                    <a name="M000002"></a>
         | 
| 121 | 
            +
             | 
| 122 | 
            +
                    <div class="method-heading">
         | 
| 123 | 
            +
                      <a href="#M000002" class="method-signature">
         | 
| 124 | 
            +
                      <span class="method-name">included</span><span class="method-args">(receiver)</span>
         | 
| 125 | 
            +
                      </a>
         | 
| 126 | 
            +
                    </div>
         | 
| 127 | 
            +
                  
         | 
| 128 | 
            +
                    <div class="method-description">
         | 
| 129 | 
            +
                      <p><a class="source-toggle" href="#"
         | 
| 130 | 
            +
                        onclick="toggleCode('M000002-source');return false;">[Source]</a></p>
         | 
| 131 | 
            +
                      <div class="method-source-code" id="M000002-source">
         | 
| 132 | 
            +
            <pre>
         | 
| 133 | 
            +
                <span class="ruby-comment cmt"># File lib/action_controller/muck_application.rb, line 64</span>
         | 
| 134 | 
            +
            64:     <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">included</span>(<span class="ruby-identifier">receiver</span>)
         | 
| 135 | 
            +
            65:       <span class="ruby-identifier">receiver</span>.<span class="ruby-identifier">extend</span> <span class="ruby-constant">ClassMethods</span>
         | 
| 136 | 
            +
            66:       <span class="ruby-identifier">receiver</span>.<span class="ruby-identifier">class_eval</span> <span class="ruby-keyword kw">do</span>
         | 
| 137 | 
            +
            67:         <span class="ruby-identifier">include</span> <span class="ruby-constant">InstanceMethods</span>
         | 
| 138 | 
            +
            68:         <span class="ruby-identifier">before_filter</span> <span class="ruby-identifier">:set_locale</span>
         | 
| 139 | 
            +
            69:       <span class="ruby-keyword kw">end</span>
         | 
| 140 | 
            +
            70:     <span class="ruby-keyword kw">end</span>
         | 
| 141 | 
            +
            </pre>
         | 
| 142 | 
            +
                      </div>
         | 
| 143 | 
            +
                    </div>
         | 
| 144 | 
            +
                  </div>
         | 
| 145 | 
            +
             | 
| 146 | 
            +
             | 
| 147 | 
            +
                </div>
         | 
| 148 | 
            +
             | 
| 149 | 
            +
             | 
| 150 | 
            +
              </div>
         | 
| 151 | 
            +
             | 
| 152 | 
            +
             | 
| 153 | 
            +
            <div id="validator-badges">
         | 
| 154 | 
            +
              <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
         | 
| 155 | 
            +
            </div>
         | 
| 156 | 
            +
             | 
| 157 | 
            +
            </body>
         | 
| 158 | 
            +
            </html>
         |