array-compositing 1.0.5 → 1.0.6

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.rdoc CHANGED
@@ -49,3 +49,7 @@ Removed module-cluster dependency.
49
49
  == 7/10/2012
50
50
 
51
51
  Reverted module-cluster dependency.
52
+
53
+ == 7/14/2012
54
+
55
+ Lazy load fix for :include?
@@ -174,6 +174,18 @@ module ::Array::Compositing::ArrayInterface
174
174
 
175
175
  end
176
176
 
177
+ ##############
178
+ # include? #
179
+ ##############
180
+
181
+ def include?( object )
182
+
183
+ load_parent_state
184
+
185
+ return super
186
+
187
+ end
188
+
177
189
  ##########
178
190
  # to_s #
179
191
  ##########
@@ -333,7 +345,7 @@ module ::Array::Compositing::ArrayInterface
333
345
  # We call hooks manually so that we can do a direct undecorated set.
334
346
  # This is because we already have an object we loaded as a place-holder that we are now updating.
335
347
  # So we don't want to sort/test uniqueness/etc. We just want to insert at the actual index.
336
-
348
+
337
349
  unless @without_child_hooks
338
350
  object = child_pre_set_hook( local_index, object, false )
339
351
  end
@@ -353,7 +365,7 @@ module ::Array::Compositing::ArrayInterface
353
365
  unless @without_child_hooks
354
366
  child_post_set_hook( local_index, object, false )
355
367
  end
356
-
368
+
357
369
  return object
358
370
 
359
371
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: array-compositing
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.5
4
+ version: 1.0.6
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-13 00:00:00.000000000 Z
12
+ date: 2012-07-14 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: array-hooked