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