render_turbo_stream 4.3.12 → 4.3.13
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/README.md +2 -2
- data/lib/render_turbo_stream/controller_helpers.rb +1 -1
- data/lib/render_turbo_stream/version.rb +1 -1
- 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: 74c586fc8f14f7f8c158b25c3cb0d548e9ebbacc77a3e6327beae1aff722bf4a
|
4
|
+
data.tar.gz: dfba23e8a945c98873e6d27c377382a6bddaf4948b97990471908a379a986871
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 70d324640d87e5c29887b3bf0e19a0a0a5e5c72081983a827a9cfcb2f86943c48d42f0ff10f6b1e9010cbdca5e29067d82c61ce45c41300bdd6bdf09fafaf39d
|
7
|
+
data.tar.gz: 937778d9f95feff150b9af5b1a3581cc73fbc2613e33a187046a11c85363e6bf166cc6ab1f6237307f6cc0ef3256d318cdb595492729afbbade9e5742c456db1
|
data/README.md
CHANGED
@@ -135,10 +135,10 @@ render_turbo_stream(
|
|
135
135
|
)
|
136
136
|
```
|
137
137
|
|
138
|
-
for just rendering a partial there is a
|
138
|
+
for just rendering a partial there is a helper:
|
139
139
|
|
140
140
|
```ruby
|
141
|
-
|
141
|
+
stream_partial(
|
142
142
|
'form',
|
143
143
|
locals: {}
|
144
144
|
)
|
@@ -172,7 +172,7 @@ module RenderTurboStream
|
|
172
172
|
end
|
173
173
|
|
174
174
|
|
175
|
-
def
|
175
|
+
def stream_partial(partial, id: nil, action: :replace, locals: {})
|
176
176
|
render_turbo_stream([{partial: partial, locals: locals, id: id, action: action}])
|
177
177
|
end
|
178
178
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: render_turbo_stream
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.3.
|
4
|
+
version: 4.3.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- christian
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-08-
|
11
|
+
date: 2023-08-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|