render_turbo_stream 4.3.16 → 4.3.17

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: ab40a8958c762e832bbc38ed03d5a615c8bf41f64c4fd582d09476e373a0fe70
4
- data.tar.gz: 6863e35d57c45752ee48cb06a057431b9341c1f36d105c66b8f28cd3125a5c2a
3
+ metadata.gz: 91ec62a537df4902f5adcf7caf65a6b6a098365d2c983cda574a2d9ab1ffd22e
4
+ data.tar.gz: 28b80ad8d49000bc97b8b4fb0d66e1810befd61f0812aeb00712f8836d2dca3d
5
5
  SHA512:
6
- metadata.gz: 0e0562b25a98b14b30a3e3a124546e5cba2c8f34e7829f82778549c132606fe34cc6546e9e3ddd92059474e421977684ef99f3c269ca87b36020be056eea1e8f
7
- data.tar.gz: 85a5453b54b6df7c25333e20ff5bec62fa38758dca6a7e69f4afcf02eb580d5dc129c69588ebffe7c14edc626c493dd8748d657e9bf1d00cc2b5f7cd92ac90ab
6
+ metadata.gz: 343b599092acb9ccb1dc2f046175af02a6771696f0883f573b9f5f99e3891ff86fe6064510e761a05deba57feb814d0a473da61f8842eea0ea4642fc16d33996
7
+ data.tar.gz: ea135fc6460784cf9a2a7c5f738fe37e639e23645577b53b5e761443ca20bca141167eb6d68a8adcf466b7f90e4c4caea8aef55ba4838c3f29b9231670fd7139
@@ -2,8 +2,12 @@ module RenderTurboStream
2
2
  class Libs
3
3
 
4
4
  def self.target_id_to_target(target_id)
5
- if target_id.present? && !target_id[0] == '#'
5
+ if target_id.present?
6
+ if target_id[0] == '#'
7
+ target_id
8
+ else
6
9
  "##{target_id}"
10
+ end
7
11
  else
8
12
  nil
9
13
  end
@@ -1,3 +1,3 @@
1
1
  module RenderTurboStream
2
- VERSION = "4.3.16"
2
+ VERSION = "4.3.17"
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: 4.3.16
4
+ version: 4.3.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - christian