Sha256: 6b4cf8163a5e8ab182556dc5b0bf5bfe0a5604918d241574718c82006a7d2fff
Contents?: true
Size: 1.37 KB
Versions: 3
Compression:
Stored size: 1.37 KB
Contents
# Dependencies # # Sigh. Rails autoloads the gems specified in the Gemfile and nothing else. # We need to explicitly require all of our dependencies listed in kaui.gemspec # # See also https://github.com/carlhuda/bundler/issues/49 require 'js-routes' require 'jquery-rails' require 'jquery-ui-rails' require 'jquery-datatables-rails' require 'font-awesome-rails' require 'twitter-bootstrap-rails' require 'bootstrap-datepicker-rails' require 'less-rails' require 'json' require 'money-rails' require 'killbill_client' require 'kenui' require 'devise' require 'cancan' require 'country_select' require 'concurrent' module Kaui class Engine < ::Rails::Engine isolate_namespace Kaui initializer 'kaui_engine.action_controller' do |app| ActiveSupport.on_load :action_controller do helper Kaui::Engine.helpers end Kaui.thread_pool = Concurrent::ThreadPoolExecutor.new(min_threads: 10, max_threads: 50, idletime: 60, max_queue: 5000, # Explicitly throw an exception (:caller_runs can introduce weird deadlocks with Promise) fallback_policy: :abort) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
kaui-0.16.2 | lib/kaui/engine.rb |
kaui-0.16.1 | lib/kaui/engine.rb |
kaui-0.16.0 | lib/kaui/engine.rb |