diff --git a/Changes b/Changes index 1183e9b..f1a7da1 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,7 @@ {{$NEXT}} + - update dependences (mainly Mojolicious@9.35) + 0.033 2021-02-25T20:50:55Z - fix windows workflow (github) diff --git a/META.json b/META.json index e89cf3a..0e89ef3 100644 --- a/META.json +++ b/META.json @@ -4,7 +4,7 @@ "Daniel Mantovani, C" ], "dynamic_config" : 0, - "generated_by" : "Minilla/v3.1.10, CPAN::Meta::Converter version 2.150010", + "generated_by" : "Minilla/v3.1.23, CPAN::Meta::Converter version 2.150010", "license" : [ "perl_5" ], @@ -43,14 +43,14 @@ "runtime" : { "requires" : { "Algorithm::Cron" : "0.10", - "Mojolicious" : "7.82", + "Mojolicious" : "9.35", "perl" : "5.020001" } }, "test" : { "requires" : { - "Test2::V0" : "0.000114", - "Test::Mock::Time" : "v0.1.7" + "Test2::V0" : "0.000159", + "Test::Mock::Time" : "v0.2.1" } } }, @@ -62,7 +62,7 @@ "homepage" : "https://github.com/dmanto/Mojolicious-Plugin-Cron", "repository" : { "type" : "git", - "url" : "git://github.com/dmanto/Mojolicious-Plugin-Cron.git", + "url" : "https://github.com/dmanto/Mojolicious-Plugin-Cron.git", "web" : "https://github.com/dmanto/Mojolicious-Plugin-Cron" } }, @@ -75,6 +75,6 @@ "Sébastien Feugère ", "vagrant " ], - "x_serialization_backend" : "JSON::PP version 4.02", + "x_serialization_backend" : "JSON::PP version 4.07", "x_static_install" : 1 } diff --git a/cpanfile b/cpanfile index 40738ca..ecec02c 100644 --- a/cpanfile +++ b/cpanfile @@ -1,8 +1,8 @@ requires 'perl', '5.020001'; -requires 'Mojolicious', '7.82'; # tested versions +requires 'Mojolicious', '9.35'; requires 'Algorithm::Cron', '0.10'; on test => sub { - requires 'Test2::V0', '0.000114'; - requires 'Test::Mock::Time', '0.1.7'; + requires 'Test2::V0', '0.000159'; + requires 'Test::Mock::Time', '0.2.1'; } \ No newline at end of file diff --git a/lib/Mojolicious/Plugin/Cron.pm b/lib/Mojolicious/Plugin/Cron.pm index 250381d..e2440b6 100644 --- a/lib/Mojolicious/Plugin/Cron.pm +++ b/lib/Mojolicious/Plugin/Cron.pm @@ -76,7 +76,7 @@ sub _cron { if (-e $dat && $dat->slurp // '') =~ /(\d+)/; # do some untainting $rtime //= '0'; if ($rtime != $time) { - $dat->spurt($time); + $dat->spew($time); $fire = 1; } undef $dat;