lib/plucky.rb in plucky-0.4.1 vs lib/plucky.rb in plucky-0.4.2
- old
+ new
@@ -1,19 +1,15 @@
# encoding: UTF-8
require 'set'
require 'mongo'
require 'plucky/extensions'
+require 'plucky/criteria_hash'
+require 'plucky/options_hash'
+require 'plucky/query'
+require 'plucky/pagination'
module Plucky
- autoload :CriteriaHash, 'plucky/criteria_hash'
- autoload :OptionsHash, 'plucky/options_hash'
- autoload :Query, 'plucky/query'
- autoload :Version, 'plucky/version'
-
- module Pagination
- autoload :Decorator, 'plucky/pagination/decorator'
- autoload :Paginator, 'plucky/pagination/paginator'
- end
+ autoload :Version, 'plucky/version'
# Array of methods that actually perform queries
Methods = [
:where, :filter, :limit, :skip, :offset, :sort, :order,
:fields, :ignore, :only,