view_component_reflex 3.3.0 → 3.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/view_component_reflex/component.rb +5 -3
- data/lib/view_component_reflex/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9703632395793a339cac01282d844023f02d90e8aeb5cd76837a9e2148145a78
|
4
|
+
data.tar.gz: 88cbd96fc2415caff8c846ffd6390268597f0b0f2124790362761bcd825bec3a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ce8c2f3535b8496a684a32f83a41050bfcf8d79a67b26ee7537f82713b1d272998fcef1e41d78633085c290d78bd91bc8613e3308e119a8e5bfa0bf9e636ada1
|
7
|
+
data.tar.gz: 0c7426733e654c76133d74e448fb62575ff4f48e7a072e712ac4eb4cfde910fcd8eae32447f0c5508ad7979060da10a2b8cf7e0e347d8ab5e549b4b3e69d5858
|
@@ -27,8 +27,8 @@ module ViewComponentReflex
|
|
27
27
|
end
|
28
28
|
|
29
29
|
def callbacks(key)
|
30
|
-
|
31
|
-
|
30
|
+
@@callbacks ||= {}
|
31
|
+
@@callbacks[key] ||= []
|
32
32
|
end
|
33
33
|
|
34
34
|
def register_callbacks(key)
|
@@ -252,7 +252,7 @@ module ViewComponentReflex
|
|
252
252
|
:@virtual_path, :@variant, :@current_template, :@output_buffer, :@key,
|
253
253
|
:@helpers, :@controller, :@request, :@tag_builder, :@state_initialized,
|
254
254
|
:@_content_evaluated, :@_render_in_block, :@__cached_content,
|
255
|
-
:@original_view_context,
|
255
|
+
:@original_view_context, :@compiler,
|
256
256
|
]
|
257
257
|
end
|
258
258
|
|
@@ -276,6 +276,8 @@ module ViewComponentReflex
|
|
276
276
|
new_state[k] = instance_variable_get(k)
|
277
277
|
end
|
278
278
|
|
279
|
+
p new_state
|
280
|
+
|
279
281
|
new_state[:@__cached_content__] = content
|
280
282
|
|
281
283
|
new_state
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: view_component_reflex
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.3.
|
4
|
+
version: 3.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Joshua LeBlanc
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-03-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -116,7 +116,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
116
116
|
- !ruby/object:Gem::Version
|
117
117
|
version: '0'
|
118
118
|
requirements: []
|
119
|
-
rubygems_version: 3.3
|
119
|
+
rubygems_version: 3.5.3
|
120
120
|
signing_key:
|
121
121
|
specification_version: 4
|
122
122
|
summary: Allow stimulus reflexes in a view component
|