Sha256: 3f7622fc49b86960ce3735e0cf2ecb34354c5a8df46481b319d15b295c36b1ce

Contents?: true

Size: 440 Bytes

Versions: 5

Compression:

Stored size: 440 Bytes

Contents

require 'refinerycms-core'

module Refinery
  autoload :PodsGenerator, 'generators/refinery/pods_generator'

  module Pods
    require 'refinery/pods/engine'

    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-pods-2.1.1 lib/refinery/pods.rb
refinerycms-pods-2.1.0 lib/refinery/pods.rb
refinerycms-pods-2.0.3 lib/refinery/pods.rb
refinerycms-pods-2.0.2 lib/refinery/pods.rb
refinerycms-pods-2.0.1 lib/refinery/pods.rb