Sha256: 9530d83dff896393451a7deffb8a49facec006e74e386ac23d152e8974b0fd77

Contents?: true

Size: 695 Bytes

Versions: 3

Compression:

Stored size: 695 Bytes

Contents

require 'liquid-rails/version'
require 'liquid'
require 'liquid-rails/liquid_monkey_patch'
require 'kaminari'
require 'active_support/concern'

module Liquid
  module Rails
    autoload :TemplateHandler,  'liquid-rails/template_handler'
    autoload :FileSystem,       'liquid-rails/file_system'

    autoload :Drop,             'liquid-rails/drops/drop'
    autoload :CollectionDrop,   'liquid-rails/drops/collection_drop'

    def self.setup_drop(base)
      base.class_eval do
        include Liquid::Rails::Droppable
      end
    end
  end
end

require 'liquid-rails/railtie' if defined?(Rails)
Dir[File.dirname(__FILE__) + '/liquid-rails/{filters,tags,drops}/*.rb'].each { |f| require f }

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
liquid4-rails5-0.3.0 lib/liquid-rails.rb
liquid4-rails5-0.2.1 lib/liquid-rails.rb
liquid4-rails5-0.1.5 lib/liquid-rails.rb