Sha256: cee0ee89fc6ffcc6d1d1506b2e0f3e7a08e7b3dab84fd085824b3169695ded5a

Contents?: true

Size: 670 Bytes

Versions: 9

Compression:

Stored size: 670 Bytes

Contents

require 'refinerycms-core'
require 'dragonfly'

module Refinery
  autoload :ResourcesGenerator, 'generators/refinery/resources/resources_generator'

  module Resources
    require 'refinery/resources/engine'
    require 'refinery/resources/configuration'

    autoload :Dragonfly, 'refinery/resources/dragonfly'
    autoload :Validators, 'refinery/resources/validators'

    class << self
      def root
        @root ||= Pathname.new(File.expand_path('../../../', __FILE__))
      end

      def factory_paths
        @factory_paths ||= [ root.join("spec/factories").to_s ]
      end
    end
  end
end

ActiveSupport.on_load(:active_record) do
  require 'globalize'
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
refinerycms-resources-4.0.1 lib/refinery/resources.rb
refinerycms-resources-3.0.6 lib/refinery/resources.rb
refinerycms-resources-4.0.0 lib/refinery/resources.rb
refinerycms-resources-3.0.5 lib/refinery/resources.rb
refinerycms-resources-3.0.4 lib/refinery/resources.rb
refinerycms-resources-3.0.3 lib/refinery/resources.rb
refinerycms-resources-3.0.2 lib/refinery/resources.rb
refinerycms-resources-3.0.1 lib/refinery/resources.rb
refinerycms-resources-3.0.0 lib/refinery/resources.rb