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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f83ad05fefd096a38658392650961db6eddc0bcd23597eb3b99dac0172461f8d
4
- data.tar.gz: dfa368d0bd5ff81f66c42b03f81ea084302c1d150e82fccef5e74006ecaf967c
3
+ metadata.gz: 9703632395793a339cac01282d844023f02d90e8aeb5cd76837a9e2148145a78
4
+ data.tar.gz: 88cbd96fc2415caff8c846ffd6390268597f0b0f2124790362761bcd825bec3a
5
5
  SHA512:
6
- metadata.gz: 1530f410f27aefa0ecf788dbac750f3772f86132e92a7cae5ca21846e0ded0e8e3cbf52b1c8aad3d3fbb8aee751da77998e6b67696be4dcc88cb96bd7dbbab48
7
- data.tar.gz: ef01d4cfd26a466f0b009aca9f16ca91866c9d82a0076015b239fcf32b5132054ea6a557484cba9677d17adf43137ceed42b95cad7f60f728a45badbb632c5d3
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
- @callbacks ||= {}
31
- @callbacks[key] ||= []
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
@@ -1,3 +1,3 @@
1
1
  module ViewComponentReflex
2
- VERSION = '3.3.0'
2
+ VERSION = '3.3.2'
3
3
  end
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.0
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: 2023-01-30 00:00:00.000000000 Z
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.7
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