lib/exlibris-aleph.rb in exlibris-aleph-0.1.6 vs lib/exlibris-aleph.rb in exlibris-aleph-1.0.0

- old
+ new

@@ -1,21 +1,8 @@ -PATH = File.dirname(__FILE__) + "/exlibris/aleph/" -[ - 'config/config_base', - 'config/config_by_sub_library', - 'config/pc_tab_exp_field_extended', - 'config/tab15_by_item_process_status', - 'config/tab15_by_item_status', - 'config/tab31', - 'config/tab37', - 'config/tab40', - 'config/tab_sub_library', - 'config/tab_www_item_desc', - 'tab_helper', - 'rest', - 'record', - 'patron', - 'bor_auth' -].each do |library| - require PATH + library -end -require PATH + 'railtie' if defined?(Rails) +# Leverage ActiveSupport core extensions +require 'active_support/core_ext' +require 'active_support/builder' +require 'marc' +require "require_all" +require_all "#{File.dirname(__FILE__)}/exlibris/" +# Install tasks +Exlibris::Aleph::TaskInstaller.install_tasks \ No newline at end of file