render_turbo_stream 4.3.14 → 4.3.15

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: a7cdf1b3f0af6bf441e0c0d08919985aaa0a83ef49671724860cdb8e6ff45521
4
- data.tar.gz: 23e55905c875439a1203a970fca7a9f72bde401de75d886849ed604213d05db6
3
+ metadata.gz: 134824095a6baf570e7a0702b435773c623cae537059ee6883dc141cb9a15237
4
+ data.tar.gz: 31aba69f008b047d5ab1234f621b3bc5d1858c8808fb644bb2d59eaf63766b19
5
5
  SHA512:
6
- metadata.gz: 1bfed3d855085bbd4834b5cce5fa13351e3fac306082172b8cc78525c677515b66de762b2291b08c2c25321e5b7c2e52e245560e465e27bb8ff5154029307189
7
- data.tar.gz: d7d0257d9b7210c5f1516cd7fee00765942d6222b32e4ec9338d4c2f452e2ffcce432a7242208045acd7c49fcffedcbdfe7ccabb979fb1b51c7da843fdc5b9db
6
+ metadata.gz: 0cc9bc72db795c128ede596635e5a9b303033e58d2b6f791767eb3d3d1c720ab23e307dcd0cf2b9a41667a24f33ca4d8509e3594854a14cd456b56de539ddbd4
7
+ data.tar.gz: 3dd2fe010267ee08a0f1b82f350310a4b6dc53e5c5e93912d464b3f4420787e2c2cf93ddb684221540a4b49a6ed87604f9eb766d1a42ce5428aed9508db3e9a4
@@ -185,7 +185,11 @@ module RenderTurboStream
185
185
 
186
186
  if save_action
187
187
  if Rails.configuration.x.store_last_saved_object && object.id
188
- session['last_saved_object'] = object.to_global_id
188
+ begin
189
+ session['last_saved_object'] = object.to_global_id
190
+ rescue
191
+ Rails.logger.debug("session['last_saved_object'] = ... failed. You may be in test environent?")
192
+ end
189
193
  end
190
194
  else
191
195
  RenderTurboStream::Libs.debug_save_errors(object, flash_controller_action_name)
@@ -67,7 +67,11 @@ module RenderTurboStream
67
67
 
68
68
  if save_action
69
69
  if Rails.configuration.x.store_last_saved_object && object.id
70
- session['last_saved_object'] = object.to_global_id
70
+ begin
71
+ session['last_saved_object'] = object.to_global_id
72
+ rescue
73
+ Rails.logger.debug("session['last_saved_object'] = ... failed. You may be in test environent?")
74
+ end
71
75
  end
72
76
  else
73
77
  response.status = 422
@@ -1,3 +1,3 @@
1
1
  module RenderTurboStream
2
- VERSION = "4.3.14"
2
+ VERSION = "4.3.15"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: render_turbo_stream
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.3.14
4
+ version: 4.3.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - christian
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-08-18 00:00:00.000000000 Z
11
+ date: 2023-08-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails