hyalite 0.2.4 → 0.2.5
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/Gemfile.lock +1 -1
- data/lib/hyalite/component.rb +2 -2
- data/lib/hyalite/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c77f32732643edc41f54bd5a760841bfdb3b40e9
|
4
|
+
data.tar.gz: be55debba2df6ee12ece3c68858f345f19a6828c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0f4fffb7cc9d62205fab9c4abd9b6d6d6dcab37c9117c32906d368cefc6e583263d64286770bad5b62e3fcb4178cf0dd4739b5359a19e1b6f14497c8cbee4bcd
|
7
|
+
data.tar.gz: 69e7d327fd33efa27ac58a56aecd6655d5394d991af105be96c392c6c668ca49447be03c87bce85d177b9f006c99d6e19b2c9660c0517a874bb8c702a5cb1f9b
|
data/Gemfile.lock
CHANGED
data/lib/hyalite/component.rb
CHANGED
@@ -161,11 +161,11 @@ module Hyalite
|
|
161
161
|
end
|
162
162
|
|
163
163
|
def component_will_update(props, state, context)
|
164
|
-
self.
|
164
|
+
self.instance_exec(props, state, context, &self.class.before_update) if self.class.before_update
|
165
165
|
end
|
166
166
|
|
167
167
|
def component_did_update(props, state, context)
|
168
|
-
self.
|
168
|
+
self.instance_exec(props, state, context, &self.class.after_update) if self.class.after_update
|
169
169
|
end
|
170
170
|
|
171
171
|
def should_component_update(props, state, context)
|
data/lib/hyalite/version.rb
CHANGED