render_turbo_stream 0.1.38 → 0.1.39

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: cc560017c111220d13b4d93d5b75a2dd6861ddb47279dfa274c198a139e0f570
4
- data.tar.gz: 11412706a617e448b463d5f1c8ccfed8e78478ff326d76941aa3743e40c80310
3
+ metadata.gz: 8ab1bc2e64e1c8b702db49bb7d0e23b6624d6e017f8f619c2dbfacba0c532598
4
+ data.tar.gz: 33431e1a09d659c6b531c21970e03d556671c27b06af3ba93d477130fc5997b8
5
5
  SHA512:
6
- metadata.gz: e45b9be258303328b2271fb401a2553725f80626160fd9b3f0dbefbf9475d342cd2e1192406544b8d2a8bce3b05c693b085edeef5d1e936b76c55b26a0df50a3
7
- data.tar.gz: 444fb5821a42d2beee1860413da811b1f70b9cee8573e93694fba3a0351860a93c2015985637a78e695f9d73cd66e6804d13c729493e47b5ba8d1efe2726cd6d
6
+ metadata.gz: 6b36a34b7c9eb520d03abab8eeb27c55f9f18538940278acf9d6db5e79747a71897499ed85d3fa4162cf542b1de638eb7d816dd52fa300245aee5d812bb7baaf
7
+ data.tar.gz: e1ea9eab5c37f8aab1e8336119df9dae2fa0bc7761cf18a918e242d00c02a1e14645875aaeef91e096242e16cd53e7eba698161b02a5fdc91e684b706423f12d
data/README.md CHANGED
@@ -44,7 +44,7 @@ from [turbo_power](https://github.com/marcoroth/turbo_power).
44
44
  Required Configurations for Flash Partial
45
45
 
46
46
  ```ruby
47
- config.x.render_turbo_stream.flash_partial = 'layouts/flash'
47
+ config.x.render_turbo_stream.flash_partial = 'layouts/flash'
48
48
  config.x.render_turbo_stream.flash_id = 'flash-box'
49
49
  config.x.render_turbo_stream.flash_action = 'prepend'
50
50
  ```
@@ -147,10 +147,9 @@ RSpec.describe "Articles", type: :request do
147
147
  expect(partials_responses(id: 'flash-box').length).to eq(1)
148
148
 
149
149
  # Same with partials
150
-
151
150
  expect(partials_responses(partial: 'layouts/flash').length).to eq(1)
152
151
 
153
- # little helper for showing a array of prepared flashes and all what the renderer has done
152
+ # partials_log: developer info for what the renderer has done and strings for copy and paste into test commands
154
153
  expect(partials_log.join('')).to include('Article could not be created')
155
154
  expect(partials_log.join('')).to include('layouts/flash')
156
155
 
@@ -1,3 +1,3 @@
1
1
  module RenderTurboStream
2
- VERSION = "0.1.38"
2
+ VERSION = "0.1.39"
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.38
4
+ version: 0.1.39
5
5
  platform: ruby
6
6
  authors:
7
7
  - christian