render_turbo_stream 0.1.5 → 0.1.7

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: 87f5dcd251760b5562bcabad8af261332a16f0eb8192cf9de5cab9686c6d352f
4
- data.tar.gz: cd736406058d40145d96b8af326c89459f175ca9ce2b9e3ba84796ad7f5c3814
3
+ metadata.gz: 7ab32f1930ab5f7c6d1146a3c33cac2dd23ac0b6d35853d9d21a71dfd9be6f55
4
+ data.tar.gz: 7ac98c13c33f96d0913da5f02fcd7913204bd6640a9232b91d3ab4f40974e77b
5
5
  SHA512:
6
- metadata.gz: '06319cc3a78c1e4548f298edfff5391a31eb4ebcf40de7f1d4430d0d12c76225fe03ac6d31b013b1068b9067af75129f74ddf1cea8b9a4401d9ca4dfa6a30b46'
7
- data.tar.gz: b580d8267f40c277e78dc51893422b69534ec528f52689608ad42992ba296577a8a37e3bdd3e3c9194d314057e35d60d90a749607368727a5a6143e51a54b34e
6
+ metadata.gz: a13a71cec4759ae98f8ceb15699896166a4ebdb7fb12a6c6a9ba2e212c0ffbd116509057ab3295e6253785b3100499e47d9df99a02b43991c3fda8cccf4b5f34
7
+ data.tar.gz: 889879edabb70d2736b3590797eb2b206075e42d1221a62b59b1ff23223b30212651f207dd543eedb9254ad24599d812390acc0502b5d5a70088f0b2e501bedc
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # RenderTurboStream
2
2
 
3
- Creating a gem currently is not possible because of [hotwired issue](https://github.com/hotwired/turbo-rails/issues/455)
3
+ Creating a gem currently is not possible because of [rails issue](https://github.com/rails/rails/issues/47954)
4
4
 
5
5
  So, applying this idea is currently only possible by copy and paste a method and a view, see below.
6
6
 
@@ -12,11 +12,15 @@ In 90% of cases you have just define your partials, like `_form.haml` and steer
12
12
 
13
13
  ## Installation
14
14
 
15
- Because of [that issue](https://github.com/hotwired/turbo-rails/issues/455) appying this feature is currently only possible by copy and paste following files to your app
15
+ Because of [that issue](https://github.com/rails/rails/issues/47954) appying this feature is currently only possible by copy and paste following files to your app
16
16
 
17
17
  [application_controller](https://gitlab.com/sedl/renderturbostream/-/wikis/application_controller)
18
18
 
19
- [layout/render.turbo_stream.erb](https://gitlab.com/sedl/renderturbostream/-/wikis/layout/render.turbo_stream.erb)
19
+ [layout/render_partials.turbo_stream.erb](https://gitlab.com/sedl/renderturbostream/-/wikis/layout/render.turbo_stream.erb)
20
+
21
+ [layouts/render_redirect.turbo_stream.erb](https://gitlab.com/sedl/renderturbostream/-/wikis/layouts/render_redirect.turbo_stream.erb)
22
+
23
+ The corresponding partials for flashes could look [like this](https://gitlab.com/sedl/renderturbostream/-/wikis/flashes)
20
24
 
21
25
  ## Usage
22
26
 
@@ -104,6 +108,8 @@ and a corresponding html-ID for pushing the partial to the right destination ins
104
108
 
105
109
  `config.x.render_turbo_stream.flash_id` #=> example: `flash-wrapper`
106
110
 
111
+ `config.x.render_turbo_stream.flash_action` #=> example: 'prepend'
112
+
107
113
  ## Contributing
108
114
 
109
115
  Contribution welcome.
@@ -1,3 +1,3 @@
1
1
  module RenderTurboStream
2
- VERSION = "0.1.5"
2
+ VERSION = "0.1.7"
3
3
  end
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.5
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - christian
@@ -24,7 +24,8 @@ dependencies:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: 7.0.4.3
27
- description: Rendering update and create actions by turbo stream
27
+ description: 'NOT USABLE AS GEM, because: https://github.com/rails/rails/issues/47954
28
+ see: README'
28
29
  email:
29
30
  - christian@sedlmair.ch
30
31
  executables: []
@@ -62,5 +63,6 @@ requirements: []
62
63
  rubygems_version: 3.4.12
63
64
  signing_key:
64
65
  specification_version: 4
65
- summary: NOT USABLE YET
66
+ summary: 'NOT USABLE AS GEM, because: https://github.com/rails/rails/issues/47954
67
+ see: README'
66
68
  test_files: []