render_turbo_stream 0.1.2 → 0.1.4
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: b06017b9c29e990812a3d57b546b9a8eeb186f5f1ae5ab8171385eadd6e2758c
|
4
|
+
data.tar.gz: 6d99078f970bf560e1b972f61c608ed50fb14af4e069bcf3b3d29eef7b974f66
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 28a103e903c7a0fcee861d08253087f0d5fd7fc685a9afc7f79c19568b8dc6941b8e9afe3794b449ad844845c169f5d504ba99009a7106c48f71f8b7cf81ff83
|
7
|
+
data.tar.gz: 69623d364528f03e3a0911c6a7d122d0220ad1175ab124fd1ee7458ce49c3d4317b68263caca5e6782d227fa45568d5978dbeb7128fa4d9a2fba9afff072235f
|
File without changes
|
@@ -0,0 +1,8 @@
|
|
1
|
+
|
2
|
+
<% replace_frames.each do |f| %>
|
3
|
+
<%= turbo_stream.replace f[:id] do %>
|
4
|
+
<% Rails.logger.debug(" RENDER TURBO STREAM ERROR => REPLACE ID: #{f[:id]}") %>
|
5
|
+
<%= render f[:partial], locals: f[:locals] %>
|
6
|
+
<% end %>
|
7
|
+
<% end %>
|
8
|
+
<%= turbo_stream.prepend @render_turbo_flash_id, partial: @render_turbo_flash_partial %>
|
File without changes
|
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: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- christian
|
@@ -38,6 +38,10 @@ files:
|
|
38
38
|
- lib/render_turbo_stream/render_turbo_stream.rb
|
39
39
|
- lib/render_turbo_stream/version.rb
|
40
40
|
- lib/tasks/render_turbo_stream_tasks.rake
|
41
|
+
- views/turbo_stream_partials.html.erb
|
42
|
+
- views/turbo_stream_partials.turbo_stream.html.erb
|
43
|
+
- views/turbo_stream_redirect.html.erb
|
44
|
+
- views/turbo_stream_redirect.turbo_stream.html.erb
|
41
45
|
homepage: https://gitlab.com/sedl/render-turbo-stream
|
42
46
|
licenses:
|
43
47
|
- MIT
|