array-unique-compositing 1.0.4 → 1.0.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,6 @@
1
1
 
2
+ begin ; require 'development' ; rescue ; end
3
+
2
4
  require 'array/unique'
3
5
  require 'array/compositing'
4
6
 
@@ -37,6 +37,7 @@ module ::Array::Unique::Compositing::ArrayInterface
37
37
  did_set = false
38
38
 
39
39
  if @unique_keys.has_key?( object ) and
40
+ @parent_index_map and
40
41
  parent_index = @parent_index_map.parent_index( local_index ) and
41
42
  @parent_composite_object[ parent_index ] == object
42
43
 
@@ -87,7 +88,7 @@ module ::Array::Unique::Compositing::ArrayInterface
87
88
  # update_for_parent_insert #
88
89
  ##############################
89
90
 
90
- def update_for_parent_insert( parent_index, object )
91
+ def update_for_parent_insert( requested_parent_index, parent_index, object )
91
92
 
92
93
  called_super = false
93
94
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: array-unique-compositing
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.0.5
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-14 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