<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>VERSION.yml</filename>
    </added>
    <added>
      <filename>lib/sortable_table.rb</filename>
    </added>
    <added>
      <filename>lib/sortable_table/app/controllers/application_controller.rb</filename>
    </added>
    <added>
      <filename>lib/sortable_table/app/helpers/application_helper.rb</filename>
    </added>
    <added>
      <filename>lib/sortable_table/test/test_helper.rb</filename>
    </added>
    <added>
      <filename>sortable_table.gemspec</filename>
    </added>
    <added>
      <filename>test/rails_root/config/initializers/sortable_table.rb</filename>
    </added>
    <added>
      <filename>test/rails_root/log/test.log</filename>
    </added>
    <added>
      <filename>test/rails_root/test/units/helpers/application_helper_test.rb</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -1,12 +1,31 @@
 require 'rake'
 require 'rake/testtask'
-
+require 'date'
+ 
 test_files_pattern = 'test/rails_root/test/{unit,functional,other}/**/*_test.rb'
 Rake::TestTask.new do |t|
   t.libs &lt;&lt; 'lib'
   t.pattern = test_files_pattern
   t.verbose = false
 end
-
+ 
 desc &quot;Run the test suite&quot;
 task :default =&gt; :test
+ 
+spec = Gem::Specification.new do |s|
+  s.name = &quot;sortable_table&quot;
+  s.summary = &quot;Sort HTML tables in a Rails app.&quot;
+  s.email = &quot;dcroak@thoughtbot.com&quot;
+  s.homepage = &quot;http://github.com/dancroak/sortable_table&quot;
+  s.description = &quot;Sort HTML tables in a Rails app.&quot;
+  s.authors = [&quot;Dan Croak&quot;, &quot;Joe Ferris&quot;, &quot;Boston.rb&quot;]
+  s.files = FileList[&quot;[A-Z]*&quot;, &quot;{lib,rails,test}/**/*&quot;]
+end
+ 
+begin
+  require 'rubygems'
+  require 'jeweler'
+  Jeweler.gemspec = spec
+rescue LoadError 
+  puts &quot;Jeweler not available. sudo gem install technicalpickles-jeweler --source=http://gems.github.com&quot;
+end</diff>
      <filename>Rakefile</filename>
    </modified>
    <modified>
      <diff>@@ -1,6 +1 @@
-require 'sortable_table/view'
-require 'sortable_table/controller'
-
-if defined?(Rails) &amp;&amp; Rails.env == 'test'
-  require 'sortable_table/test'
-end
+require &quot;sortable_table&quot;</diff>
      <filename>rails/init.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,15 +1,5 @@
-# Filters added to this controller apply to all controllers in the application.
-# Likewise, all the methods added will be available for all controllers.
-
 class ApplicationController &lt; ActionController::Base
-  helper :all # include all helpers, all the time
-
-  # See ActionController::RequestForgeryProtection for details
-  # Uncomment the :secret if you're not using the cookie session store
-  protect_from_forgery # :secret =&gt; '04d4f858fff1b309ff674f83745c9755'
-  
-  # See ActionController::Base for details 
-  # Uncomment this to filter the contents of submitted sensitive data parameters
-  # from your application log (in this case, all fields with names like &quot;password&quot;). 
-  # filter_parameter_logging :password
+  helper :all
+  protect_from_forgery
+  include SortableTable::App::Controllers::ApplicationController
 end</diff>
      <filename>test/rails_root/app/controllers/application.rb</filename>
    </modified>
    <modified>
      <diff>@@ -3,7 +3,7 @@ class UsersController &lt; ApplicationController
   sortable_attributes :name, :age, :email =&gt; 'users.email'
   
   def index
-    @users = User.find :all, :order =&gt; sort_order('ascending')
+    @users = User.find :all#, :order =&gt; sort_order('ascending')
   end
 
 end</diff>
      <filename>test/rails_root/app/controllers/users_controller.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,3 +1,3 @@
-# Methods added to this helper will be available to all templates in the application.
 module ApplicationHelper
+  include SortableTable::App::Helpers::ApplicationHelper
 end</diff>
      <filename>test/rails_root/app/helpers/application_helper.rb</filename>
    </modified>
    <modified>
      <diff>@@ -4,23 +4,29 @@ require 'test_help'
 require 'rubygems'
 
 gem 'mocha'
-gem 'quietbacktrace'
-gem 'thoughtbot-factory_girl' # from github
+gem 'thoughtbot-quietbacktrace'
+gem 'thoughtbot-shoulda'
+gem 'thoughtbot-factory_girl'
+gem 'redgreen'
+
 require 'mocha'
 require 'quietbacktrace'
-
+require 'shoulda'
 require 'factory_girl'
+require 'redgreen'
+
 Dir[File.join(RAILS_ROOT, 'test', 'factories', '*.rb')].each do |file|
   require file
 end
 
 class Test::Unit::TestCase
   
-  Test::Unit::TestCase.quiet_backtrace = false
   self.backtrace_silencers &lt;&lt; :rails_vendor
   self.backtrace_filters   &lt;&lt; :rails_root
   
   self.use_transactional_fixtures = true
   self.use_instantiated_fixtures  = false
 
+  include SortableTable::Test::TestHelper
+
 end</diff>
      <filename>test/rails_root/test/test_helper.rb</filename>
    </modified>
  </modified>
  <removed type="array">
    <removed>
      <filename>lib/sortable_table/controller.rb</filename>
    </removed>
    <removed>
      <filename>lib/sortable_table/test.rb</filename>
    </removed>
    <removed>
      <filename>lib/sortable_table/view.rb</filename>
    </removed>
    <removed>
      <filename>test/rails_root/vendor/plugins/shoulda/.autotest</filename>
    </removed>
    <removed>
      <filename>test/rails_root/vendor/plugins/shoulda/.gitignore</filename>
    </removed>
    <removed>
      <filename>test/rails_root/vendor/plugins/shoulda/CONTRIBUTION_GUIDELINES.rdoc</filename>
    </removed>
    <removed>
      <filename>test/rails_root/vendor/plugins/shoulda/MIT-LICENSE</filename>
    </removed>
    <removed>
      <filename>test/rails_root/vendor/plugins/shoulda/README.rdoc</filename>
    </removed>
    <removed>
      <filename>test/rails_root/vendor/plugins/shoulda/Rakefile</filename>
    </removed>
    <removed>
      <filename>test/rails_root/vendor/plugins/shoulda/bin/convert_to_should_syntax</filename>
    </removed>
    <removed>
      <filename>test/rails_root/vendor/plugins/shoulda/init.rb</filename>
    </removed>
    <removed>
      <filename>test/rails_root/vendor/plugins/shoulda/lib/shoulda.rb</filename>
    </removed>
    <removed>
      <filename>test/rails_root/vendor/plugins/shoulda/lib/shoulda/active_record_helpers.rb</filename>
    </removed>
    <removed>
      <filename>test/rails_root/vendor/plugins/shoulda/lib/shoulda/color.rb</filename>
    </removed>
    <removed>
      <filename>test/rails_root/vendor/plugins/shoulda/lib/shoulda/controller_tests/controller_tests.rb</filename>
    </removed>
    <removed>
      <filename>test/rails_root/vendor/plugins/shoulda/lib/shoulda/controller_tests/formats/html.rb</filename>
    </removed>
    <removed>
      <filename>test/rails_root/vendor/plugins/shoulda/lib/shoulda/controller_tests/formats/xml.rb</filename>
    </removed>
    <removed>
      <filename>test/rails_root/vendor/plugins/shoulda/lib/shoulda/gem/proc_extensions.rb</filename>
    </removed>
    <removed>
      <filename>test/rails_root/vendor/plugins/shoulda/lib/shoulda/gem/shoulda.rb</filename>
    </removed>
    <removed>
      <filename>test/rails_root/vendor/plugins/shoulda/lib/shoulda/general.rb</filename>
    </removed>
    <removed>
      <filename>test/rails_root/vendor/plugins/shoulda/lib/shoulda/private_helpers.rb</filename>
    </removed>
    <removed>
      <filename>test/rails_root/vendor/plugins/shoulda/tasks/list_tests.rake</filename>
    </removed>
    <removed>
      <filename>test/rails_root/vendor/plugins/shoulda/tasks/yaml_to_shoulda.rake</filename>
    </removed>
    <removed>
      <filename>test/rails_root/vendor/plugins/shoulda/test/README</filename>
    </removed>
    <removed>
      <filename>test/rails_root/vendor/plugins/shoulda/test/fixtures/addresses.yml</filename>
    </removed>
    <removed>
      <filename>test/rails_root/vendor/plugins/shoulda/test/fixtures/posts.yml</filename>
    </removed>
    <removed>
      <filename>test/rails_root/vendor/plugins/shoulda/test/fixtures/products.yml</filename>
    </removed>
    <removed>
      <filename>test/rails_root/vendor/plugins/shoulda/test/fixtures/taggings.yml</filename>
    </removed>
    <removed>
      <filename>test/rails_root/vendor/plugins/shoulda/test/fixtures/tags.yml</filename>
    </removed>
    <removed>
      <filename>test/rails_root/vendor/plugins/shoulda/test/fixtures/users.yml</filename>
    </removed>
    <removed>
      <filename>test/rails_root/vendor/plugins/shoulda/test/functional/posts_controller_test.rb</filename>
    </removed>
    <removed>
      <filename>test/rails_root/vendor/plugins/shoulda/test/functional/users_controller_test.rb</filename>
    </removed>
    <removed>
      <filename>test/rails_root/vendor/plugins/shoulda/test/other/context_test.rb</filename>
    </removed>
    <removed>
      <filename>test/rails_root/vendor/plugins/shoulda/test/other/convert_to_should_syntax_test.rb</filename>
    </removed>
    <removed>
      <filename>test/rails_root/vendor/plugins/shoulda/test/other/helpers_test.rb</filename>
    </removed>
    <removed>
      <filename>test/rails_root/vendor/plugins/shoulda/test/other/private_helpers_test.rb</filename>
    </removed>
    <removed>
      <filename>test/rails_root/vendor/plugins/shoulda/test/other/should_test.rb</filename>
    </removed>
    <removed>
      <filename>test/rails_root/vendor/plugins/shoulda/test/rails_root/app/controllers/application.rb</filename>
    </removed>
    <removed>
      <filename>test/rails_root/vendor/plugins/shoulda/test/rails_root/app/controllers/posts_controller.rb</filename>
    </removed>
    <removed>
      <filename>test/rails_root/vendor/plugins/shoulda/test/rails_root/app/controllers/users_controller.rb</filename>
    </removed>
    <removed>
      <filename>test/rails_root/vendor/plugins/shoulda/test/rails_root/app/helpers/application_helper.rb</filename>
    </removed>
    <removed>
      <filename>test/rails_root/vendor/plugins/shoulda/test/rails_root/app/helpers/posts_helper.rb</filename>
    </removed>
    <removed>
      <filename>test/rails_root/vendor/plugins/shoulda/test/rails_root/app/helpers/users_helper.rb</filename>
    </removed>
    <removed>
      <filename>test/rails_root/vendor/plugins/shoulda/test/rails_root/app/models/address.rb</filename>
    </removed>
    <removed>
      <filename>test/rails_root/vendor/plugins/shoulda/test/rails_root/app/models/dog.rb</filename>
    </removed>
    <removed>
      <filename>test/rails_root/vendor/plugins/shoulda/test/rails_root/app/models/flea.rb</filename>
    </removed>
    <removed>
      <filename>test/rails_root/vendor/plugins/shoulda/test/rails_root/app/models/post.rb</filename>
    </removed>
    <removed>
      <filename>test/rails_root/vendor/plugins/shoulda/test/rails_root/app/models/product.rb</filename>
    </removed>
    <removed>
      <filename>test/rails_root/vendor/plugins/shoulda/test/rails_root/app/models/tag.rb</filename>
    </removed>
    <removed>
      <filename>test/rails_root/vendor/plugins/shoulda/test/rails_root/app/models/tagging.rb</filename>
    </removed>
    <removed>
      <filename>test/rails_root/vendor/plugins/shoulda/test/rails_root/app/models/user.rb</filename>
    </removed>
    <removed>
      <filename>test/rails_root/vendor/plugins/shoulda/test/rails_root/app/views/layouts/posts.rhtml</filename>
    </removed>
    <removed>
      <filename>test/rails_root/vendor/plugins/shoulda/test/rails_root/app/views/layouts/users.rhtml</filename>
    </removed>
    <removed>
      <filename>test/rails_root/vendor/plugins/shoulda/test/rails_root/app/views/posts/edit.rhtml</filename>
    </removed>
    <removed>
      <filename>test/rails_root/vendor/plugins/shoulda/test/rails_root/app/views/posts/index.rhtml</filename>
    </removed>
    <removed>
      <filename>test/rails_root/vendor/plugins/shoulda/test/rails_root/app/views/posts/new.rhtml</filename>
    </removed>
    <removed>
      <filename>test/rails_root/vendor/plugins/shoulda/test/rails_root/app/views/posts/show.rhtml</filename>
    </removed>
    <removed>
      <filename>test/rails_root/vendor/plugins/shoulda/test/rails_root/app/views/users/edit.rhtml</filename>
    </removed>
    <removed>
      <filename>test/rails_root/vendor/plugins/shoulda/test/rails_root/app/views/users/index.rhtml</filename>
    </removed>
    <removed>
      <filename>test/rails_root/vendor/plugins/shoulda/test/rails_root/app/views/users/new.rhtml</filename>
    </removed>
    <removed>
      <filename>test/rails_root/vendor/plugins/shoulda/test/rails_root/app/views/users/show.rhtml</filename>
    </removed>
    <removed>
      <filename>test/rails_root/vendor/plugins/shoulda/test/rails_root/config/boot.rb</filename>
    </removed>
    <removed>
      <filename>test/rails_root/vendor/plugins/shoulda/test/rails_root/config/database.yml</filename>
    </removed>
    <removed>
      <filename>test/rails_root/vendor/plugins/shoulda/test/rails_root/config/environment.rb</filename>
    </removed>
    <removed>
      <filename>test/rails_root/vendor/plugins/shoulda/test/rails_root/config/environments/sqlite3.rb</filename>
    </removed>
    <removed>
      <filename>test/rails_root/vendor/plugins/shoulda/test/rails_root/config/initializers/new_rails_defaults.rb</filename>
    </removed>
    <removed>
      <filename>test/rails_root/vendor/plugins/shoulda/test/rails_root/config/initializers/shoulda.rb</filename>
    </removed>
    <removed>
      <filename>test/rails_root/vendor/plugins/shoulda/test/rails_root/config/routes.rb</filename>
    </removed>
    <removed>
      <filename>test/rails_root/vendor/plugins/shoulda/test/rails_root/db/migrate/001_create_users.rb</filename>
    </removed>
    <removed>
      <filename>test/rails_root/vendor/plugins/shoulda/test/rails_root/db/migrate/002_create_posts.rb</filename>
    </removed>
    <removed>
      <filename>test/rails_root/vendor/plugins/shoulda/test/rails_root/db/migrate/003_create_taggings.rb</filename>
    </removed>
    <removed>
      <filename>test/rails_root/vendor/plugins/shoulda/test/rails_root/db/migrate/004_create_tags.rb</filename>
    </removed>
    <removed>
      <filename>test/rails_root/vendor/plugins/shoulda/test/rails_root/db/migrate/005_create_dogs.rb</filename>
    </removed>
    <removed>
      <filename>test/rails_root/vendor/plugins/shoulda/test/rails_root/db/migrate/006_create_addresses.rb</filename>
    </removed>
    <removed>
      <filename>test/rails_root/vendor/plugins/shoulda/test/rails_root/db/migrate/007_create_fleas.rb</filename>
    </removed>
    <removed>
      <filename>test/rails_root/vendor/plugins/shoulda/test/rails_root/db/migrate/008_create_dogs_fleas.rb</filename>
    </removed>
    <removed>
      <filename>test/rails_root/vendor/plugins/shoulda/test/rails_root/db/migrate/009_create_products.rb</filename>
    </removed>
    <removed>
      <filename>test/rails_root/vendor/plugins/shoulda/test/rails_root/db/schema.rb</filename>
    </removed>
    <removed>
      <filename>test/rails_root/vendor/plugins/shoulda/test/rails_root/log/.keep</filename>
    </removed>
    <removed>
      <filename>test/rails_root/vendor/plugins/shoulda/test/rails_root/public/.htaccess</filename>
    </removed>
    <removed>
      <filename>test/rails_root/vendor/plugins/shoulda/test/rails_root/public/404.html</filename>
    </removed>
    <removed>
      <filename>test/rails_root/vendor/plugins/shoulda/test/rails_root/public/422.html</filename>
    </removed>
    <removed>
      <filename>test/rails_root/vendor/plugins/shoulda/test/rails_root/public/500.html</filename>
    </removed>
    <removed>
      <filename>test/rails_root/vendor/plugins/shoulda/test/rails_root/script/console</filename>
    </removed>
    <removed>
      <filename>test/rails_root/vendor/plugins/shoulda/test/rails_root/script/generate</filename>
    </removed>
    <removed>
      <filename>test/rails_root/vendor/plugins/shoulda/test/rails_root/vendor/plugins/.keep</filename>
    </removed>
    <removed>
      <filename>test/rails_root/vendor/plugins/shoulda/test/test_helper.rb</filename>
    </removed>
    <removed>
      <filename>test/rails_root/vendor/plugins/shoulda/test/unit/address_test.rb</filename>
    </removed>
    <removed>
      <filename>test/rails_root/vendor/plugins/shoulda/test/unit/dog_test.rb</filename>
    </removed>
    <removed>
      <filename>test/rails_root/vendor/plugins/shoulda/test/unit/flea_test.rb</filename>
    </removed>
    <removed>
      <filename>test/rails_root/vendor/plugins/shoulda/test/unit/post_test.rb</filename>
    </removed>
    <removed>
      <filename>test/rails_root/vendor/plugins/shoulda/test/unit/product_test.rb</filename>
    </removed>
    <removed>
      <filename>test/rails_root/vendor/plugins/shoulda/test/unit/tag_test.rb</filename>
    </removed>
    <removed>
      <filename>test/rails_root/vendor/plugins/shoulda/test/unit/tagging_test.rb</filename>
    </removed>
    <removed>
      <filename>test/rails_root/vendor/plugins/shoulda/test/unit/user_test.rb</filename>
    </removed>
    <removed>
      <filename>test/rails_root/vendor/plugins/sortable/init.rb</filename>
    </removed>
  </removed>
  <parents type="array">
    <parent>
      <id>fe2d77fa4047534264cdca1847ff8e37b3abec62</id>
    </parent>
  </parents>
  <author>
    <name>Dan Croak</name>
    <email>dcroak@thoughtbot.com</email>
  </author>
  <url>http://github.com/thoughtbot/sortable_table/commit/c3b0410b89d8a3d8a0e6127b664049079996cdc3</url>
  <id>c3b0410b89d8a3d8a0e6127b664049079996cdc3</id>
  <committed-date>2008-10-16T11:58:04-07:00</committed-date>
  <authored-date>2008-10-16T11:58:04-07:00</authored-date>
  <message>refactoring</message>
  <tree>90a20319401acdf7c4602df71ee46ecc1c34fdcc</tree>
  <committer>
    <name>Dan Croak</name>
    <email>dcroak@thoughtbot.com</email>
  </committer>
</commit>
