parallel-ancestry 1.0.5 → 1.0.6

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.
@@ -17,3 +17,7 @@ Fixes for ancestor lookup when arriving at Class.
17
17
  == 6/15/2012
18
18
 
19
19
  Added unique-array for children and parents, which means now :include? etc. use hash lookup internally.
20
+
21
+ == 6/18/2012
22
+
23
+ Added is_extending parameter (default = false) to :initialize_inheriting_instance.
@@ -112,7 +112,7 @@ module ::ParallelAncestry::Inheritance
112
112
  end
113
113
 
114
114
  instance.class_or_module_or_instance_extend do |inheriting_module|
115
- inheritance_module.initialize_inheriting_instance( instance, inheriting_module )
115
+ inheritance_module.initialize_inheriting_instance( instance, inheriting_module, false, true )
116
116
  end
117
117
 
118
118
  end
@@ -127,7 +127,7 @@ module ::ParallelAncestry::Inheritance
127
127
  # initialize_inheriting_instance #
128
128
  ####################################
129
129
 
130
- def initialize_inheriting_instance( parent_instance, inheriting_instance, for_subclass = false )
130
+ def initialize_inheriting_instance( parent_instance, inheriting_instance, for_subclass = false, is_extending = false )
131
131
 
132
132
  # Hook for extended module to redefine - nothing to do.
133
133
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: parallel-ancestry
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-06-15 00:00:00.000000000 Z
12
+ date: 2012-06-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: module-cluster