cascading-configuration-hash 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
@@ -12,6 +12,8 @@ describe CascadingConfiguration::CompositingHash do
|
|
12
12
|
class CascadingConfiguration::CompositingHash::Mock01
|
13
13
|
include CascadingConfiguration::Variable
|
14
14
|
include CascadingConfiguration::CompositingHash::Instance
|
15
|
+
CascadingConfiguration::Variable.define_accessor_module_support( self )
|
16
|
+
CascadingConfiguration::Variable.define_accessor_instance_support( self )
|
15
17
|
end
|
16
18
|
working_instance = CascadingConfiguration::CompositingHash::Mock01
|
17
19
|
cascading_composite_hash = working_instance.composite_hash_for_cascading_configuration( :some_configuration )
|
@@ -71,6 +73,8 @@ describe CascadingConfiguration::CompositingHash do
|
|
71
73
|
class CascadingConfiguration::CompositingHash::Mock02
|
72
74
|
include CascadingConfiguration::Variable
|
73
75
|
include CascadingConfiguration::CompositingHash::Instance
|
76
|
+
CascadingConfiguration::Variable.define_accessor_module_support( self )
|
77
|
+
CascadingConfiguration::Variable.define_accessor_instance_support( self )
|
74
78
|
end
|
75
79
|
working_instance = CascadingConfiguration::CompositingHash::Mock02
|
76
80
|
cascading_composite_hash = working_instance.composite_hash_for_cascading_configuration( :some_configuration )
|
@@ -130,6 +134,8 @@ describe CascadingConfiguration::CompositingHash do
|
|
130
134
|
class CascadingConfiguration::CompositingHash::Mock03
|
131
135
|
include CascadingConfiguration::Variable
|
132
136
|
include CascadingConfiguration::CompositingHash::Instance
|
137
|
+
CascadingConfiguration::Variable.define_accessor_module_support( self )
|
138
|
+
CascadingConfiguration::Variable.define_accessor_instance_support( self )
|
133
139
|
end
|
134
140
|
working_instance = CascadingConfiguration::CompositingHash::Mock03
|
135
141
|
cascading_composite_hash = working_instance.composite_hash_for_cascading_configuration( :some_configuration )
|
@@ -182,6 +188,8 @@ describe CascadingConfiguration::CompositingHash do
|
|
182
188
|
class CascadingConfiguration::CompositingHash::Mock04
|
183
189
|
include CascadingConfiguration::Variable
|
184
190
|
include CascadingConfiguration::CompositingHash::Instance
|
191
|
+
CascadingConfiguration::Variable.define_accessor_module_support( self )
|
192
|
+
CascadingConfiguration::Variable.define_accessor_instance_support( self )
|
185
193
|
end
|
186
194
|
working_instance = CascadingConfiguration::CompositingHash::Mock04
|
187
195
|
cascading_composite_hash = working_instance.composite_hash_for_cascading_configuration( :some_configuration )
|
@@ -241,6 +249,8 @@ describe CascadingConfiguration::CompositingHash do
|
|
241
249
|
class CascadingConfiguration::CompositingHash::Mock05
|
242
250
|
include CascadingConfiguration::Variable
|
243
251
|
include CascadingConfiguration::CompositingHash::Instance
|
252
|
+
CascadingConfiguration::Variable.define_accessor_module_support( self )
|
253
|
+
CascadingConfiguration::Variable.define_accessor_instance_support( self )
|
244
254
|
end
|
245
255
|
working_instance = CascadingConfiguration::CompositingHash::Mock05
|
246
256
|
cascading_composite_hash = working_instance.composite_hash_for_cascading_configuration( :some_configuration )
|
@@ -287,6 +297,8 @@ describe CascadingConfiguration::CompositingHash do
|
|
287
297
|
class CascadingConfiguration::CompositingHash::Mock06
|
288
298
|
include CascadingConfiguration::Variable
|
289
299
|
include CascadingConfiguration::CompositingHash::Instance
|
300
|
+
CascadingConfiguration::Variable.define_accessor_module_support( self )
|
301
|
+
CascadingConfiguration::Variable.define_accessor_instance_support( self )
|
290
302
|
end
|
291
303
|
working_instance = CascadingConfiguration::CompositingHash::Mock06
|
292
304
|
cascading_composite_hash = working_instance.composite_hash_for_cascading_configuration( :some_configuration )
|
@@ -352,6 +364,8 @@ describe CascadingConfiguration::CompositingHash do
|
|
352
364
|
class CascadingConfiguration::CompositingHash::Mock07
|
353
365
|
include CascadingConfiguration::Variable
|
354
366
|
include CascadingConfiguration::CompositingHash::Instance
|
367
|
+
CascadingConfiguration::Variable.define_accessor_module_support( self )
|
368
|
+
CascadingConfiguration::Variable.define_accessor_instance_support( self )
|
355
369
|
end
|
356
370
|
working_instance = CascadingConfiguration::CompositingHash::Mock07
|
357
371
|
cascading_composite_hash = working_instance.composite_hash_for_cascading_configuration( :some_configuration )
|
@@ -11,6 +11,8 @@ describe CascadingConfiguration::Hash::AccessorDefinitionMethods do
|
|
11
11
|
it 'can define a method to get and modify the configuration hash' do
|
12
12
|
class CascadingConfiguration::Hash::Mock
|
13
13
|
include CascadingConfiguration::Variable
|
14
|
+
CascadingConfiguration::Variable.define_accessor_module_support( self )
|
15
|
+
CascadingConfiguration::Variable.define_accessor_instance_support( self )
|
14
16
|
extend CascadingConfiguration::Hash::AccessorDefinitionMethods
|
15
17
|
include CascadingConfiguration::Hash::ObjectInstance
|
16
18
|
extend CascadingConfiguration::Hash::Interface
|