cascading-configuration-array 1.3.2 → 1.3.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,4 @@
1
1
 
2
- require 'module-cluster'
3
-
4
2
  if $cascading_configuration_development
5
3
  require_relative '../../variable/lib/cascading-configuration-variable.rb'
6
4
  else
@@ -21,8 +19,6 @@ module CascadingConfiguration
21
19
  end
22
20
  module ObjectInstance
23
21
  end
24
- module ModuleInclusionExtensionSupport
25
- end
26
22
  end
27
23
  end
28
24
 
@@ -34,4 +30,3 @@ require_relative 'cascading-configuration-array/CascadingConfiguration/_private_
34
30
  require_relative 'cascading-configuration-array/CascadingConfiguration/Array.rb'
35
31
  require_relative 'cascading-configuration-array/CascadingConfiguration/Array/AccessorDefinitionMethods.rb'
36
32
  require_relative 'cascading-configuration-array/CascadingConfiguration/Array/Interface.rb'
37
- require_relative 'cascading-configuration-array/CascadingConfiguration/Array/ModuleInclusionExtensionSupport.rb'
@@ -7,14 +7,19 @@ module CascadingConfiguration::Array
7
7
 
8
8
  include CascadingConfiguration::Variable
9
9
  include CascadingConfiguration::CompositingArray::Instance
10
+ include CascadingConfiguration::Array::Interface
11
+ include CascadingConfiguration::Array::AccessorDefinitionMethods
10
12
 
11
- include_cascades_extends( CascadingConfiguration::Array,
12
- CascadingConfiguration::Array::Interface,
13
- CascadingConfiguration::Array::AccessorDefinitionMethods )
14
-
15
- include_cascades_extends_to_module( CascadingConfiguration::Array::ModuleInclusionExtensionSupport )
13
+ prepend_module_include do |class_or_module|
14
+ class_or_module.extend_also_extends( CascadingConfiguration::Variable::EigenclassConfigurationChain )
15
+ end
16
+
17
+ include_cascades_extends( CascadingConfiguration::Array )
16
18
 
17
- extend_cascades_extends( CascadingConfiguration::Array::Interface,
18
- CascadingConfiguration::Array::AccessorDefinitionMethods )
19
+ prepend_module_include do |class_or_module|
20
+ class_or_module.include_or_extend_cascades_prepending_extends do
21
+ accessor_module_support
22
+ end
23
+ end
19
24
 
20
25
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 3
8
- - 2
9
- version: 1.3.2
8
+ - 3
9
+ version: 1.3.3
10
10
  platform: ruby
11
11
  authors:
12
12
  - Asher
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2011-08-03 00:00:00 -04:00
17
+ date: 2011-08-06 00:00:00 -04:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
@@ -56,7 +56,6 @@ files:
56
56
  - lib/cascading-configuration-array/CascadingConfiguration/_private_/LocalConfigurationArray.rb
57
57
  - lib/cascading-configuration-array/CascadingConfiguration/Array/AccessorDefinitionMethods.rb
58
58
  - lib/cascading-configuration-array/CascadingConfiguration/Array/Interface.rb
59
- - lib/cascading-configuration-array/CascadingConfiguration/Array/ModuleInclusionExtensionSupport.rb
60
59
  - lib/cascading-configuration-array/CascadingConfiguration/Array.rb
61
60
  - lib/cascading-configuration-array/CascadingConfiguration/CompositingArray/Instance.rb
62
61
  - lib/cascading-configuration-array/CascadingConfiguration/CompositingArray.rb
@@ -1,38 +0,0 @@
1
-
2
- module CascadingConfiguration::Array::ModuleInclusionExtensionSupport
3
-
4
- extend CascadingConfiguration::InternalModuleStub
5
-
6
- #####################
7
- # append_features #
8
- #####################
9
-
10
- def append_features( class_or_module )
11
- # the module that is including/extending CascadingConfiguration::Array
12
- module_self = self
13
- class_or_module.instance_eval do
14
- # extend accessors defined for modules (and classes, which are modules)
15
- extend module_self.accessor_module_support
16
- end
17
- super
18
- end
19
-
20
- ###################
21
- # extend_object #
22
- ###################
23
-
24
- def extend_object( class_or_module )
25
- # CascadingConfiguration::Array
26
- module_self = self
27
- class_or_module.instance_eval do
28
- # extend accessors defined for modules (and classes, which are modules)
29
- extend module_self.accessor_module_support
30
- end
31
- super
32
- class_or_module.instance_eval do
33
- # tell ancestor_configuration_chain to search the eigenclass chain as well
34
- extend CascadingConfiguration::Variable::EigenclassConfigurationChain
35
- end
36
- end
37
-
38
- end