view_component_reflex 3.3.3 → 3.3.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d0f8913f474b23d0c743eb8a48015bd0f6971f698f51511ff216143648171b17
4
- data.tar.gz: 4dbfdaf02139d4ac986ff19b314fa1e88d9e7757a2907b26249767c5ed584d13
3
+ metadata.gz: 9a6139e42e1933150f8fa37fce71c32a7f0cec67a0ff6a199f67de8547b5034c
4
+ data.tar.gz: e4effcbc8d3fbc3221d4a0becc85b347ba1e21b915abcd6602daa4b026e89d5c
5
5
  SHA512:
6
- metadata.gz: 342b1fc02d9cf677e68beca8dedf2efb98d97173363c64e516e311cc3c16ec9f7ddce0ed2698b08c61e9cd13f92217d48b1256b48c33dc9066e492d81587a795
7
- data.tar.gz: 419f897312a32ce4bfb13f871967fdc4dcc94621c6edc3842aefe8f0cc109e21fe75499fef5c411c7f9880fd611c930f4c61e2ef1918409634bd81dc7c302c13
6
+ metadata.gz: 8508743c0688cef94787fb9c264f36264694a027e1625e01eb3112f44a8be491d1a96105185defb5de5544f878a93ca0b4a0a25c2a8b8091bc94596ddb8dfddb
7
+ data.tar.gz: e3bcbe688c41c8a8832ae1ee281f94743644ca2c62f0f4aa71a62238f8ca70b8946fa2502aa6b5504a83fdb0eda33941ad2873a87c7fa7212ff9d83105d612da
@@ -276,8 +276,6 @@ module ViewComponentReflex
276
276
  new_state[k] = instance_variable_get(k)
277
277
  end
278
278
 
279
- p new_state
280
-
281
279
  new_state[:@__cached_content__] = content
282
280
 
283
281
  new_state
@@ -20,7 +20,6 @@ module ViewComponentReflex
20
20
  def inject_key_into_component
21
21
  super
22
22
 
23
- p initial_state[:@count]
24
23
  state_adapter.store_state(request, key, state)
25
24
  state_adapter.store_state(request, "#{key}_initial", initial_state)
26
25
  end
@@ -112,6 +112,8 @@ module ViewComponentReflex
112
112
  end
113
113
 
114
114
  def delegate_call_to_reflex(name, *args, &blk)
115
+ component.adapter.extend_reflex(self)
116
+
115
117
  state.each do |k, v|
116
118
  component.instance_variable_set(k, v)
117
119
  end
@@ -1,3 +1,3 @@
1
1
  module ViewComponentReflex
2
- VERSION = '3.3.3'
2
+ VERSION = '3.3.5'
3
3
  end
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: view_component_reflex
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.3.3
4
+ version: 3.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joshua LeBlanc
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-04-10 00:00:00.000000000 Z
10
+ date: 2024-12-24 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: rails
@@ -19,7 +18,7 @@ dependencies:
19
18
  version: '5.2'
20
19
  - - "<"
21
20
  - !ruby/object:Gem::Version
22
- version: '8.0'
21
+ version: '9.0'
23
22
  type: :runtime
24
23
  prerelease: false
25
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +28,7 @@ dependencies:
29
28
  version: '5.2'
30
29
  - - "<"
31
30
  - !ruby/object:Gem::Version
32
- version: '8.0'
31
+ version: '9.0'
33
32
  - !ruby/object:Gem::Dependency
34
33
  name: stimulus_reflex
35
34
  requirement: !ruby/object:Gem::Requirement
@@ -101,7 +100,6 @@ licenses:
101
100
  - MIT
102
101
  metadata:
103
102
  allowed_push_host: https://rubygems.org
104
- post_install_message:
105
103
  rdoc_options: []
106
104
  require_paths:
107
105
  - lib
@@ -116,8 +114,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
116
114
  - !ruby/object:Gem::Version
117
115
  version: '0'
118
116
  requirements: []
119
- rubygems_version: 3.5.6
120
- signing_key:
117
+ rubygems_version: 3.6.2
121
118
  specification_version: 4
122
119
  summary: Allow stimulus reflexes in a view component
123
120
  test_files: []