Sha256: 286fea16775052d1d759e12a9022e8aff5cc2db7434ed7aae19add667f809689

Contents?: true

Size: 766 Bytes

Versions: 80

Compression:

Stored size: 766 Bytes

Contents

# -*- encoding : utf-8 -*-
# lib/cul_hydra/engine.rb
require "cul_hydra"
require "rails"

module Cul::Hydra
  class Engine < ::Rails::Engine
  	isolate_namespace Cul::Hydra

    config.mount_at = '/'

    config.autoload_paths += %W(
      #{config.root}/app/controllers/concerns
      #{config.root}/app/models/concerns
    )

    config.generators do |g|
      g.test_framework :rspec
      g.integration_tool :rspec
    end

    # Make the rake tasks visible.
    rake_tasks do
      Dir.chdir(File.expand_path(File.join(File.dirname(__FILE__), '..'))) do
        Dir.glob(File.join('tasks', '*.rake')).each do |railtie|
          #load railtie # Commenting this out for now because we appear to be loading rake tasks twice
        end
      end
    end
  end
end

Version data entries

80 entries across 80 versions & 2 rubygems

Version Path
cul_hydra-1.0.6 lib/cul_hydra/engine.rb
cul_hydra-1.0.5 lib/cul_hydra/engine.rb
cul_hydra-1.0.4 lib/cul_hydra/engine.rb
cul_hydra-1.0.3 lib/cul_hydra/engine.rb
cul_hydra-1.0.2 lib/cul_hydra/engine.rb
cul_hydra-1.0.1 lib/cul_hydra/engine.rb
cul_hydra-1.0.0 lib/cul_hydra/engine.rb
cul_scv_hydra-0.22.9.10 lib/cul_hydra/engine.rb
cul_scv_hydra-0.22.9.9 lib/cul_hydra/engine.rb
cul_scv_hydra-0.22.9.8 lib/cul_hydra/engine.rb
cul_scv_hydra-0.22.9.7 lib/cul_hydra/engine.rb
cul_scv_hydra-0.22.9.6 lib/cul_hydra/engine.rb
cul_scv_hydra-0.22.9.5 lib/cul_hydra/engine.rb
cul_scv_hydra-0.22.9.4 lib/cul_hydra/engine.rb
cul_scv_hydra-0.22.9.3 lib/cul_hydra/engine.rb
cul_scv_hydra-0.22.9.2 lib/cul_hydra/engine.rb
cul_scv_hydra-0.22.9.1 lib/cul_hydra/engine.rb
cul_scv_hydra-0.22.9 lib/cul_hydra/engine.rb
cul_scv_hydra-0.22.8 lib/cul_hydra/engine.rb
cul_scv_hydra-0.22.7 lib/cul_hydra/engine.rb