cascading-configuration-array 1.5.0 → 1.5.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -29,10 +29,10 @@ class CascadingConfiguration::Array::CompositingArray < Array
29
29
  if for_instance
30
30
  super_configuration_module = module_configuration_module
31
31
  else
32
- super_configuration_module = module_configuration_module.super_configuration_module
32
+ super_configuration_module = module_configuration_module.super_configuration_module( configuration_name )
33
33
  end
34
-
35
- if super_configuration_module and
34
+
35
+ if super_configuration_module and
36
36
  @super_composite_array = super_configuration_module.get_configuration_variable( configuration_name ) and
37
37
  @super_composite_array.respond_to?( :register_sub_composite_array )
38
38
 
@@ -520,21 +520,21 @@ describe CascadingConfiguration::Array::CompositingArray do
520
520
  it 'can clear, causing present elements to be excluded' do
521
521
 
522
522
 
523
- module CascadingConfiguration::Array::CompositingArray::CCAMock09
523
+ module CascadingConfiguration::Array::CompositingArray::CCAMock11
524
524
  include CascadingConfiguration::Variable
525
525
  end
526
526
 
527
- module CascadingConfiguration::Array::CompositingArray::CIMock09A
528
- include CascadingConfiguration::Array::CompositingArray::CCAMock09
527
+ module CascadingConfiguration::Array::CompositingArray::CIMock11A
528
+ include CascadingConfiguration::Array::CompositingArray::CCAMock11
529
529
  end
530
- module CascadingConfiguration::Array::CompositingArray::CIMock09B
531
- include CascadingConfiguration::Array::CompositingArray::CIMock09A
530
+ module CascadingConfiguration::Array::CompositingArray::CIMock11B
531
+ include CascadingConfiguration::Array::CompositingArray::CIMock11A
532
532
  end
533
533
 
534
534
  ccv = CascadingConfiguration::Variable
535
- ccm_array = CascadingConfiguration::Array::CompositingArray::CCAMock09
536
- configuration_instance = CascadingConfiguration::Array::CompositingArray::CIMock09A
537
- sub_configuration_instance = CascadingConfiguration::Array::CompositingArray::CIMock09B
535
+ ccm_array = CascadingConfiguration::Array::CompositingArray::CCAMock11
536
+ configuration_instance = CascadingConfiguration::Array::CompositingArray::CIMock11A
537
+ sub_configuration_instance = CascadingConfiguration::Array::CompositingArray::CIMock11B
538
538
  configuration_name = :some_configuration
539
539
 
540
540
  # Without super or sub composites
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: cascading-configuration-array
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 1.5.0
5
+ version: 1.5.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - Asher
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2012-01-16 00:00:00 Z
13
+ date: 2012-01-18 00:00:00 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: module-cluster