Skip to content

Commit

Permalink
trash the now unnecessary "Finders" namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
mislav committed Jul 28, 2011
1 parent 05a8dfc commit 1fc2f10
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 207 deletions.
12 changes: 2 additions & 10 deletions lib/will_paginate.rb
@@ -1,12 +1,4 @@
require 'will_paginate/deprecation'

# = You *will* paginate!
#
# First read about WillPaginate::Finders::Base, then see
# WillPaginate::ViewHelpers. The magical array you're handling in-between is
# WillPaginate::Collection.
#
# Happy paginating!
# You will paginate!
module WillPaginate
end

Expand All @@ -18,6 +10,6 @@ module WillPaginate
require 'will_paginate/view_helpers/merb'
# auto-load the right ORM adapter
if adapter = { :datamapper => 'data_mapper', :activerecord => 'active_record', :sequel => 'sequel' }[Merb.orm]
require "will_paginate/finders/#{adapter}"
require "will_paginate/#{adapter}"
end
end
9 changes: 0 additions & 9 deletions lib/will_paginate/finders.rb

This file was deleted.

112 changes: 0 additions & 112 deletions lib/will_paginate/finders/base.rb

This file was deleted.

76 changes: 0 additions & 76 deletions spec/finders_spec.rb

This file was deleted.

0 comments on commit 1fc2f10

Please sign in to comment.