Sha256: 002d65b87f96135c66c9831095941fe96a89a9fc068fb70aa785d934192aa0cf
Contents?: true
Size: 794 Bytes
Versions: 45
Compression:
Stored size: 794 Bytes
Contents
require 'rails' require 'bobot' module Bobot class Engine < ::Rails::Engine isolate_namespace Bobot config.generators.api_only = true config.action_dispatch.rescue_responses['Bobot::ActionNotAllowed'] = :forbidden initializer 'Bobot setup middlewares' do |app| app.config.middleware.use ActionDispatch::Flash end config.generators do |g| g.test_framework :rspec, fixtures: true, view_specs: false, helper_specs: false, routing_specs: false, controller_specs: true, request_specs: true end rake_tasks do Dir[File.join(File.dirname(__FILE__), '../tasks/*.rake')].each { |f| load f } end end end
Version data entries
45 entries across 45 versions & 1 rubygems
Version | Path |
---|---|
bobot-2.6.1 | lib/bobot/engine.rb |
bobot-2.6.0 | lib/bobot/engine.rb |
bobot-2.5.0 | lib/bobot/engine.rb |
bobot-2.3.0 | lib/bobot/engine.rb |
bobot-2.1.0 | lib/bobot/engine.rb |