cascading-configuration-array 2.0.0 → 2.0.1

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.
@@ -36,16 +36,21 @@ class ::CascadingConfiguration::Array::CompositingArray < ::Array
36
36
  get_configuration_variable( ancestor, configuration_name )
37
37
 
38
38
  if @super_composite_array.respond_to?( :register_sub_composite_array )
39
+
39
40
  @super_composite_array.register_sub_composite_array( self )
41
+
40
42
  push( *@super_composite_array )
43
+
44
+ @super_composite_array.count.times do |this_time|
45
+ @local_index_for_parent_index[ this_time ] = this_time
46
+ end
47
+
41
48
  else
49
+
42
50
  @super_composite_array = nil
51
+
43
52
  end
44
-
45
- @super_composite_array.count.times do |this_time|
46
- @local_index_for_parent_index[ this_time ] = this_time
47
- end
48
-
53
+
49
54
  # since we have a super array we have to note how many objects it has before we insert any
50
55
  @parent_and_interpolated_object_count = @super_composite_array.count
51
56
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cascading-configuration-array
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-02-29 00:00:00.000000000 Z
12
+ date: 2012-03-02 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: module-cluster
16
- requirement: &70312989933080 !ruby/object:Gem::Requirement
16
+ requirement: &70353721174940 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70312989933080
24
+ version_requirements: *70353721174940
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: cascading-configuration-variable
27
- requirement: &70312989932640 !ruby/object:Gem::Requirement
27
+ requirement: &70353721174500 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,7 +32,7 @@ dependencies:
32
32
  version: '0'
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *70312989932640
35
+ version_requirements: *70353721174500
36
36
  description: Provides :attr_configuration_array.
37
37
  email: asher@ridiculouspower.com
38
38
  executables: []