Sha256: 34ff618fa20e74c35143e5b9162f16d9a35eff962e2d47c7a322d8f61c52ab8c

Contents?: true

Size: 479 Bytes

Versions: 5

Compression:

Stored size: 479 Bytes

Contents

require 'refinerycms-core'

module Refinery
  autoload :SettingsGenerator, 'generators/refinery/settings_generator'

  module Settings

    require 'refinery/settings/engine'
    require 'refinery/settings/configuration'

    class << self
      attr_writer :root

      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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
refinerycms-settings-4.0.1 lib/refinery/settings.rb
refinerycms-settings-4.0.0 lib/refinery/settings.rb
refinerycms-settings-3.0.0 lib/refinery/settings.rb
refinerycms-settings-2.1.1 lib/refinery/settings.rb
refinerycms-settings-2.1.0 lib/refinery/settings.rb