Sha256: 0cb853ab20a5af68fc3e48e04db2d53cce0cb24a5ab6b969e02b2001f9d4380e

Contents?: true

Size: 886 Bytes

Versions: 9

Compression:

Stored size: 886 Bytes

Contents

# frozen_string_literal: true

# Load core library
require_relative "active_record"

# Load integration dependency
require "rails"
require "ar_lazy_preload"

# Library integration
require_relative "ar_lazy_preload/loadable"
require_relative "ar_lazy_preload/context_adapter"
require_relative "ar_lazy_preload/associated_context_builder"
require_relative "ar_lazy_preload/loader_collection_patch"
require_relative "ar_lazy_preload/preloader_patch"
require_relative "ar_lazy_preload/loader_patch"
require_relative "ar_lazy_preload/loader"
require_relative "ar_lazy_preload/context"

N1Loader::Loadable::ClassMethods.prepend(N1Loader::ArLazyPreload::Loadable::ClassMethods)
N1Loader::Preloader.prepend(N1Loader::ArLazyPreload::PreloaderPatch)
N1Loader::Loader.prepend(N1Loader::ArLazyPreload::LoaderPatch)
N1Loader::LoaderCollection.prepend(N1Loader::ArLazyPreload::LoaderCollectionPatch)

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
n1_loader-1.7.1 lib/n1_loader/ar_lazy_preload.rb
n1_loader-1.7.0 lib/n1_loader/ar_lazy_preload.rb
n1_loader-1.6.6 lib/n1_loader/ar_lazy_preload.rb
n1_loader-1.6.5 lib/n1_loader/ar_lazy_preload.rb
n1_loader-1.6.4 lib/n1_loader/ar_lazy_preload.rb
n1_loader-1.6.3 lib/n1_loader/ar_lazy_preload.rb
n1_loader-1.6.2 lib/n1_loader/ar_lazy_preload.rb
n1_loader-1.6.1 lib/n1_loader/ar_lazy_preload.rb
n1_loader-1.6.0 lib/n1_loader/ar_lazy_preload.rb