Sha256: ae5870a0d88146d2c4c48ce3dc0847ff486c5183dfd295ab9b060ebb7d8302fd

Contents?: true

Size: 494 Bytes

Versions: 3

Compression:

Stored size: 494 Bytes

Contents

require 'i18n'

I18n.load_path << File.join(File.dirname(__FILE__), 'config', 'locales', 'en.yml')

require 'mongoid'
require 'mongoid/scroll/version'
require 'mongoid/scroll/mongoid'
require 'mongoid/scroll/errors'
require 'mongoid/scroll/cursor'

require 'moped/scrollable' if Object.const_defined?(:Moped)
require 'mongoid/criterion/scrollable'

Moped::Query.send(:include, Moped::Scrollable) if Object.const_defined?(:Moped)
Mongoid::Criteria.send(:include, Mongoid::Criterion::Scrollable)

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
mongoid-scroll-0.3.3 lib/mongoid-scroll.rb
mongoid-scroll-0.3.2 lib/mongoid-scroll.rb
mongoid-scroll-0.3.1 lib/mongoid-scroll.rb