onload 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,15 @@
1
+ module Onload
2
+ class DummyApplication < ::Rails::Application
3
+ if config.respond_to?(:load_defaults)
4
+ config.load_defaults(
5
+ Gem.loaded_specs['railties'].version.to_s.split('.')[0..1].join('.')
6
+ )
7
+ end
8
+
9
+ config.eager_load = false
10
+
11
+ config.autoload_paths << ::File.expand_path(
12
+ ::File.join(*%w[.. .. .. fixtures]), __dir__
13
+ )
14
+ end
15
+ end
@@ -0,0 +1,3 @@
1
+ Rails.application.routes.draw do
2
+ root to: 'home#index'
3
+ end
@@ -0,0 +1,2 @@
1
+ test:
2
+ secret_key_base: abc123