ryana-sortable_table 0.2.0
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/MIT-LICENSE +20 -0
 - data/README.textile +86 -0
 - data/Rakefile +31 -0
 - data/VERSION.yml +4 -0
 - data/lib/sortable_table.rb +3 -0
 - data/lib/sortable_table/app/controllers/application_controller.rb +46 -0
 - data/lib/sortable_table/app/helpers/application_helper.rb +69 -0
 - data/lib/sortable_table/test/test_helper.rb +50 -0
 - data/rails/init.rb +1 -0
 - data/test/rails_root/Rakefile +10 -0
 - data/test/rails_root/app/controllers/application.rb +5 -0
 - data/test/rails_root/app/controllers/users_controller.rb +9 -0
 - data/test/rails_root/app/helpers/application_helper.rb +3 -0
 - data/test/rails_root/app/helpers/users_helper.rb +2 -0
 - data/test/rails_root/app/models/user.rb +2 -0
 - data/test/rails_root/app/views/layouts/users.html.erb +17 -0
 - data/test/rails_root/app/views/users/index.html.erb +19 -0
 - data/test/rails_root/config/boot.rb +109 -0
 - data/test/rails_root/config/database.yml +19 -0
 - data/test/rails_root/config/environment.rb +26 -0
 - data/test/rails_root/config/environments/development.rb +17 -0
 - data/test/rails_root/config/environments/test.rb +28 -0
 - data/test/rails_root/config/initializers/new_rails_defaults.rb +15 -0
 - data/test/rails_root/config/initializers/sortable_table.rb +8 -0
 - data/test/rails_root/config/routes.rb +6 -0
 - data/test/rails_root/db/development.sqlite3 +0 -0
 - data/test/rails_root/db/migrate/20080819225020_create_users.rb +15 -0
 - data/test/rails_root/db/production.sqlite3 +0 -0
 - data/test/rails_root/db/schema.rb +23 -0
 - data/test/rails_root/db/test.sqlite3 +0 -0
 - data/test/rails_root/log/development.log +2710 -0
 - data/test/rails_root/log/production.log +0 -0
 - data/test/rails_root/log/server.log +0 -0
 - data/test/rails_root/log/test.log +764 -0
 - data/test/rails_root/public/404.html +30 -0
 - data/test/rails_root/public/422.html +30 -0
 - data/test/rails_root/public/500.html +30 -0
 - data/test/rails_root/public/dispatch.cgi +10 -0
 - data/test/rails_root/public/dispatch.fcgi +24 -0
 - data/test/rails_root/public/dispatch.rb +10 -0
 - data/test/rails_root/public/favicon.ico +0 -0
 - data/test/rails_root/public/images/rails.png +0 -0
 - data/test/rails_root/public/images/sort-ascending-arrow.gif +0 -0
 - data/test/rails_root/public/images/sort-descending-arrow.gif +0 -0
 - data/test/rails_root/public/index.html +274 -0
 - data/test/rails_root/public/javascripts/application.js +2 -0
 - data/test/rails_root/public/javascripts/controls.js +963 -0
 - data/test/rails_root/public/javascripts/dragdrop.js +972 -0
 - data/test/rails_root/public/javascripts/effects.js +1120 -0
 - data/test/rails_root/public/javascripts/prototype.js +4225 -0
 - data/test/rails_root/public/robots.txt +5 -0
 - data/test/rails_root/public/stylesheets/scaffold.css +53 -0
 - data/test/rails_root/public/stylesheets/sortable.css +10 -0
 - data/test/rails_root/script/about +3 -0
 - data/test/rails_root/script/console +3 -0
 - data/test/rails_root/script/dbconsole +3 -0
 - data/test/rails_root/script/destroy +3 -0
 - data/test/rails_root/script/generate +3 -0
 - data/test/rails_root/script/performance/benchmarker +3 -0
 - data/test/rails_root/script/performance/profiler +3 -0
 - data/test/rails_root/script/performance/request +3 -0
 - data/test/rails_root/script/plugin +3 -0
 - data/test/rails_root/script/process/inspector +3 -0
 - data/test/rails_root/script/process/reaper +3 -0
 - data/test/rails_root/script/process/spawner +3 -0
 - data/test/rails_root/script/runner +3 -0
 - data/test/rails_root/script/server +3 -0
 - data/test/rails_root/test/factories/user_factory.rb +17 -0
 - data/test/rails_root/test/functional/users_controller_test.rb +15 -0
 - data/test/rails_root/test/helper_testcase.rb +38 -0
 - data/test/rails_root/test/test_helper.rb +22 -0
 - data/test/rails_root/test/unit/helpers/application_helper_test.rb +53 -0
 - data/test/rails_root/vendor/plugins/helper_test/MIT-LICENSE +20 -0
 - data/test/rails_root/vendor/plugins/helper_test/README +33 -0
 - data/test/rails_root/vendor/plugins/helper_test/about.yml +7 -0
 - data/test/rails_root/vendor/plugins/helper_test/generators/helper_test/helper_test_generator.rb +22 -0
 - data/test/rails_root/vendor/plugins/helper_test/generators/helper_test/templates/helper_test.rb +13 -0
 - data/test/rails_root/vendor/plugins/helper_test/generators/helper_test/templates/helper_testcase.rb +38 -0
 - metadata +176 -0
 
| 
         @@ -0,0 +1,53 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            body { background-color: #fff; color: #333; }
         
     | 
| 
      
 2 
     | 
    
         
            +
             
     | 
| 
      
 3 
     | 
    
         
            +
            body, p, ol, ul, td {
         
     | 
| 
      
 4 
     | 
    
         
            +
              font-family: verdana, arial, helvetica, sans-serif;
         
     | 
| 
      
 5 
     | 
    
         
            +
              font-size:   13px;
         
     | 
| 
      
 6 
     | 
    
         
            +
              line-height: 18px;
         
     | 
| 
      
 7 
     | 
    
         
            +
            }
         
     | 
| 
      
 8 
     | 
    
         
            +
             
     | 
| 
      
 9 
     | 
    
         
            +
            pre {
         
     | 
| 
      
 10 
     | 
    
         
            +
              background-color: #eee;
         
     | 
| 
      
 11 
     | 
    
         
            +
              padding: 10px;
         
     | 
| 
      
 12 
     | 
    
         
            +
              font-size: 11px;
         
     | 
| 
      
 13 
     | 
    
         
            +
            }
         
     | 
| 
      
 14 
     | 
    
         
            +
             
     | 
| 
      
 15 
     | 
    
         
            +
            a { color: #000; }
         
     | 
| 
      
 16 
     | 
    
         
            +
            a:hover { color: #666; }
         
     | 
| 
      
 17 
     | 
    
         
            +
             
     | 
| 
      
 18 
     | 
    
         
            +
            .fieldWithErrors {
         
     | 
| 
      
 19 
     | 
    
         
            +
              padding: 2px;
         
     | 
| 
      
 20 
     | 
    
         
            +
              background-color: red;
         
     | 
| 
      
 21 
     | 
    
         
            +
              display: table;
         
     | 
| 
      
 22 
     | 
    
         
            +
            }
         
     | 
| 
      
 23 
     | 
    
         
            +
             
     | 
| 
      
 24 
     | 
    
         
            +
            #errorExplanation {
         
     | 
| 
      
 25 
     | 
    
         
            +
              width: 400px;
         
     | 
| 
      
 26 
     | 
    
         
            +
              border: 2px solid red;
         
     | 
| 
      
 27 
     | 
    
         
            +
              padding: 7px;
         
     | 
| 
      
 28 
     | 
    
         
            +
              padding-bottom: 12px;
         
     | 
| 
      
 29 
     | 
    
         
            +
              margin-bottom: 20px;
         
     | 
| 
      
 30 
     | 
    
         
            +
              background-color: #f0f0f0;
         
     | 
| 
      
 31 
     | 
    
         
            +
            }
         
     | 
| 
      
 32 
     | 
    
         
            +
             
     | 
| 
      
 33 
     | 
    
         
            +
            #errorExplanation h2 {
         
     | 
| 
      
 34 
     | 
    
         
            +
              text-align: left;
         
     | 
| 
      
 35 
     | 
    
         
            +
              font-weight: bold;
         
     | 
| 
      
 36 
     | 
    
         
            +
              padding: 5px 5px 5px 15px;
         
     | 
| 
      
 37 
     | 
    
         
            +
              font-size: 12px;
         
     | 
| 
      
 38 
     | 
    
         
            +
              margin: -7px;
         
     | 
| 
      
 39 
     | 
    
         
            +
              background-color: #c00;
         
     | 
| 
      
 40 
     | 
    
         
            +
              color: #fff;
         
     | 
| 
      
 41 
     | 
    
         
            +
            }
         
     | 
| 
      
 42 
     | 
    
         
            +
             
     | 
| 
      
 43 
     | 
    
         
            +
            #errorExplanation p {
         
     | 
| 
      
 44 
     | 
    
         
            +
              color: #333;
         
     | 
| 
      
 45 
     | 
    
         
            +
              margin-bottom: 0;
         
     | 
| 
      
 46 
     | 
    
         
            +
              padding: 5px;
         
     | 
| 
      
 47 
     | 
    
         
            +
            }
         
     | 
| 
      
 48 
     | 
    
         
            +
             
     | 
| 
      
 49 
     | 
    
         
            +
            #errorExplanation ul li {
         
     | 
| 
      
 50 
     | 
    
         
            +
              font-size: 12px;
         
     | 
| 
      
 51 
     | 
    
         
            +
              list-style: square;
         
     | 
| 
      
 52 
     | 
    
         
            +
            }
         
     | 
| 
      
 53 
     | 
    
         
            +
             
     | 
| 
         @@ -0,0 +1,17 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            Factory.define :user do |user|
         
     | 
| 
      
 2 
     | 
    
         
            +
              user.email { Factory.next :email }
         
     | 
| 
      
 3 
     | 
    
         
            +
              user.name { Factory.next :name }
         
     | 
| 
      
 4 
     | 
    
         
            +
              user.age { Factory.next :age }
         
     | 
| 
      
 5 
     | 
    
         
            +
            end
         
     | 
| 
      
 6 
     | 
    
         
            +
             
     | 
| 
      
 7 
     | 
    
         
            +
            Factory.sequence :email do |each| 
         
     | 
| 
      
 8 
     | 
    
         
            +
              "email#{each}@example.com"
         
     | 
| 
      
 9 
     | 
    
         
            +
            end
         
     | 
| 
      
 10 
     | 
    
         
            +
             
     | 
| 
      
 11 
     | 
    
         
            +
            Factory.sequence :name do |each| 
         
     | 
| 
      
 12 
     | 
    
         
            +
              "name#{each}"
         
     | 
| 
      
 13 
     | 
    
         
            +
            end
         
     | 
| 
      
 14 
     | 
    
         
            +
             
     | 
| 
      
 15 
     | 
    
         
            +
            Factory.sequence :age do |each| 
         
     | 
| 
      
 16 
     | 
    
         
            +
              each
         
     | 
| 
      
 17 
     | 
    
         
            +
            end
         
     | 
| 
         @@ -0,0 +1,15 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            require File.dirname(__FILE__) + '/../test_helper'
         
     | 
| 
      
 2 
     | 
    
         
            +
             
     | 
| 
      
 3 
     | 
    
         
            +
            class UsersControllerTest < ActionController::TestCase
         
     | 
| 
      
 4 
     | 
    
         
            +
              
         
     | 
| 
      
 5 
     | 
    
         
            +
              context 'GET to index with sort and order params' do
         
     | 
| 
      
 6 
     | 
    
         
            +
                setup do
         
     | 
| 
      
 7 
     | 
    
         
            +
                  2.times { |each| Factory :user }
         
     | 
| 
      
 8 
     | 
    
         
            +
                end
         
     | 
| 
      
 9 
     | 
    
         
            +
              
         
     | 
| 
      
 10 
     | 
    
         
            +
                should_sort_by :name
         
     | 
| 
      
 11 
     | 
    
         
            +
                should_sort_by :email # Hash syntax
         
     | 
| 
      
 12 
     | 
    
         
            +
                should_sort_by :age
         
     | 
| 
      
 13 
     | 
    
         
            +
              end
         
     | 
| 
      
 14 
     | 
    
         
            +
              
         
     | 
| 
      
 15 
     | 
    
         
            +
            end
         
     | 
| 
         @@ -0,0 +1,38 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            # TODO Add this to your test_helper.rb
         
     | 
| 
      
 2 
     | 
    
         
            +
            #require File.expand_path(File.dirname(__FILE__) + '/helper_testcase')
         
     | 
| 
      
 3 
     | 
    
         
            +
             
     | 
| 
      
 4 
     | 
    
         
            +
            # Re-raise errors caught by the controller.
         
     | 
| 
      
 5 
     | 
    
         
            +
            class StubController < ApplicationController
         
     | 
| 
      
 6 
     | 
    
         
            +
              def rescue_action(e) raise e end;
         
     | 
| 
      
 7 
     | 
    
         
            +
              attr_accessor :request, :url
         
     | 
| 
      
 8 
     | 
    
         
            +
            end
         
     | 
| 
      
 9 
     | 
    
         
            +
             
     | 
| 
      
 10 
     | 
    
         
            +
            class HelperTestCase < Test::Unit::TestCase
         
     | 
| 
      
 11 
     | 
    
         
            +
             
     | 
| 
      
 12 
     | 
    
         
            +
              # Add other helpers here if you need them
         
     | 
| 
      
 13 
     | 
    
         
            +
              include ActionView::Helpers::ActiveRecordHelper
         
     | 
| 
      
 14 
     | 
    
         
            +
              include ActionView::Helpers::TagHelper
         
     | 
| 
      
 15 
     | 
    
         
            +
              include ActionView::Helpers::FormTagHelper
         
     | 
| 
      
 16 
     | 
    
         
            +
              include ActionView::Helpers::FormOptionsHelper
         
     | 
| 
      
 17 
     | 
    
         
            +
              include ActionView::Helpers::FormHelper
         
     | 
| 
      
 18 
     | 
    
         
            +
              include ActionView::Helpers::UrlHelper
         
     | 
| 
      
 19 
     | 
    
         
            +
              include ActionView::Helpers::AssetTagHelper
         
     | 
| 
      
 20 
     | 
    
         
            +
              include ActionView::Helpers::PrototypeHelper
         
     | 
| 
      
 21 
     | 
    
         
            +
             
     | 
| 
      
 22 
     | 
    
         
            +
              def setup
         
     | 
| 
      
 23 
     | 
    
         
            +
                super
         
     | 
| 
      
 24 
     | 
    
         
            +
             
     | 
| 
      
 25 
     | 
    
         
            +
                @request    = ActionController::TestRequest.new
         
     | 
| 
      
 26 
     | 
    
         
            +
                @controller = StubController.new
         
     | 
| 
      
 27 
     | 
    
         
            +
                @controller.request = @request
         
     | 
| 
      
 28 
     | 
    
         
            +
             
     | 
| 
      
 29 
     | 
    
         
            +
                # Fake url rewriter so we can test url_for
         
     | 
| 
      
 30 
     | 
    
         
            +
                @controller.url = ActionController::UrlRewriter.new @request, {}
         
     | 
| 
      
 31 
     | 
    
         
            +
                
         
     | 
| 
      
 32 
     | 
    
         
            +
                ActionView::Helpers::AssetTagHelper::reset_javascript_include_default
         
     | 
| 
      
 33 
     | 
    
         
            +
              end
         
     | 
| 
      
 34 
     | 
    
         
            +
             
     | 
| 
      
 35 
     | 
    
         
            +
              def test_dummy
         
     | 
| 
      
 36 
     | 
    
         
            +
                # do nothing - required by test/unit
         
     | 
| 
      
 37 
     | 
    
         
            +
              end
         
     | 
| 
      
 38 
     | 
    
         
            +
            end
         
     | 
| 
         @@ -0,0 +1,22 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            ENV["RAILS_ENV"] = "test"
         
     | 
| 
      
 2 
     | 
    
         
            +
            require File.expand_path(File.dirname(__FILE__) + "/../config/environment")
         
     | 
| 
      
 3 
     | 
    
         
            +
            require 'test_help'
         
     | 
| 
      
 4 
     | 
    
         
            +
            require 'rubygems'
         
     | 
| 
      
 5 
     | 
    
         
            +
             
     | 
| 
      
 6 
     | 
    
         
            +
            require File.expand_path(File.dirname(__FILE__) + '/helper_testcase')
         
     | 
| 
      
 7 
     | 
    
         
            +
             
     | 
| 
      
 8 
     | 
    
         
            +
            Dir[File.join(RAILS_ROOT, 'test', 'factories', '*.rb')].each do |file|
         
     | 
| 
      
 9 
     | 
    
         
            +
              require file
         
     | 
| 
      
 10 
     | 
    
         
            +
            end
         
     | 
| 
      
 11 
     | 
    
         
            +
             
     | 
| 
      
 12 
     | 
    
         
            +
            class Test::Unit::TestCase
         
     | 
| 
      
 13 
     | 
    
         
            +
              
         
     | 
| 
      
 14 
     | 
    
         
            +
              self.backtrace_silencers << :rails_vendor
         
     | 
| 
      
 15 
     | 
    
         
            +
              self.backtrace_filters   << :rails_root
         
     | 
| 
      
 16 
     | 
    
         
            +
              
         
     | 
| 
      
 17 
     | 
    
         
            +
              self.use_transactional_fixtures = true
         
     | 
| 
      
 18 
     | 
    
         
            +
              self.use_instantiated_fixtures  = false
         
     | 
| 
      
 19 
     | 
    
         
            +
             
     | 
| 
      
 20 
     | 
    
         
            +
              include SortableTable::Test::TestHelper
         
     | 
| 
      
 21 
     | 
    
         
            +
             
     | 
| 
      
 22 
     | 
    
         
            +
            end
         
     | 
| 
         @@ -0,0 +1,53 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            require File.dirname(__FILE__) + '/../../test_helper'
         
     | 
| 
      
 2 
     | 
    
         
            +
             
     | 
| 
      
 3 
     | 
    
         
            +
            class ApplicationHelperTest < HelperTestCase
         
     | 
| 
      
 4 
     | 
    
         
            +
             
     | 
| 
      
 5 
     | 
    
         
            +
              include ApplicationHelper
         
     | 
| 
      
 6 
     | 
    
         
            +
              
         
     | 
| 
      
 7 
     | 
    
         
            +
              context 'sortable_table_header' do
         
     | 
| 
      
 8 
     | 
    
         
            +
                setup do
         
     | 
| 
      
 9 
     | 
    
         
            +
                  self.stubs(:params).returns({ :controller => :jobs, :action => :index, :sort => nil, :order => nil })
         
     | 
| 
      
 10 
     | 
    
         
            +
                end
         
     | 
| 
      
 11 
     | 
    
         
            +
             
     | 
| 
      
 12 
     | 
    
         
            +
                [:name, :sort].each do |param|
         
     | 
| 
      
 13 
     | 
    
         
            +
                  should "raise an error without default param #{param}" do
         
     | 
| 
      
 14 
     | 
    
         
            +
                    opts = { :name => 'name', :sort => 'sort' }
         
     | 
| 
      
 15 
     | 
    
         
            +
                    opts.delete param
         
     | 
| 
      
 16 
     | 
    
         
            +
                    assert_raise(ArgumentError) do
         
     | 
| 
      
 17 
     | 
    
         
            +
                      sortable_table_header opts
         
     | 
| 
      
 18 
     | 
    
         
            +
                    end
         
     | 
| 
      
 19 
     | 
    
         
            +
                  end
         
     | 
| 
      
 20 
     | 
    
         
            +
                end
         
     | 
| 
      
 21 
     | 
    
         
            +
             
     | 
| 
      
 22 
     | 
    
         
            +
                context 'with no params[:sort] or params[:order]' do
         
     | 
| 
      
 23 
     | 
    
         
            +
                  setup do
         
     | 
| 
      
 24 
     | 
    
         
            +
                    @html = sortable_table_header(:name => 'Title', :sort => 'title', :title => 'Sort by title')
         
     | 
| 
      
 25 
     | 
    
         
            +
                  end
         
     | 
| 
      
 26 
     | 
    
         
            +
             
     | 
| 
      
 27 
     | 
    
         
            +
                  should 'return a table header without a class attribute' do
         
     | 
| 
      
 28 
     | 
    
         
            +
                    assert @html.include?('<th>')
         
     | 
| 
      
 29 
     | 
    
         
            +
                  end
         
     | 
| 
      
 30 
     | 
    
         
            +
                end
         
     | 
| 
      
 31 
     | 
    
         
            +
             
     | 
| 
      
 32 
     | 
    
         
            +
                context "without an :anchor" do
         
     | 
| 
      
 33 
     | 
    
         
            +
                  setup do
         
     | 
| 
      
 34 
     | 
    
         
            +
                    @html = sortable_table_header(:name => 'Title', :sort => 'title', :title => 'Sort by title')
         
     | 
| 
      
 35 
     | 
    
         
            +
                  end
         
     | 
| 
      
 36 
     | 
    
         
            +
             
     | 
| 
      
 37 
     | 
    
         
            +
                  should 'return a link that contains a url with no anchor' do
         
     | 
| 
      
 38 
     | 
    
         
            +
                    assert @html.match(/href="[^#]+?"/)
         
     | 
| 
      
 39 
     | 
    
         
            +
                  end
         
     | 
| 
      
 40 
     | 
    
         
            +
                end
         
     | 
| 
      
 41 
     | 
    
         
            +
             
     | 
| 
      
 42 
     | 
    
         
            +
                context "with an :anchor" do
         
     | 
| 
      
 43 
     | 
    
         
            +
                  setup do
         
     | 
| 
      
 44 
     | 
    
         
            +
                    @html = sortable_table_header(:name => 'Title', :sort => 'title', :title => 'Sort by title', :anchor => 'search-results')
         
     | 
| 
      
 45 
     | 
    
         
            +
                  end
         
     | 
| 
      
 46 
     | 
    
         
            +
             
     | 
| 
      
 47 
     | 
    
         
            +
                  should 'return a link that contains a url with that anchor' do
         
     | 
| 
      
 48 
     | 
    
         
            +
                    assert @html.match(/href="[^"]*?#search-results"/)
         
     | 
| 
      
 49 
     | 
    
         
            +
                  end
         
     | 
| 
      
 50 
     | 
    
         
            +
                end
         
     | 
| 
      
 51 
     | 
    
         
            +
              end
         
     | 
| 
      
 52 
     | 
    
         
            +
             
     | 
| 
      
 53 
     | 
    
         
            +
            end
         
     | 
| 
         @@ -0,0 +1,20 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            Copyright (c) 2006 Geoffrey Grosenbach
         
     | 
| 
      
 2 
     | 
    
         
            +
             
     | 
| 
      
 3 
     | 
    
         
            +
            Permission is hereby granted, free of charge, to any person obtaining
         
     | 
| 
      
 4 
     | 
    
         
            +
            a copy of this software and associated documentation files (the
         
     | 
| 
      
 5 
     | 
    
         
            +
            "Software"), to deal in the Software without restriction, including
         
     | 
| 
      
 6 
     | 
    
         
            +
            without limitation the rights to use, copy, modify, merge, publish,
         
     | 
| 
      
 7 
     | 
    
         
            +
            distribute, sublicense, and/or sell copies of the Software, and to
         
     | 
| 
      
 8 
     | 
    
         
            +
            permit persons to whom the Software is furnished to do so, subject to
         
     | 
| 
      
 9 
     | 
    
         
            +
            the following conditions:
         
     | 
| 
      
 10 
     | 
    
         
            +
             
     | 
| 
      
 11 
     | 
    
         
            +
            The above copyright notice and this permission notice shall be
         
     | 
| 
      
 12 
     | 
    
         
            +
            included in all copies or substantial portions of the Software.
         
     | 
| 
      
 13 
     | 
    
         
            +
             
     | 
| 
      
 14 
     | 
    
         
            +
            THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
         
     | 
| 
      
 15 
     | 
    
         
            +
            EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
         
     | 
| 
      
 16 
     | 
    
         
            +
            MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
         
     | 
| 
      
 17 
     | 
    
         
            +
            NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
         
     | 
| 
      
 18 
     | 
    
         
            +
            LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
         
     | 
| 
      
 19 
     | 
    
         
            +
            OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
         
     | 
| 
      
 20 
     | 
    
         
            +
            WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
         
     | 
| 
         @@ -0,0 +1,33 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            = Helper Test Generator
         
     | 
| 
      
 2 
     | 
    
         
            +
             
     | 
| 
      
 3 
     | 
    
         
            +
            Makes stubs so you can test helpers.
         
     | 
| 
      
 4 
     | 
    
         
            +
             
     | 
| 
      
 5 
     | 
    
         
            +
            The helpers are placed in test/unit/helpers and will be run automatically when you run unit tests.
         
     | 
| 
      
 6 
     | 
    
         
            +
             
     | 
| 
      
 7 
     | 
    
         
            +
            = Usage
         
     | 
| 
      
 8 
     | 
    
         
            +
             
     | 
| 
      
 9 
     | 
    
         
            +
            Run the helper_test generator with the shortened name of the helper you want to test.
         
     | 
| 
      
 10 
     | 
    
         
            +
             
     | 
| 
      
 11 
     | 
    
         
            +
              # For TaskHelper
         
     | 
| 
      
 12 
     | 
    
         
            +
              ./script/generate helper_test Task
         
     | 
| 
      
 13 
     | 
    
         
            +
             
     | 
| 
      
 14 
     | 
    
         
            +
            Require the parent testcase class in your test_helper.rb
         
     | 
| 
      
 15 
     | 
    
         
            +
             
     | 
| 
      
 16 
     | 
    
         
            +
              require File.expand_path(File.dirname(__FILE__) + '/helper_testcase')
         
     | 
| 
      
 17 
     | 
    
         
            +
             
     | 
| 
      
 18 
     | 
    
         
            +
            The testcase includes common helpers, but you can add others if necessary.
         
     | 
| 
      
 19 
     | 
    
         
            +
             
     | 
| 
      
 20 
     | 
    
         
            +
            = Examples
         
     | 
| 
      
 21 
     | 
    
         
            +
             
     | 
| 
      
 22 
     | 
    
         
            +
              # Make a test for the BlogHelper
         
     | 
| 
      
 23 
     | 
    
         
            +
              ./script/generate helper_test Blog
         
     | 
| 
      
 24 
     | 
    
         
            +
             
     | 
| 
      
 25 
     | 
    
         
            +
              # Make a test for Admin::UsersHelper
         
     | 
| 
      
 26 
     | 
    
         
            +
              ./script/generate helper_test Admin::Users
         
     | 
| 
      
 27 
     | 
    
         
            +
             
     | 
| 
      
 28 
     | 
    
         
            +
            Sub-folders will be made, if necessary.
         
     | 
| 
      
 29 
     | 
    
         
            +
             
     | 
| 
      
 30 
     | 
    
         
            +
            = Authors
         
     | 
| 
      
 31 
     | 
    
         
            +
             
     | 
| 
      
 32 
     | 
    
         
            +
            * Test stub by Ryan Davis http://zenspider.com
         
     | 
| 
      
 33 
     | 
    
         
            +
            * Generator by Geoffrey Grosenbach http://nubyonrails.com
         
     | 
    
        data/test/rails_root/vendor/plugins/helper_test/generators/helper_test/helper_test_generator.rb
    ADDED
    
    | 
         @@ -0,0 +1,22 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            class HelperTestGenerator < Rails::Generator::NamedBase  
         
     | 
| 
      
 2 
     | 
    
         
            +
             
     | 
| 
      
 3 
     | 
    
         
            +
              attr_reader :helper_class_name, :directory_slashes
         
     | 
| 
      
 4 
     | 
    
         
            +
             
     | 
| 
      
 5 
     | 
    
         
            +
              def initialize(runtime_args, runtime_options = {})
         
     | 
| 
      
 6 
     | 
    
         
            +
                @helper_class_name = Inflector.camelize(runtime_args.first)
         
     | 
| 
      
 7 
     | 
    
         
            +
                super
         
     | 
| 
      
 8 
     | 
    
         
            +
              end
         
     | 
| 
      
 9 
     | 
    
         
            +
             
     | 
| 
      
 10 
     | 
    
         
            +
              def manifest
         
     | 
| 
      
 11 
     | 
    
         
            +
                record do |m|
         
     | 
| 
      
 12 
     | 
    
         
            +
                  m.template 'helper_testcase.rb', 'test/helper_testcase.rb'
         
     | 
| 
      
 13 
     | 
    
         
            +
                  
         
     | 
| 
      
 14 
     | 
    
         
            +
                  output_path = File.join('test/unit/helpers', "#{@helper_class_name.underscore}_helper_test.rb")
         
     | 
| 
      
 15 
     | 
    
         
            +
                  m.directory File.join(File.dirname(output_path))
         
     | 
| 
      
 16 
     | 
    
         
            +
             
     | 
| 
      
 17 
     | 
    
         
            +
                  # Make slashes relative to the test/unit/helpers folder
         
     | 
| 
      
 18 
     | 
    
         
            +
                  @directory_slashes = '/..' * (output_path.split('/').length - 3)
         
     | 
| 
      
 19 
     | 
    
         
            +
                  m.template 'helper_test.rb', File.join(output_path)
         
     | 
| 
      
 20 
     | 
    
         
            +
                end
         
     | 
| 
      
 21 
     | 
    
         
            +
              end
         
     | 
| 
      
 22 
     | 
    
         
            +
            end
         
     | 
    
        data/test/rails_root/vendor/plugins/helper_test/generators/helper_test/templates/helper_testcase.rb
    ADDED
    
    | 
         @@ -0,0 +1,38 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            # TODO Add this to your test_helper.rb
         
     | 
| 
      
 2 
     | 
    
         
            +
            #require File.expand_path(File.dirname(__FILE__) + '/helper_testcase')
         
     | 
| 
      
 3 
     | 
    
         
            +
             
     | 
| 
      
 4 
     | 
    
         
            +
            # Re-raise errors caught by the controller.
         
     | 
| 
      
 5 
     | 
    
         
            +
            class StubController < ApplicationController
         
     | 
| 
      
 6 
     | 
    
         
            +
              def rescue_action(e) raise e end;
         
     | 
| 
      
 7 
     | 
    
         
            +
              attr_accessor :request, :url
         
     | 
| 
      
 8 
     | 
    
         
            +
            end
         
     | 
| 
      
 9 
     | 
    
         
            +
             
     | 
| 
      
 10 
     | 
    
         
            +
            class HelperTestCase < Test::Unit::TestCase
         
     | 
| 
      
 11 
     | 
    
         
            +
             
     | 
| 
      
 12 
     | 
    
         
            +
              # Add other helpers here if you need them
         
     | 
| 
      
 13 
     | 
    
         
            +
              include ActionView::Helpers::ActiveRecordHelper
         
     | 
| 
      
 14 
     | 
    
         
            +
              include ActionView::Helpers::TagHelper
         
     | 
| 
      
 15 
     | 
    
         
            +
              include ActionView::Helpers::FormTagHelper
         
     | 
| 
      
 16 
     | 
    
         
            +
              include ActionView::Helpers::FormOptionsHelper
         
     | 
| 
      
 17 
     | 
    
         
            +
              include ActionView::Helpers::FormHelper
         
     | 
| 
      
 18 
     | 
    
         
            +
              include ActionView::Helpers::UrlHelper
         
     | 
| 
      
 19 
     | 
    
         
            +
              include ActionView::Helpers::AssetTagHelper
         
     | 
| 
      
 20 
     | 
    
         
            +
              include ActionView::Helpers::PrototypeHelper
         
     | 
| 
      
 21 
     | 
    
         
            +
             
     | 
| 
      
 22 
     | 
    
         
            +
              def setup
         
     | 
| 
      
 23 
     | 
    
         
            +
                super
         
     | 
| 
      
 24 
     | 
    
         
            +
             
     | 
| 
      
 25 
     | 
    
         
            +
                @request    = ActionController::TestRequest.new
         
     | 
| 
      
 26 
     | 
    
         
            +
                @controller = StubController.new
         
     | 
| 
      
 27 
     | 
    
         
            +
                @controller.request = @request
         
     | 
| 
      
 28 
     | 
    
         
            +
             
     | 
| 
      
 29 
     | 
    
         
            +
                # Fake url rewriter so we can test url_for
         
     | 
| 
      
 30 
     | 
    
         
            +
                @controller.url = ActionController::UrlRewriter.new @request, {}
         
     | 
| 
      
 31 
     | 
    
         
            +
                
         
     | 
| 
      
 32 
     | 
    
         
            +
                ActionView::Helpers::AssetTagHelper::reset_javascript_include_default
         
     | 
| 
      
 33 
     | 
    
         
            +
              end
         
     | 
| 
      
 34 
     | 
    
         
            +
             
     | 
| 
      
 35 
     | 
    
         
            +
              def test_dummy
         
     | 
| 
      
 36 
     | 
    
         
            +
                # do nothing - required by test/unit
         
     | 
| 
      
 37 
     | 
    
         
            +
              end
         
     | 
| 
      
 38 
     | 
    
         
            +
            end
         
     | 
    
        metadata
    ADDED
    
    | 
         @@ -0,0 +1,176 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            --- !ruby/object:Gem::Specification 
         
     | 
| 
      
 2 
     | 
    
         
            +
            name: ryana-sortable_table
         
     | 
| 
      
 3 
     | 
    
         
            +
            version: !ruby/object:Gem::Version 
         
     | 
| 
      
 4 
     | 
    
         
            +
              version: 0.2.0
         
     | 
| 
      
 5 
     | 
    
         
            +
            platform: ruby
         
     | 
| 
      
 6 
     | 
    
         
            +
            authors: 
         
     | 
| 
      
 7 
     | 
    
         
            +
            - Dan Croak
         
     | 
| 
      
 8 
     | 
    
         
            +
            - Joe Ferris
         
     | 
| 
      
 9 
     | 
    
         
            +
            - Boston.rb
         
     | 
| 
      
 10 
     | 
    
         
            +
            autorequire: 
         
     | 
| 
      
 11 
     | 
    
         
            +
            bindir: bin
         
     | 
| 
      
 12 
     | 
    
         
            +
            cert_chain: []
         
     | 
| 
      
 13 
     | 
    
         
            +
             
     | 
| 
      
 14 
     | 
    
         
            +
            date: 2008-10-16 00:00:00 -07:00
         
     | 
| 
      
 15 
     | 
    
         
            +
            default_executable: 
         
     | 
| 
      
 16 
     | 
    
         
            +
            dependencies: []
         
     | 
| 
      
 17 
     | 
    
         
            +
             
     | 
| 
      
 18 
     | 
    
         
            +
            description: Sort HTML tables in a Rails app.
         
     | 
| 
      
 19 
     | 
    
         
            +
            email: dcroak@thoughtbot.com
         
     | 
| 
      
 20 
     | 
    
         
            +
            executables: []
         
     | 
| 
      
 21 
     | 
    
         
            +
             
     | 
| 
      
 22 
     | 
    
         
            +
            extensions: []
         
     | 
| 
      
 23 
     | 
    
         
            +
             
     | 
| 
      
 24 
     | 
    
         
            +
            extra_rdoc_files: []
         
     | 
| 
      
 25 
     | 
    
         
            +
             
     | 
| 
      
 26 
     | 
    
         
            +
            files: 
         
     | 
| 
      
 27 
     | 
    
         
            +
            - MIT-LICENSE
         
     | 
| 
      
 28 
     | 
    
         
            +
            - Rakefile
         
     | 
| 
      
 29 
     | 
    
         
            +
            - README.textile
         
     | 
| 
      
 30 
     | 
    
         
            +
            - VERSION.yml
         
     | 
| 
      
 31 
     | 
    
         
            +
            - lib/sortable_table
         
     | 
| 
      
 32 
     | 
    
         
            +
            - lib/sortable_table/app
         
     | 
| 
      
 33 
     | 
    
         
            +
            - lib/sortable_table/app/controllers
         
     | 
| 
      
 34 
     | 
    
         
            +
            - lib/sortable_table/app/controllers/application_controller.rb
         
     | 
| 
      
 35 
     | 
    
         
            +
            - lib/sortable_table/app/helpers
         
     | 
| 
      
 36 
     | 
    
         
            +
            - lib/sortable_table/app/helpers/application_helper.rb
         
     | 
| 
      
 37 
     | 
    
         
            +
            - lib/sortable_table/test
         
     | 
| 
      
 38 
     | 
    
         
            +
            - lib/sortable_table/test/test_helper.rb
         
     | 
| 
      
 39 
     | 
    
         
            +
            - lib/sortable_table.rb
         
     | 
| 
      
 40 
     | 
    
         
            +
            - rails/init.rb
         
     | 
| 
      
 41 
     | 
    
         
            +
            - test/rails_root
         
     | 
| 
      
 42 
     | 
    
         
            +
            - test/rails_root/app
         
     | 
| 
      
 43 
     | 
    
         
            +
            - test/rails_root/app/controllers
         
     | 
| 
      
 44 
     | 
    
         
            +
            - test/rails_root/app/controllers/application.rb
         
     | 
| 
      
 45 
     | 
    
         
            +
            - test/rails_root/app/controllers/users_controller.rb
         
     | 
| 
      
 46 
     | 
    
         
            +
            - test/rails_root/app/helpers
         
     | 
| 
      
 47 
     | 
    
         
            +
            - test/rails_root/app/helpers/application_helper.rb
         
     | 
| 
      
 48 
     | 
    
         
            +
            - test/rails_root/app/helpers/users_helper.rb
         
     | 
| 
      
 49 
     | 
    
         
            +
            - test/rails_root/app/models
         
     | 
| 
      
 50 
     | 
    
         
            +
            - test/rails_root/app/models/user.rb
         
     | 
| 
      
 51 
     | 
    
         
            +
            - test/rails_root/app/views
         
     | 
| 
      
 52 
     | 
    
         
            +
            - test/rails_root/app/views/layouts
         
     | 
| 
      
 53 
     | 
    
         
            +
            - test/rails_root/app/views/layouts/users.html.erb
         
     | 
| 
      
 54 
     | 
    
         
            +
            - test/rails_root/app/views/users
         
     | 
| 
      
 55 
     | 
    
         
            +
            - test/rails_root/app/views/users/index.html.erb
         
     | 
| 
      
 56 
     | 
    
         
            +
            - test/rails_root/config
         
     | 
| 
      
 57 
     | 
    
         
            +
            - test/rails_root/config/boot.rb
         
     | 
| 
      
 58 
     | 
    
         
            +
            - test/rails_root/config/database.yml
         
     | 
| 
      
 59 
     | 
    
         
            +
            - test/rails_root/config/environment.rb
         
     | 
| 
      
 60 
     | 
    
         
            +
            - test/rails_root/config/environments
         
     | 
| 
      
 61 
     | 
    
         
            +
            - test/rails_root/config/environments/development.rb
         
     | 
| 
      
 62 
     | 
    
         
            +
            - test/rails_root/config/environments/test.rb
         
     | 
| 
      
 63 
     | 
    
         
            +
            - test/rails_root/config/initializers
         
     | 
| 
      
 64 
     | 
    
         
            +
            - test/rails_root/config/initializers/new_rails_defaults.rb
         
     | 
| 
      
 65 
     | 
    
         
            +
            - test/rails_root/config/initializers/sortable_table.rb
         
     | 
| 
      
 66 
     | 
    
         
            +
            - test/rails_root/config/routes.rb
         
     | 
| 
      
 67 
     | 
    
         
            +
            - test/rails_root/db
         
     | 
| 
      
 68 
     | 
    
         
            +
            - test/rails_root/db/development.sqlite3
         
     | 
| 
      
 69 
     | 
    
         
            +
            - test/rails_root/db/migrate
         
     | 
| 
      
 70 
     | 
    
         
            +
            - test/rails_root/db/migrate/20080819225020_create_users.rb
         
     | 
| 
      
 71 
     | 
    
         
            +
            - test/rails_root/db/production.sqlite3
         
     | 
| 
      
 72 
     | 
    
         
            +
            - test/rails_root/db/schema.rb
         
     | 
| 
      
 73 
     | 
    
         
            +
            - test/rails_root/db/test.sqlite3
         
     | 
| 
      
 74 
     | 
    
         
            +
            - test/rails_root/log
         
     | 
| 
      
 75 
     | 
    
         
            +
            - test/rails_root/log/development.log
         
     | 
| 
      
 76 
     | 
    
         
            +
            - test/rails_root/log/production.log
         
     | 
| 
      
 77 
     | 
    
         
            +
            - test/rails_root/log/server.log
         
     | 
| 
      
 78 
     | 
    
         
            +
            - test/rails_root/log/test.log
         
     | 
| 
      
 79 
     | 
    
         
            +
            - test/rails_root/public
         
     | 
| 
      
 80 
     | 
    
         
            +
            - test/rails_root/public/404.html
         
     | 
| 
      
 81 
     | 
    
         
            +
            - test/rails_root/public/422.html
         
     | 
| 
      
 82 
     | 
    
         
            +
            - test/rails_root/public/500.html
         
     | 
| 
      
 83 
     | 
    
         
            +
            - test/rails_root/public/dispatch.cgi
         
     | 
| 
      
 84 
     | 
    
         
            +
            - test/rails_root/public/dispatch.fcgi
         
     | 
| 
      
 85 
     | 
    
         
            +
            - test/rails_root/public/dispatch.rb
         
     | 
| 
      
 86 
     | 
    
         
            +
            - test/rails_root/public/favicon.ico
         
     | 
| 
      
 87 
     | 
    
         
            +
            - test/rails_root/public/images
         
     | 
| 
      
 88 
     | 
    
         
            +
            - test/rails_root/public/images/rails.png
         
     | 
| 
      
 89 
     | 
    
         
            +
            - test/rails_root/public/images/sort-ascending-arrow.gif
         
     | 
| 
      
 90 
     | 
    
         
            +
            - test/rails_root/public/images/sort-descending-arrow.gif
         
     | 
| 
      
 91 
     | 
    
         
            +
            - test/rails_root/public/index.html
         
     | 
| 
      
 92 
     | 
    
         
            +
            - test/rails_root/public/javascripts
         
     | 
| 
      
 93 
     | 
    
         
            +
            - test/rails_root/public/javascripts/application.js
         
     | 
| 
      
 94 
     | 
    
         
            +
            - test/rails_root/public/javascripts/controls.js
         
     | 
| 
      
 95 
     | 
    
         
            +
            - test/rails_root/public/javascripts/dragdrop.js
         
     | 
| 
      
 96 
     | 
    
         
            +
            - test/rails_root/public/javascripts/effects.js
         
     | 
| 
      
 97 
     | 
    
         
            +
            - test/rails_root/public/javascripts/prototype.js
         
     | 
| 
      
 98 
     | 
    
         
            +
            - test/rails_root/public/robots.txt
         
     | 
| 
      
 99 
     | 
    
         
            +
            - test/rails_root/public/stylesheets
         
     | 
| 
      
 100 
     | 
    
         
            +
            - test/rails_root/public/stylesheets/scaffold.css
         
     | 
| 
      
 101 
     | 
    
         
            +
            - test/rails_root/public/stylesheets/sortable.css
         
     | 
| 
      
 102 
     | 
    
         
            +
            - test/rails_root/Rakefile
         
     | 
| 
      
 103 
     | 
    
         
            +
            - test/rails_root/script
         
     | 
| 
      
 104 
     | 
    
         
            +
            - test/rails_root/script/about
         
     | 
| 
      
 105 
     | 
    
         
            +
            - test/rails_root/script/console
         
     | 
| 
      
 106 
     | 
    
         
            +
            - test/rails_root/script/dbconsole
         
     | 
| 
      
 107 
     | 
    
         
            +
            - test/rails_root/script/destroy
         
     | 
| 
      
 108 
     | 
    
         
            +
            - test/rails_root/script/generate
         
     | 
| 
      
 109 
     | 
    
         
            +
            - test/rails_root/script/performance
         
     | 
| 
      
 110 
     | 
    
         
            +
            - test/rails_root/script/performance/benchmarker
         
     | 
| 
      
 111 
     | 
    
         
            +
            - test/rails_root/script/performance/profiler
         
     | 
| 
      
 112 
     | 
    
         
            +
            - test/rails_root/script/performance/request
         
     | 
| 
      
 113 
     | 
    
         
            +
            - test/rails_root/script/plugin
         
     | 
| 
      
 114 
     | 
    
         
            +
            - test/rails_root/script/process
         
     | 
| 
      
 115 
     | 
    
         
            +
            - test/rails_root/script/process/inspector
         
     | 
| 
      
 116 
     | 
    
         
            +
            - test/rails_root/script/process/reaper
         
     | 
| 
      
 117 
     | 
    
         
            +
            - test/rails_root/script/process/spawner
         
     | 
| 
      
 118 
     | 
    
         
            +
            - test/rails_root/script/runner
         
     | 
| 
      
 119 
     | 
    
         
            +
            - test/rails_root/script/server
         
     | 
| 
      
 120 
     | 
    
         
            +
            - test/rails_root/test
         
     | 
| 
      
 121 
     | 
    
         
            +
            - test/rails_root/test/factories
         
     | 
| 
      
 122 
     | 
    
         
            +
            - test/rails_root/test/factories/user_factory.rb
         
     | 
| 
      
 123 
     | 
    
         
            +
            - test/rails_root/test/functional
         
     | 
| 
      
 124 
     | 
    
         
            +
            - test/rails_root/test/functional/users_controller_test.rb
         
     | 
| 
      
 125 
     | 
    
         
            +
            - test/rails_root/test/helper_testcase.rb
         
     | 
| 
      
 126 
     | 
    
         
            +
            - test/rails_root/test/test_helper.rb
         
     | 
| 
      
 127 
     | 
    
         
            +
            - test/rails_root/test/unit
         
     | 
| 
      
 128 
     | 
    
         
            +
            - test/rails_root/test/unit/helpers
         
     | 
| 
      
 129 
     | 
    
         
            +
            - test/rails_root/test/unit/helpers/application_helper_test.rb
         
     | 
| 
      
 130 
     | 
    
         
            +
            - test/rails_root/test/units
         
     | 
| 
      
 131 
     | 
    
         
            +
            - test/rails_root/test/units/helpers
         
     | 
| 
      
 132 
     | 
    
         
            +
            - test/rails_root/tmp
         
     | 
| 
      
 133 
     | 
    
         
            +
            - test/rails_root/tmp/cache
         
     | 
| 
      
 134 
     | 
    
         
            +
            - test/rails_root/tmp/pids
         
     | 
| 
      
 135 
     | 
    
         
            +
            - test/rails_root/tmp/sessions
         
     | 
| 
      
 136 
     | 
    
         
            +
            - test/rails_root/tmp/sockets
         
     | 
| 
      
 137 
     | 
    
         
            +
            - test/rails_root/vendor
         
     | 
| 
      
 138 
     | 
    
         
            +
            - test/rails_root/vendor/plugins
         
     | 
| 
      
 139 
     | 
    
         
            +
            - test/rails_root/vendor/plugins/helper_test
         
     | 
| 
      
 140 
     | 
    
         
            +
            - test/rails_root/vendor/plugins/helper_test/about.yml
         
     | 
| 
      
 141 
     | 
    
         
            +
            - test/rails_root/vendor/plugins/helper_test/generators
         
     | 
| 
      
 142 
     | 
    
         
            +
            - test/rails_root/vendor/plugins/helper_test/generators/helper_test
         
     | 
| 
      
 143 
     | 
    
         
            +
            - test/rails_root/vendor/plugins/helper_test/generators/helper_test/helper_test_generator.rb
         
     | 
| 
      
 144 
     | 
    
         
            +
            - test/rails_root/vendor/plugins/helper_test/generators/helper_test/templates
         
     | 
| 
      
 145 
     | 
    
         
            +
            - test/rails_root/vendor/plugins/helper_test/generators/helper_test/templates/helper_test.rb
         
     | 
| 
      
 146 
     | 
    
         
            +
            - test/rails_root/vendor/plugins/helper_test/generators/helper_test/templates/helper_testcase.rb
         
     | 
| 
      
 147 
     | 
    
         
            +
            - test/rails_root/vendor/plugins/helper_test/MIT-LICENSE
         
     | 
| 
      
 148 
     | 
    
         
            +
            - test/rails_root/vendor/plugins/helper_test/README
         
     | 
| 
      
 149 
     | 
    
         
            +
            has_rdoc: false
         
     | 
| 
      
 150 
     | 
    
         
            +
            homepage: http://github.com/dancroak/sortable_table
         
     | 
| 
      
 151 
     | 
    
         
            +
            post_install_message: 
         
     | 
| 
      
 152 
     | 
    
         
            +
            rdoc_options: []
         
     | 
| 
      
 153 
     | 
    
         
            +
             
     | 
| 
      
 154 
     | 
    
         
            +
            require_paths: 
         
     | 
| 
      
 155 
     | 
    
         
            +
            - lib
         
     | 
| 
      
 156 
     | 
    
         
            +
            required_ruby_version: !ruby/object:Gem::Requirement 
         
     | 
| 
      
 157 
     | 
    
         
            +
              requirements: 
         
     | 
| 
      
 158 
     | 
    
         
            +
              - - ">="
         
     | 
| 
      
 159 
     | 
    
         
            +
                - !ruby/object:Gem::Version 
         
     | 
| 
      
 160 
     | 
    
         
            +
                  version: "0"
         
     | 
| 
      
 161 
     | 
    
         
            +
              version: 
         
     | 
| 
      
 162 
     | 
    
         
            +
            required_rubygems_version: !ruby/object:Gem::Requirement 
         
     | 
| 
      
 163 
     | 
    
         
            +
              requirements: 
         
     | 
| 
      
 164 
     | 
    
         
            +
              - - ">="
         
     | 
| 
      
 165 
     | 
    
         
            +
                - !ruby/object:Gem::Version 
         
     | 
| 
      
 166 
     | 
    
         
            +
                  version: "0"
         
     | 
| 
      
 167 
     | 
    
         
            +
              version: 
         
     | 
| 
      
 168 
     | 
    
         
            +
            requirements: []
         
     | 
| 
      
 169 
     | 
    
         
            +
             
     | 
| 
      
 170 
     | 
    
         
            +
            rubyforge_project: 
         
     | 
| 
      
 171 
     | 
    
         
            +
            rubygems_version: 1.2.0
         
     | 
| 
      
 172 
     | 
    
         
            +
            signing_key: 
         
     | 
| 
      
 173 
     | 
    
         
            +
            specification_version: 2
         
     | 
| 
      
 174 
     | 
    
         
            +
            summary: Sort HTML tables in a Rails app.
         
     | 
| 
      
 175 
     | 
    
         
            +
            test_files: []
         
     | 
| 
      
 176 
     | 
    
         
            +
             
     |