Sha256: 5e407490d394ec1f179654cd42e212c30bdb9ea1cac5b3d9c5d0b1fd466c8054
Contents?: true
Size: 1.37 KB
Versions: 10
Compression:
Stored size: 1.37 KB
Contents
module OptimacmsBackups class Engine < ::Rails::Engine isolate_namespace OptimacmsBackups config.watchable_dirs['lib'] = [:rb] if Rails.env.development? #config.watchable_dirs['app/helpers'] = [:rb] if Rails.env.development? #config.autoload_paths << File.expand_path("../lib/some/path", __FILE__) #config.autoload_paths << File.expand_path("../lib/optimacms/path", __FILE__) # config.autoload_paths += Dir["#{OptimacmsBackups::Engine.root}/app/helpers/"] # config.autoload_paths += Dir["#{OptimacmsBackups::Engine.root}/app/helpers/**/"] config.autoload_paths += Dir["#{OptimacmsBackups::Engine.root}/lib/"] config.autoload_paths += Dir["#{OptimacmsBackups::Engine.root}/lib/**/"] #config.autoload_paths += Dir["#{Optimacms::Engine.root}/lib/concerns/"] #config.autoload_paths += Dir["#{Optimacms::Engine.root}/lib/concerns/**/"] config.autoload_paths += Dir["#{OptimacmsBackups::Engine.root}/lib/optimacms_backups/"] config.autoload_paths += Dir["#{OptimacmsBackups::Engine.root}/lib/optimacms_backups/**/"] #config.autoload_paths += Dir["#{config.root}/lib/**/"] #config.autoload_paths += Dir["#{config.root}/lib/"] #config.autoload_paths += Dir["#{config.root}/lib/**/*.rb"] config.generators do |g| g.test_framework :rspec g.fixture_replacement :factory_girl, :dir => 'spec/factories' end end end
Version data entries
10 entries across 10 versions & 1 rubygems