cascading-configuration-array 1.2.0 → 1.2.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -11,17 +11,19 @@ describe CascadingConfiguration::Array::AccessorDefinitionMethods do
11
11
  it 'can define a method to get and modify the configuration array' do
12
12
  class CascadingConfiguration::Array::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::Array::AccessorDefinitionMethods
15
17
  include CascadingConfiguration::Array::ObjectInstance
16
18
  extend CascadingConfiguration::Array::Interface
17
19
  end
18
20
  # setter
19
21
  CascadingConfiguration::Array::Mock.define_cascading_array_setter( :some_configuration )
20
- CascadingConfiguration::Array::Mock.methods.include?( :some_configuration= ).should == true
22
+ CascadingConfiguration::Array::Mock.respond_to?( :some_configuration= ).should == true
21
23
  CascadingConfiguration::Array::Mock.instance_methods.include?( :some_configuration= ).should == true
22
24
  # getter
23
25
  CascadingConfiguration::Array::Mock.define_cascading_array_getter( :some_configuration )
24
- CascadingConfiguration::Array::Mock.methods.include?( :some_configuration ).should == true
26
+ CascadingConfiguration::Array::Mock.respond_to?( :some_configuration ).should == true
25
27
  CascadingConfiguration::Array::Mock.instance_methods.include?( :some_configuration ).should == true
26
28
  end
27
29
 
@@ -12,6 +12,8 @@ describe CascadingConfiguration::CompositingArray do
12
12
  class CascadingConfiguration::CompositingArray::Mock01
13
13
  include CascadingConfiguration::Variable
14
14
  include CascadingConfiguration::CompositingArray::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::CompositingArray::Mock01
17
19
  cascading_composite_array = working_instance.composite_array_for_cascading_configuration( :some_configuration )
@@ -56,6 +58,8 @@ describe CascadingConfiguration::CompositingArray do
56
58
  class CascadingConfiguration::CompositingArray::Mock02
57
59
  include CascadingConfiguration::Variable
58
60
  include CascadingConfiguration::CompositingArray::Instance
61
+ CascadingConfiguration::Variable.define_accessor_module_support( self )
62
+ CascadingConfiguration::Variable.define_accessor_instance_support( self )
59
63
  end
60
64
  working_instance = CascadingConfiguration::CompositingArray::Mock02
61
65
  cascading_composite_array = working_instance.composite_array_for_cascading_configuration( :some_configuration )
@@ -100,6 +104,8 @@ describe CascadingConfiguration::CompositingArray do
100
104
  class CascadingConfiguration::CompositingArray::Mock03
101
105
  include CascadingConfiguration::Variable
102
106
  include CascadingConfiguration::CompositingArray::Instance
107
+ CascadingConfiguration::Variable.define_accessor_module_support( self )
108
+ CascadingConfiguration::Variable.define_accessor_instance_support( self )
103
109
  end
104
110
  working_instance = CascadingConfiguration::CompositingArray::Mock03
105
111
  cascading_composite_array = working_instance.composite_array_for_cascading_configuration( :some_configuration )
@@ -144,6 +150,8 @@ describe CascadingConfiguration::CompositingArray do
144
150
  class CascadingConfiguration::CompositingArray::Mock04
145
151
  include CascadingConfiguration::Variable
146
152
  include CascadingConfiguration::CompositingArray::Instance
153
+ CascadingConfiguration::Variable.define_accessor_module_support( self )
154
+ CascadingConfiguration::Variable.define_accessor_instance_support( self )
147
155
  end
148
156
  working_instance = CascadingConfiguration::CompositingArray::Mock04
149
157
  cascading_composite_array = working_instance.composite_array_for_cascading_configuration( :some_configuration )
@@ -188,6 +196,8 @@ describe CascadingConfiguration::CompositingArray do
188
196
  class CascadingConfiguration::CompositingArray::Mock05
189
197
  include CascadingConfiguration::Variable
190
198
  include CascadingConfiguration::CompositingArray::Instance
199
+ CascadingConfiguration::Variable.define_accessor_module_support( self )
200
+ CascadingConfiguration::Variable.define_accessor_instance_support( self )
191
201
  end
192
202
  working_instance = CascadingConfiguration::CompositingArray::Mock05
193
203
  cascading_composite_array = working_instance.composite_array_for_cascading_configuration( :some_configuration )
@@ -232,6 +242,8 @@ describe CascadingConfiguration::CompositingArray do
232
242
  class CascadingConfiguration::CompositingArray::Mock06
233
243
  include CascadingConfiguration::Variable
234
244
  include CascadingConfiguration::CompositingArray::Instance
245
+ CascadingConfiguration::Variable.define_accessor_module_support( self )
246
+ CascadingConfiguration::Variable.define_accessor_instance_support( self )
235
247
  end
236
248
  working_instance = CascadingConfiguration::CompositingArray::Mock06
237
249
  cascading_composite_array = working_instance.composite_array_for_cascading_configuration( :some_configuration )
@@ -279,6 +291,8 @@ describe CascadingConfiguration::CompositingArray do
279
291
  class CascadingConfiguration::CompositingArray::Mock07
280
292
  include CascadingConfiguration::Variable
281
293
  include CascadingConfiguration::CompositingArray::Instance
294
+ CascadingConfiguration::Variable.define_accessor_module_support( self )
295
+ CascadingConfiguration::Variable.define_accessor_instance_support( self )
282
296
  end
283
297
  working_instance = CascadingConfiguration::CompositingArray::Mock07
284
298
  cascading_composite_array = working_instance.composite_array_for_cascading_configuration( :some_configuration )
@@ -326,6 +340,8 @@ describe CascadingConfiguration::CompositingArray do
326
340
  class CascadingConfiguration::CompositingArray::Mock08
327
341
  include CascadingConfiguration::Variable
328
342
  include CascadingConfiguration::CompositingArray::Instance
343
+ CascadingConfiguration::Variable.define_accessor_module_support( self )
344
+ CascadingConfiguration::Variable.define_accessor_instance_support( self )
329
345
  end
330
346
  working_instance = CascadingConfiguration::CompositingArray::Mock08
331
347
  cascading_composite_array = working_instance.composite_array_for_cascading_configuration( :some_configuration )
@@ -375,6 +391,8 @@ describe CascadingConfiguration::CompositingArray do
375
391
  class CascadingConfiguration::CompositingArray::Mock09
376
392
  include CascadingConfiguration::Variable
377
393
  include CascadingConfiguration::CompositingArray::Instance
394
+ CascadingConfiguration::Variable.define_accessor_module_support( self )
395
+ CascadingConfiguration::Variable.define_accessor_instance_support( self )
378
396
  end
379
397
  working_instance = CascadingConfiguration::CompositingArray::Mock09
380
398
  cascading_composite_array = working_instance.composite_array_for_cascading_configuration( :some_configuration )
@@ -425,6 +443,8 @@ describe CascadingConfiguration::CompositingArray do
425
443
  class CascadingConfiguration::CompositingArray::Mock10
426
444
  include CascadingConfiguration::Variable
427
445
  include CascadingConfiguration::CompositingArray::Instance
446
+ CascadingConfiguration::Variable.define_accessor_module_support( self )
447
+ CascadingConfiguration::Variable.define_accessor_instance_support( self )
428
448
  end
429
449
  working_instance = CascadingConfiguration::CompositingArray::Mock10
430
450
  cascading_composite_array = working_instance.composite_array_for_cascading_configuration( :some_configuration )
@@ -475,6 +495,8 @@ describe CascadingConfiguration::CompositingArray do
475
495
  class CascadingConfiguration::CompositingArray::Mock11
476
496
  include CascadingConfiguration::Variable
477
497
  include CascadingConfiguration::CompositingArray::Instance
498
+ CascadingConfiguration::Variable.define_accessor_module_support( self )
499
+ CascadingConfiguration::Variable.define_accessor_instance_support( self )
478
500
  end
479
501
  working_instance = CascadingConfiguration::CompositingArray::Mock11
480
502
  cascading_composite_array = working_instance.composite_array_for_cascading_configuration( :some_configuration )
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 2
8
- - 0
9
- version: 1.2.0
8
+ - 1
9
+ version: 1.2.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - Asher