smart_initializer 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5134f8c4bce2fc85b936310f04e67bf2d065205a29a34a53435eca06efba17f6
4
- data.tar.gz: b4de1f15734ca61d124c944aeaca4f87fb6e5c1d5e4f8d92a3c7b63516ce708e
3
+ metadata.gz: fd0eb76f680e74b4b2eb404eb72df5181d13135bcba2c4eb105a7ae663d068f9
4
+ data.tar.gz: 0a532548173e17b18135d2b3a2748430330b0e28467fc483f434e463f6f6f862
5
5
  SHA512:
6
- metadata.gz: 86e1523cec71037f80aa99a6e36a5ffe06ca0da34d90f97e836dafdcd096cadceaebcb147499a636d1ce0f6868b0781e22ba21e0d589fb127cdfe41ff4882940
7
- data.tar.gz: 4b9e5b9f6e3742cfa38fb969a7b3d0d2a5e85d49cd94a7f498d6302cdb1ac3910642772f5c9246a51fb4bf1ab4231af3c8a2a8328c4b343471a4e2563b3e9cd6
6
+ metadata.gz: fc77143a0cfd9e90553059444eb38bb527aae5afc2f543eafb0a9525171ca45c2506d0826170e14f2a9a284c05ec43d6f9f024d14ea288f664b4ea962219f9f4
7
+ data.tar.gz: 1b889ee6f9d801cede43a624a6f800bf3b2341f874395870426522025ee5fd8bbbbd40a01940cf087e40f696cb2b87282739ebe72ddd34b9845b37c01c7c207b
@@ -1,6 +1,10 @@
1
1
  # Changelog
2
2
  All notable changes to this project will be documented in this file.
3
3
 
4
+ ## [0.3.1] - 2020-07-12
5
+ ### Fixed
6
+ - Deeply inherited entities lose class attribute definers;
7
+
4
8
  ## [0.3.0] - 2020-07-11
5
9
  ### Added
6
10
  - `extend_initialization_flow` alias method for `SmartCore::Initializer.ext_init`;
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- smart_initializer (0.2.0)
4
+ smart_initializer (0.3.0)
5
5
  qonfig (~> 0.24)
6
6
  smart_engine (~> 0.7)
7
7
  smart_types (~> 0.1.0)
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- smart_initializer (0.2.0)
4
+ smart_initializer (0.3.0)
5
5
  qonfig (~> 0.24)
6
6
  smart_engine (~> 0.7)
7
7
  smart_types (~> 0.1.0)
@@ -33,6 +33,7 @@ module SmartCore::Initializer::DSL
33
33
  #
34
34
  # @api private
35
35
  # @since 0.1.0
36
+ # @version 0.3.1
36
37
  def inherited(child_klass)
37
38
  child_klass.instance_eval do
38
39
  instance_variable_set(:@__params__, SmartCore::Initializer::Attribute::List.new)
@@ -44,6 +45,7 @@ module SmartCore::Initializer::DSL
44
45
  end
45
46
  child_klass.extend(ClassMethods)
46
47
  SmartCore::Initializer::DSL::Inheritance.inherit(base: self, child: child_klass)
48
+ child_klass.singleton_class.prepend(ClassInheritance)
47
49
  super
48
50
  end
49
51
  end
@@ -6,7 +6,7 @@ module SmartCore
6
6
  #
7
7
  # @api public
8
8
  # @since 0.1.0
9
- # @version 0.3.0
10
- VERSION = '0.3.0'
9
+ # @version 0.3.1
10
+ VERSION = '0.3.1'
11
11
  end
12
12
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: smart_initializer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rustam Ibragimov
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-07-11 00:00:00.000000000 Z
11
+ date: 2020-07-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: smart_engine