array-sorted-compositing 1.0.3 → 1.0.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -19,5 +19,21 @@ module ::Array::Sorted::Compositing::ArrayInterface
19
19
  end
20
20
 
21
21
  end
22
+
23
+ ######################################################################################################################
24
+ private ##########################################################################################################
25
+ ######################################################################################################################
26
+
27
+ ##############################
28
+ # update_for_parent_insert #
29
+ ##############################
30
+
31
+ def update_for_parent_insert( requested_parent_index, parent_index, object )
32
+
33
+ unless @parent_index_map.replaced_parent_element_with_parent_index?( requested_parent_index )
34
+ super
35
+ end
36
+
37
+ end
22
38
 
23
39
  end
@@ -1,8 +1,8 @@
1
1
 
2
+ begin ; require 'development' ; rescue ; end
3
+
2
4
  require 'array/sorted'
3
5
  require 'array/compositing'
4
- #require_relative '../../../../../hooked_objects/array-sorted/lib/array-sorted.rb'
5
- #require_relative '../../../../array-compositing/lib/array-compositing.rb'
6
6
 
7
7
  # namespaces that have to be declared ahead of time for proper load order
8
8
  require_relative './namespaces'
@@ -1027,6 +1027,7 @@ describe ::Array::Sorted::Compositing do
1027
1027
  cascading_composite_array.push( :some_value )
1028
1028
 
1029
1029
  cascading_composite_array.should == [ :some_value ]
1030
+
1030
1031
  sub_cascading_composite_array.should == [ :some_other_value, :some_value ]
1031
1032
 
1032
1033
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: array-sorted-compositing
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-07-10 00:00:00.000000000 Z
12
+ date: 2012-07-22 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: array-compositing