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.11.2 lib/cul_hydra/engine.rb
cul_hydra-1.11.1 lib/cul_hydra/engine.rb
cul_hydra-1.11.0 lib/cul_hydra/engine.rb
cul_hydra-1.10.0 lib/cul_hydra/engine.rb
cul_hydra-1.9.6 lib/cul_hydra/engine.rb
cul_hydra-1.9.5 lib/cul_hydra/engine.rb
cul_hydra-1.9.4 lib/cul_hydra/engine.rb
cul_hydra-1.9.3 lib/cul_hydra/engine.rb
cul_hydra-1.9.2 lib/cul_hydra/engine.rb
cul_hydra-1.9.1 lib/cul_hydra/engine.rb
cul_hydra-1.9.0 lib/cul_hydra/engine.rb
cul_hydra-1.8.0 lib/cul_hydra/engine.rb
cul_hydra-1.7.6 lib/cul_hydra/engine.rb
cul_hydra-1.7.5 lib/cul_hydra/engine.rb
cul_hydra-1.7.4 lib/cul_hydra/engine.rb
cul_hydra-1.7.3 lib/cul_hydra/engine.rb
cul_hydra-1.7.2 lib/cul_hydra/engine.rb
cul_hydra-1.7.1 lib/cul_hydra/engine.rb
cul_hydra-1.7.0 lib/cul_hydra/engine.rb
cul_hydra-1.6.4 lib/cul_hydra/engine.rb