arkaan 0.7.3 → 0.7.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b109fb7ba14facabbfaeddc87357394a71ec0aa6
4
- data.tar.gz: 1bf4f2b37733581ed770e45217c15fa0c9c6890a
3
+ metadata.gz: c15ef80800e647f2a5f06482e9794678fc3bf05c
4
+ data.tar.gz: e4b2c527ea546b7e42489e0182c559cecba3a6b0
5
5
  SHA512:
6
- metadata.gz: 7cd75aa9edf81cc6a95ab59970ed815923d86ee9705161ce3a169beb2162eb61545d735b3038eb1972542c04d4d2483fd8532f27ae093f8a836949ac1356bb56
7
- data.tar.gz: 4441e98f83bf4df315170d8ea61a7425c789e1b45b9743523ef184c4d21da97c1f564cab687e313d74ccc4fef120e44bdfd64ea5674c2bc7b997bceed84ef425
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
- self.require_mongoid_config(root)
34
- self.require_folder(root, 'decorators')
35
- self.require_folder(root, 'controllers')
34
+ require_folder(root, 'decorators')
35
+ require_folder(root, 'controllers')
36
36
  if test_mode
37
- self.require_folder(root, 'spec', 'support')
38
- self.require_folder(root, 'spec', 'shared')
37
+ require_folder(root, 'spec', 'support')
38
+ require_folder(root, 'spec', 'shared')
39
39
  end
40
- return self
40
+ return
41
41
  end
42
42
 
43
43
  # Creates the service instance if necessary, and returns it.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: arkaan
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.3
4
+ version: 0.7.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vincent Courtois