Sha256: 9571e2ff568d6e44235726c37e53f0d5cefa3918dd50c016b9f71b4d24419633

Contents?: true

Size: 626 Bytes

Versions: 5

Compression:

Stored size: 626 Bytes

Contents

require File.expand_path('boot', __dir__)

require 'rails/all'

Bundler.require(*Rails.groups)

require 'yaml'

orm = if DOORKEEPER_ORM =~ /mongoid/
        Mongoid.load!(File.join(File.dirname(File.expand_path(__FILE__)), "#{DOORKEEPER_ORM}.yml"))
        :mongoid
      else
        DOORKEEPER_ORM
      end
require "#{orm}/railtie"

module Dummy
  class Application < Rails::Application
    # Settings in config/environments/* take precedence over those specified here.
    # Application configuration should go into files in config/initializers
    # -- all .rb files in that directory are automatically loaded.
  end
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
doorkeeper-5.0.3 spec/dummy/config/application.rb
doorkeeper-5.1.0.rc1 spec/dummy/config/application.rb
doorkeeper-5.0.2 spec/dummy/config/application.rb
doorkeeper-mongodb-5.0.0 spec/dummy/config/application.rb
doorkeeper-5.0.1 spec/dummy/config/application.rb