configurability 3.0.0.pre20161130162622 → 3.0.0.pre20161130173417
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 +4 -4
- data/lib/configurability.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: cdda9756d722c65fc10d9daef86b1a8b24b6f0b3
|
4
|
+
data.tar.gz: bbba39ce6a30c45b3bd8bd736486b65702337be3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 265346355eecc8119e2f900e2f21aff8decd862987f967d33b4cbf2cedd4e60171728be8fd6017f5d0cf8de78680cfd48e1696a04b71c0b11b694bc99f696d10
|
7
|
+
data.tar.gz: cbc94bf49fad752417c23295a1c8df00d01158f510ae38527f32e9b3577aa32eadc741163969d6c77e8d1f24555ca388560231015ac6a19169e698c833945bb3
|
data/lib/configurability.rb
CHANGED
@@ -18,15 +18,15 @@ module Configurability
|
|
18
18
|
|
19
19
|
|
20
20
|
# Library version constant
|
21
|
-
VERSION = '
|
21
|
+
VERSION = '3.0.0'
|
22
22
|
|
23
23
|
# Version-control revision constant
|
24
|
-
REVISION = %q$Revision:
|
24
|
+
REVISION = %q$Revision: 09ad0e4eb93c $
|
25
25
|
|
26
26
|
require 'configurability/deferredconfig'
|
27
27
|
|
28
28
|
autoload :Config, 'configurability/config'
|
29
|
-
autoload :
|
29
|
+
autoload :SettingInstaller, 'configurability/setting_installer'
|
30
30
|
|
31
31
|
|
32
32
|
### The objects that have had Configurability added to them
|
@@ -303,9 +303,9 @@ module Configurability
|
|
303
303
|
self.config_key = config_key if config_key
|
304
304
|
|
305
305
|
if block
|
306
|
-
Configurability.log.debug "Applying config declaration block using
|
307
|
-
|
308
|
-
|
306
|
+
Configurability.log.debug "Applying config declaration block using a SettingInstaller"
|
307
|
+
installer = Configurability::SettingInstaller.new( self )
|
308
|
+
installer.instance_eval( &block )
|
309
309
|
end
|
310
310
|
|
311
311
|
if (( config = Configurability.loaded_config ))
|