marty 2.0.5 → 2.0.6
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cb20c0c17b789a6d536df2d8cda264d970017f7a
|
4
|
+
data.tar.gz: 14a7749520e7873293f76f983d40216d75ba086b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 02b863d6700821ca598cea99cc08278b49d1d2682db2b136cb8433b19c00838b0db8cf481cfb732480597ed7d87776592cbfeed8023a6d2c7835bf6c7009e177
|
7
|
+
data.tar.gz: cd2f4c0508a096a6d817885e35f2fa66896428053280bde96b340400dfc58380929cb33cb26c36ad571814f589fa9e718dfb84a65d9dd493d0cb4a2787b4a5ea
|
data/lib/marty/engine.rb
CHANGED
@@ -2,9 +2,11 @@ module Marty
|
|
2
2
|
class Engine < ::Rails::Engine
|
3
3
|
isolate_namespace Marty
|
4
4
|
|
5
|
-
|
6
|
-
config.
|
7
|
-
|
5
|
+
# eager load paths instead of autoload paths
|
6
|
+
config.eager_load_paths += ['lib', 'other'].map do
|
7
|
+
|dir|
|
8
|
+
File.expand_path("../../../#{dir}", __FILE__)
|
9
|
+
end
|
8
10
|
|
9
11
|
# generators add rspec tests
|
10
12
|
config.generators do |g|
|
data/lib/marty/version.rb
CHANGED
@@ -19,9 +19,6 @@ module Dummy
|
|
19
19
|
# Application configuration should go into files in config/initializers
|
20
20
|
# -- all .rb files in that directory are automatically loaded.
|
21
21
|
|
22
|
-
# Custom directories with classes and modules you want to be autoloadable.
|
23
|
-
config.autoload_paths += %W(#{config.root}/lib)
|
24
|
-
|
25
22
|
# Only load the plugins named here, in the order given (default is alphabetical).
|
26
23
|
# :all can be used as a placeholder for all plugins not explicitly named.
|
27
24
|
# config.plugins = [ :exception_notification, :ssl_requirement, :all ]
|