From b2131cfc5239d85d7e235512241af43cf1642555 Mon Sep 17 00:00:00 2001 From: Edward Jones Date: Mon, 23 Dec 2024 13:24:52 -0300 Subject: [PATCH] Ensure compatibility with frozen string literal --- lib/exception_notifier/views/exception_notifier/_data.html.erb | 2 +- lib/exception_notifier/views/exception_notifier/_data.text.erb | 2 +- .../views/exception_notifier/_session.html.erb | 2 +- .../views/exception_notifier/_session.text.erb | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/exception_notifier/views/exception_notifier/_data.html.erb b/lib/exception_notifier/views/exception_notifier/_data.html.erb index 45415220..08688ff4 100644 --- a/lib/exception_notifier/views/exception_notifier/_data.html.erb +++ b/lib/exception_notifier/views/exception_notifier/_data.html.erb @@ -1,6 +1,6 @@ diff --git a/lib/exception_notifier/views/exception_notifier/_data.text.erb b/lib/exception_notifier/views/exception_notifier/_data.text.erb index a004baed..8783ed88 100644 --- a/lib/exception_notifier/views/exception_notifier/_data.text.erb +++ b/lib/exception_notifier/views/exception_notifier/_data.text.erb @@ -1 +1 @@ -* data: <%= raw PP.pp(@data, "") %> +* data: <%= raw PP.pp(@data, +"") %> diff --git a/lib/exception_notifier/views/exception_notifier/_session.html.erb b/lib/exception_notifier/views/exception_notifier/_session.html.erb index 6459c0b4..ba5742fb 100644 --- a/lib/exception_notifier/views/exception_notifier/_session.html.erb +++ b/lib/exception_notifier/views/exception_notifier/_session.html.erb @@ -5,6 +5,6 @@
  • data: - <%= PP.pp(@request.session.to_hash, "") %> + <%= PP.pp(@request.session.to_hash, +"") %>
  • diff --git a/lib/exception_notifier/views/exception_notifier/_session.text.erb b/lib/exception_notifier/views/exception_notifier/_session.text.erb index e1a07602..8eb32736 100644 --- a/lib/exception_notifier/views/exception_notifier/_session.text.erb +++ b/lib/exception_notifier/views/exception_notifier/_session.text.erb @@ -1,2 +1,2 @@ * session id: <%= @request.ssl? ? "[FILTERED]" : (raw (@request.session['session_id'] || (@request.env["rack.session.options"] and @request.env["rack.session.options"][:id])).inspect.html_safe) %> -* data: <%= raw PP.pp(@request.session.to_hash, "") %> +* data: <%= raw PP.pp(@request.session.to_hash, +"") %>