render_turbo_stream 0.1.22 → 0.1.23

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: 5656c817324a84016e78f1ab49a2f390448d79095f1c0b29a2ca9a459fdfdf04
4
- data.tar.gz: a250f2ff61d1f9f0f622a097e9c725b9741169d794bc2a46f6fa792dfa2d33a9
3
+ metadata.gz: '069a772b55fc6e97d5f2531266ef3f0a970dbed0b57aa644bf695842a27c270d'
4
+ data.tar.gz: 052fde88674234ea7201071bb167ee9a41f561b1e40e462fe05b67806b082825
5
5
  SHA512:
6
- metadata.gz: e999d3ce725859885ca2127c54ba2e79f8ea27104ca07ceeebfd750cb23734055ca43c38ed5e8d591a8b7efcd24cde28bc8bf4db75a787e917ea6a31147922e1
7
- data.tar.gz: 8c6973e93202a10fc265fa7cc6a01cabe3ee125f3e48e8b7fd4511de7bdc05c8239146b834051321a47c883fbd2b55a3b731bc4bfab25dbb50c6f05d5d12e42f
6
+ metadata.gz: cf48a259accc4c6e05e17ddba1bb2ec5d43420e88543ac75249d0fcd38dd5237d86eee3bef77413a46a9f5b12a864a450bcfba9c1887a5c863b11280a428b127
7
+ data.tar.gz: 0b4faa3880918c36be6015811e3fd689330f36890f7d43a48119f2737cc3d6ab0bfd23466efd17a1073bbd260bc8a10def8f22b0ca942d4d58890c820a0d7f7f
data/README.md CHANGED
@@ -112,7 +112,7 @@ RSpec.describe "Articles", type: :request do
112
112
  expect(partials_html_by_id['flash-box'].first).to include('Article could not be created')
113
113
 
114
114
  # unique_partial returns false if this ID is cero or multiple times rendered to
115
- expect(unique_partial_html_by_id('flash-box')).to include('Article could not be created')
115
+ expect(partial_html_by_id_unique('flash-box')).to include('Article could not be created')
116
116
 
117
117
  # *_path is the controller_path for calling the partial
118
118
  expect(partials_params_by_path['layouts/flash'].length).to eq(1)
@@ -8,7 +8,7 @@ module RenderTurboStream
8
8
  end
9
9
 
10
10
  # returns false if id is cero or multiple times rendered to
11
- def unique_partial_html_by_id(id)
11
+ def partial_html_by_id_unique(id)
12
12
  p = partials_html_by_id[id]
13
13
  if p.length != 1
14
14
  false
@@ -1,3 +1,3 @@
1
1
  module RenderTurboStream
2
- VERSION = "0.1.22"
2
+ VERSION = "0.1.23"
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.22
4
+ version: 0.1.23
5
5
  platform: ruby
6
6
  authors:
7
7
  - christian