lib/pose.rb in pose-3.0.0 vs lib/pose.rb in pose-3.1.1

- old
+ new

@@ -1,11 +1,17 @@ -require "pose/engine" +require 'active_record' require 'pose/query' require 'pose/search' require 'pose/static_api' -require 'pose/helpers' require 'pose/activerecord_base_additions' require 'pose/model_class_additions' -require 'pose/railtie' if defined? Rails +require 'pose/assignment' +require 'pose/word' +require 'pose/jobs/reindex_all' +require 'pose/jobs/remove' +require 'pose/jobs/vacuum' +require 'pose/jobs/install' +require 'pose/jobs/uninstall' -module Pose -end +Dir[File.join(File.dirname(__FILE__), "tasks/**/*.rake")].each { |ext| load ext } if defined? Rake + +ActiveRecord::Base.send :extend, Pose::ActiveRecordBaseAdditions