cascading-configuration-array 1.3.0 → 1.3.1

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.
@@ -3,33 +3,33 @@ module CascadingConfiguration::Array::ModuleInclusionExtensionSupport
3
3
 
4
4
  extend CascadingConfiguration::InternalModuleStub
5
5
 
6
- ##############
7
- # included #
8
- ##############
6
+ #####################
7
+ # append_features #
8
+ #####################
9
9
 
10
- def included( class_or_module )
11
- super if defined?( super )
10
+ def append_features( class_or_module )
12
11
  # the module that is including/extending CascadingConfiguration::Array
13
12
  module_self = self
14
13
  class_or_module.instance_eval do
15
- # include accessors defined for instances
16
- include module_self.accessor_instance_support
17
14
  # extend accessors defined for modules (and classes, which are modules)
18
- extend module_self.accessor_module_support
15
+ extend module_self.accessor_module_support
19
16
  end
17
+ super
20
18
  end
21
19
 
22
- ##############
23
- # extended #
24
- ##############
20
+ ###################
21
+ # extend_object #
22
+ ###################
25
23
 
26
- def extended( class_or_module )
27
- super if defined?( super )
24
+ def extend_object( class_or_module )
28
25
  # CascadingConfiguration::Array
29
26
  module_self = self
30
27
  class_or_module.instance_eval do
31
28
  # extend accessors defined for modules (and classes, which are modules)
32
29
  extend module_self.accessor_module_support
30
+ end
31
+ super
32
+ class_or_module.instance_eval do
33
33
  # tell ancestor_configuration_chain to search the eigenclass chain as well
34
34
  extend CascadingConfiguration::Variable::EigenclassConfigurationChain
35
35
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 3
8
- - 0
9
- version: 1.3.0
8
+ - 1
9
+ version: 1.3.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - Asher