smart_initializer 0.3.0 → 0.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +1 -1
- data/gemfiles/with_external_deps.gemfile.lock +1 -1
- data/lib/smart_core/initializer/dsl.rb +2 -0
- data/lib/smart_core/initializer/version.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: fd0eb76f680e74b4b2eb404eb72df5181d13135bcba2c4eb105a7ae663d068f9
|
|
4
|
+
data.tar.gz: 0a532548173e17b18135d2b3a2748430330b0e28467fc483f434e463f6f6f862
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fc77143a0cfd9e90553059444eb38bb527aae5afc2f543eafb0a9525171ca45c2506d0826170e14f2a9a284c05ec43d6f9f024d14ea288f664b4ea962219f9f4
|
|
7
|
+
data.tar.gz: 1b889ee6f9d801cede43a624a6f800bf3b2341f874395870426522025ee5fd8bbbbd40a01940cf087e40f696cb2b87282739ebe72ddd34b9845b37c01c7c207b
|
data/CHANGELOG.md
CHANGED
|
@@ -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`;
|
data/Gemfile.lock
CHANGED
|
@@ -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
|
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.
|
|
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
|
+
date: 2020-07-12 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: smart_engine
|