lib/disco.rb in disco-0.3.2 vs lib/disco.rb in disco-0.4.0

- old
+ new

@@ -1,25 +1,25 @@ # dependencies require "libmf" require "numo/narray" # modules -require "disco/data" -require "disco/metrics" -require "disco/recommender" -require "disco/version" +require_relative "disco/data" +require_relative "disco/metrics" +require_relative "disco/recommender" +require_relative "disco/version" # integrations -require "disco/engine" if defined?(Rails) +require_relative "disco/engine" if defined?(Rails) module Disco class Error < StandardError; end extend Data end if defined?(ActiveSupport.on_load) ActiveSupport.on_load(:active_record) do - require "disco/model" + require_relative "disco/model" extend Disco::Model end end