render_turbo_stream 0.1.5 → 0.1.6

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: 87f5dcd251760b5562bcabad8af261332a16f0eb8192cf9de5cab9686c6d352f
4
- data.tar.gz: cd736406058d40145d96b8af326c89459f175ca9ce2b9e3ba84796ad7f5c3814
3
+ metadata.gz: cac97d150139e91688215e97b30997a047a8f9390b64f56f2e6f570f10d6bd87
4
+ data.tar.gz: d6c539d5bce3f59669f7254c4d24ccbc21a7a5c7580cde83966ac7b88b82fb50
5
5
  SHA512:
6
- metadata.gz: '06319cc3a78c1e4548f298edfff5391a31eb4ebcf40de7f1d4430d0d12c76225fe03ac6d31b013b1068b9067af75129f74ddf1cea8b9a4401d9ca4dfa6a30b46'
7
- data.tar.gz: b580d8267f40c277e78dc51893422b69534ec528f52689608ad42992ba296577a8a37e3bdd3e3c9194d314057e35d60d90a749607368727a5a6143e51a54b34e
6
+ metadata.gz: 9afe5322b9a60b20f44d2950c8f01fcf37df46a5d3b886dcce02919bdbaeb544a2bfdb2b2fa20f317a10f828b89e094449ccdafffbec24caff3cb950cd09b311
7
+ data.tar.gz: 5d3d1ddb2d36a746b6ee8a60601747205b21179b4a9cd9260f002247d320a4f36036909346a85a7cc5a9b92ec84dfc64361425f3de8e55c70e951f06344d009e
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.6"
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.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - christian
@@ -62,5 +62,5 @@ requirements: []
62
62
  rubygems_version: 3.4.12
63
63
  signing_key:
64
64
  specification_version: 4
65
- summary: NOT USABLE YET
65
+ summary: 'NOT USABLE AS GEM, because: https://github.com/rails/rails/issues/47954'
66
66
  test_files: []