render_turbo_stream 4.1.3 → 4.1.5
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6a667bdf8e453b073d1a728867311b094c6cd4e2b0130e0bf315111b06cd1fd7
|
4
|
+
data.tar.gz: c38fc937c8accd644b2990806e16b6065641544954cf9685831e7da418a80eba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 79220607a4ae09be4cab396d6ca86a97f2ed1177bbf3abeca162ecbfa770b4628691e18b00f26f7db160d5a0cc8f60615231c1f109aad5945e83511f8d11273e
|
7
|
+
data.tar.gz: a3d4c30bb7f1f3fb30fe527bc20da9703207c893db2378ca8aca452d037eb9f5a2f284c233c8ebb0698660bff0eb72abd8954e6440e8ec293574c87fef2da5cc
|
@@ -159,6 +159,9 @@ module RenderTurboStream
|
|
159
159
|
end
|
160
160
|
|
161
161
|
libs = RenderTurboStream::ControllerLibs.new(save_action)
|
162
|
+
if !object
|
163
|
+
raise "Could not fetch a model name by «eval(\"\@\#{controller_name.classify.underscore}\")». You must provide the argument :object."
|
164
|
+
end
|
162
165
|
model_name = object.model_name.human
|
163
166
|
|
164
167
|
turbo_actions = libs.generate_flash(
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: render_turbo_stream
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.1.
|
4
|
+
version: 4.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- christian
|
@@ -24,12 +24,12 @@ dependencies:
|
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: 7.0.3
|
27
|
-
description: 'A set of helpers that allow a
|
28
|
-
To avoid a heavy view and logic
|
29
|
-
|
30
|
-
|
31
|
-
directly from the controller. TESTING: To reduce the amount of hard-to-maintain
|
32
|
-
system tests, this gem allows detailed request tests
|
27
|
+
description: 'A set of helpers that allow a UNIFIED WORKFLOW for TurboStream and TurboStreams::Channel.
|
28
|
+
To avoid a heavy mix of view and logic, partials and templates can be rendered directly
|
29
|
+
from the controller. There is no need to write *.turbo_stream.* templates anymore.
|
30
|
+
Logic can stay on the Ruby side, in the controller. Javascript actions can also
|
31
|
+
be executed directly from the controller. TESTING: To reduce the amount of hard-to-maintain
|
32
|
+
system tests, this gem allows detailed request tests. A DEMO PROJECT with all this
|
33
33
|
built in, along with system and request tests, is linked in the README.'
|
34
34
|
email:
|
35
35
|
- christian@sedlmair.ch
|