aboutsummaryrefslogblamecommitdiffstats
path: root/lib/refinerycms-blog.rb
blob: 135b3e1e8cc9f4e68873d7ebafa34ef4f2422372 (plain) (tree)
1
2
3
4
5
6
7
8
9



                  
                      
                                                                  
 

               

                                              
 
                 

                         
                                                                    
         
 


                                      



                                                                                 
       
     
   

                                                 
require 'rubygems'
require 'bundler'
Bundler.require

require 'filters_spam'
require File.expand_path('../generators/blog_generator', __FILE__)

module Refinery
  module Blog
    autoload :Version, 'refinery/blog/version'
    autoload :Tab, 'refinery/blog/tabs'

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

      def version
        ::Refinery::Blog::Version.to_s
      end
      
      def factory_paths
        @factory_paths ||= [ File.expand_path("../../spec/factories", __FILE__) ]
      end
    end
  end
end

require 'refinery/blog/engine' if defined?(Rails)