Sha256: cc03b3b9c6e9cf2f5bc0b49043cad564c2166f223d4561910c699c3ad200dfe5

Contents?: true

Size: 683 Bytes

Versions: 29

Compression:

Stored size: 683 Bytes

Contents

# You will paginate!
module WillPaginate
end

if defined?(Rails::Railtie)
  require 'will_paginate/railtie'
elsif defined?(Rails::Initializer)
  raise "will_paginate 3.0 is not compatible with Rails 2.3 or older"
end

if defined?(Merb::AbstractController)
  require 'will_paginate/view_helpers/merb'

  Merb::BootLoader.before_app_loads do
    adapters = { :datamapper => 'data_mapper', :activerecord => 'active_record', :sequel => 'sequel' }
    # auto-load the right ORM adapter
    if adapter = adapters[Merb.orm]
      require "will_paginate/#{adapter}"
    end
  end
end

if defined?(Sinatra) and Sinatra.respond_to? :register
  require 'will_paginate/view_helpers/sinatra'
end

Version data entries

29 entries across 29 versions & 4 rubygems

Version Path
will_paginate-3.3.1 lib/will_paginate.rb
will_paginate-3.3.0 lib/will_paginate.rb
will_paginate-3.2.1 lib/will_paginate.rb
will_paginate-3.2.0 lib/will_paginate.rb
will_paginate-3.1.8 lib/will_paginate.rb
will_paginate-3.1.7 lib/will_paginate.rb
will_paginate-3.1.6 lib/will_paginate.rb
will_paginate-3.0.12 lib/will_paginate.rb
will_paginate-3.1.5 lib/will_paginate.rb
will_paginate-3.0.11 lib/will_paginate.rb
will_paginate-3.1.3 lib/will_paginate.rb
will_paginate-3.0.10 lib/will_paginate.rb
will_paginate-3.0.9 lib/will_paginate.rb
will_paginate-3.1.2 lib/will_paginate.rb
will_paginate-3.1.1 lib/will_paginate.rb
will_paginate-3.0.8 lib/will_paginate.rb
will_paginate-3.1.0 lib/will_paginate.rb
will_paginate_seo-3.0.4 lib/will_paginate.rb
will_paginate-3.0.7 lib/will_paginate.rb
will_paginate-3.0.6 lib/will_paginate.rb