Sha256: 560f8eff88db74fe54c25fc737178901064fba46f9987779dc8fa1e75d143c1c

Contents?: true

Size: 375 Bytes

Versions: 16

Compression:

Stored size: 375 Bytes

Contents

module Marty
  class Engine < ::Rails::Engine
    isolate_namespace Marty

    # eager load paths instead of autoload paths
    config.eager_load_paths += ['lib', 'other'].map do |dir|
      File.expand_path("../../../#{dir}", __FILE__)
    end

    # generators add rspec tests
    config.generators do |g|
      g.test_framework :rspec, view_specs: false
    end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
marty-5.2.0 lib/marty/engine.rb
marty-5.1.4 lib/marty/engine.rb
marty-5.1.3 lib/marty/engine.rb
marty-5.1.2 lib/marty/engine.rb
marty-5.1.1 lib/marty/engine.rb
marty-5.1.0 lib/marty/engine.rb
marty-3.1.0 lib/marty/engine.rb
marty-3.0.1 lib/marty/engine.rb
marty-4.0.0.rc2 lib/marty/engine.rb
marty-3.0.0 lib/marty/engine.rb
marty-2.9.3 lib/marty/engine.rb
marty-2.9.2 lib/marty/engine.rb
marty-2.9.1 lib/marty/engine.rb
marty-2.8.0 lib/marty/engine.rb
marty-2.7.3 lib/marty/engine.rb
marty-2.7.2 lib/marty/engine.rb