arkaan 0.7.3 → 0.7.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/arkaan/utils/micro_service.rb +6 -6
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c15ef80800e647f2a5f06482e9794678fc3bf05c
|
4
|
+
data.tar.gz: e4b2c527ea546b7e42489e0182c559cecba3a6b0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 46934cd25c1c983e1a5b9af0a67bf200b589c3067ca2c91b30d93b0f0419d9247eee39a1eb2e189a9758f1fb9ee77bb3c63e9147a895b2cb2951c1d5ea597702
|
7
|
+
data.tar.gz: 264858f396fa4371f48ea4cc97d009b2204faec9b04eba84c96715a77415ed67f60ba08f9c99568b5a8fb5a7118f01fa115548c2ad279b065402352804d27837
|
@@ -24,20 +24,20 @@ module Arkaan
|
|
24
24
|
@root = test_mode ? File.join(root, '..') : root
|
25
25
|
@name = name
|
26
26
|
@test_mode = test_mode
|
27
|
+
require_mongoid_config(root)
|
27
28
|
@service = register_service
|
28
29
|
end
|
29
30
|
|
30
31
|
# Loads the necessary components for the application by requiring the needed files.
|
31
32
|
# @param test_mode [Boolean] TRUE if the application i supposed to be launched from the spec_helper, FALSE otherwise.
|
32
33
|
def load!
|
33
|
-
|
34
|
-
|
35
|
-
self.require_folder(root, 'controllers')
|
34
|
+
require_folder(root, 'decorators')
|
35
|
+
require_folder(root, 'controllers')
|
36
36
|
if test_mode
|
37
|
-
|
38
|
-
|
37
|
+
require_folder(root, 'spec', 'support')
|
38
|
+
require_folder(root, 'spec', 'shared')
|
39
39
|
end
|
40
|
-
return
|
40
|
+
return
|
41
41
|
end
|
42
42
|
|
43
43
|
# Creates the service instance if necessary, and returns it.
|