Upgrade dependencies

Change-Id: I314ff7efa980c3b803f714d487d9d7a4f33a8a30
diff --git a/Changes b/Changes
index 9735087..8cbeafa 100644
--- a/Changes
+++ b/Changes
@@ -1,9 +1,11 @@
-0.53 2024-03-14
+0.53 2024-03-15
         - Solve a potential timing issue in VC rendering. (diewald)
         - Update DeReKo link in corpus specific localization. (hebasta)
         - News and announcements are now displayed in Safari (fixes #208). (hebasta) 
         - Translate example query documentation. (diewald)
         - Fix: The content of blockquote is displayed. (hebasta) 
+        - Upgrade dependency and remove deprecated
+          method. (diewald)
 
 0.52 2023-11-29
         - Update Piwik dependency to point to matomo.js. (diewald)
diff --git a/Makefile.PL b/Makefile.PL
index 9717a58..81814c6 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -17,7 +17,7 @@
   },
   LICENSE      => 'freebsd',
   PREREQ_PM => {
-    'Mojolicious' => '9.32',
+    'Mojolicious' => '9.34',
     'Mojolicious::Plugin::TagHelpers::Pagination' => 0.10,
     'Mojolicious::Plugin::TagHelpers::MailToChiffre' => 0.13,
     'Mojolicious::Plugin::ClosedRedirect' => 0.15,
diff --git a/lib/Kalamar.pm b/lib/Kalamar.pm
index 0e924a3..c93042f 100644
--- a/lib/Kalamar.pm
+++ b/lib/Kalamar.pm
@@ -65,7 +65,7 @@
     }
 
     eval {
-      $secret_file->spurt(encode_json(@$secrets));
+      $secret_file->spew(encode_json(@$secrets));
       $secret_file->chmod(0600);
       if (-w $secret_file) {
         $self->log->warn(
diff --git a/t/plugin/auth-oauth.t b/t/plugin/auth-oauth.t
index a67b98b..667b8e1 100644
--- a/t/plugin/auth-oauth.t
+++ b/t/plugin/auth-oauth.t
@@ -1246,7 +1246,7 @@
 # Retest client with super_client_file
 my $client_file = tempfile;
 
-$client_file->spurt(
+$client_file->spew(
   '{"client_id":"2","client_secret":"k414m4r-s3cr3t"}'
 );
 
diff --git a/t/plugin/plugins.t b/t/plugin/plugins.t
index eb8b2a2..2c3f258 100644
--- a/t/plugin/plugins.t
+++ b/t/plugin/plugins.t
@@ -8,7 +8,7 @@
 
 my $temp = tempfile();
 
-$temp->spurt(<<SCRIPT);
+$temp->spew(<<SCRIPT);
 [{
   "name" : "Export",
   "desc" : "Exports Kalamar results",