Sha256: c7f64dfe2ac837e3e0829d9a134dc45a639dac9710696e698776cbffba846c1b

Contents?: true

Size: 617 Bytes

Versions: 5

Compression:

Stored size: 617 Bytes

Contents

Gem.loaded_specs['nyauth'].dependencies.each do |d|
  begin
    require d.name.gsub('-', '/')
  rescue LoadError
    require d.name
  end
end

module Nyauth
  class Engine < ::Rails::Engine
    isolate_namespace Nyauth

    config.nyauth = ActiveSupport::OrderedOptions.new
    config.nyauth.admin = 'admin'
    config.i18n.load_path += Dir[Engine.root.join('config', 'locales', '**', '*.{rb,yml}').to_s]
    config.generators do |g|
      g.test_framework      :rspec,        fixture: false
      g.fixture_replacement :factory_girl, dir: 'spec/factories'
      g.assets false
      g.helper false
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
nyauth-0.2.2 lib/nyauth/engine.rb
nyauth-0.2.1 lib/nyauth/engine.rb
nyauth-0.2.0 lib/nyauth/engine.rb
nyauth-0.1.0 lib/nyauth/engine.rb
nyauth-0.0.3 lib/nyauth/engine.rb