render_turbo_stream 1.2.1 → 1.2.2

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: 9a070060e95c95882e3bb687a37859fca7a46d6e4557695b5b1779fc2a37f9d9
4
- data.tar.gz: cb01fb80b57bbc96d7418fed0164fff2ac72515ed13a1281672ea9a793e0ba00
3
+ metadata.gz: dd9433b4adbd71cc1c6200b10b969c3692772f4cc8a4b21e0e02948e58104a3a
4
+ data.tar.gz: 21f9ba3336cdc8875300738885eee417a971fe4f6364c81ca9e772579ba80f10
5
5
  SHA512:
6
- metadata.gz: 6ba050699fcda283665e128c364182ea115c5ba9d18090f2e17082597e182589f91a5a2165e6368fa5e4c6fc0a451d46fa869e3632cae50c9f91fb738a5eb3da
7
- data.tar.gz: 33cdee02b396b110582ff6804e35702fb8d324148694f3c1b1246688a1ae757296167a22557b7b95703881de7cf0e7aa72ed812a989bc770684c0d58b03d9a85
6
+ metadata.gz: e50b4ec7e474c6f8c4476f49eb97e6d1088308182d1b3d9d7ecb31fcbc491a940b6cf71046c4626cca36f8234e3008fc09b8bf6ae8ac12473ca04c795cf8faea
7
+ data.tar.gz: a5c91d74dce4bc5031da22fa702a74d3a8e5eff0aa19ed7bdd7296a9dc6e369c0e7a51cdfb964c316a4f3bddc12c3635af557113ae1d96d7f67d4715fb16cced
data/README.md CHANGED
@@ -145,7 +145,7 @@ expect(partial_response('articles/form', id: 'form', css: '.field_with_errors',
145
145
 
146
146
  Consider a controller action that should respond in 2 flashes.
147
147
 
148
- Helper for writing the test: On Debugger, inside the test, copy and paste the output of `partials_log.join("\n")` to any place.
148
+ Helper for writing the test: On Debugger, inside the test, check the output of `partials_log`.
149
149
 
150
150
  ```ruby
151
151
  expect(partials_count).to eq(1)
@@ -164,7 +164,7 @@ expect(
164
164
  ```
165
165
  `partial_response_count` always returns the number of matched responses.
166
166
 
167
- Possible matches can be found at [Nokogiri](https://nokogiri.org/tutorials/searching_a_xml_html_document.html)
167
+ Possible matchers can be found at [Nokogiri](https://nokogiri.org/tutorials/searching_a_xml_html_document.html). That should be enough for this level. For more detailed testing of partials, there are view tests. And many of the partials are regularly accessed in two ways, for example a `form': it is pushed by turbo_stream as well as by calling edit_customer_path.
168
168
 
169
169
  P.S.:
170
170
 
@@ -1,3 +1,3 @@
1
1
  module RenderTurboStream
2
- VERSION = "1.2.1"
2
+ VERSION = "1.2.2"
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: 1.2.1
4
+ version: 1.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - christian
@@ -72,5 +72,6 @@ requirements: []
72
72
  rubygems_version: 3.4.12
73
73
  signing_key:
74
74
  specification_version: 4
75
- summary: Render turbo-stream partials directly from the controller. Test helpers included.
75
+ summary: Render partials by turbo-stream directly from the controller. Test helpers
76
+ included.
76
77
  test_files: []