diff --git a/Changelog b/Changelog index ec9221684e1eaeffb5d4254a1e6974a81e485f3c..d0ba2af75f3256a1e56b0745e9728c1b9e874920 100644 --- a/Changelog +++ b/Changelog @@ -1,3 +1,9 @@ +Travel::Status::DE::IRIS 1.33 - Sat Oct 05 2019 + + * Fix $result->route_pre / route_post accessors providing bogus data + when all previous/following stops are cancelled. They used to return + sched_route_pre / sched_route_post instead of an empty list in this case. + Travel::Status::DE::IRIS 1.32 - Thu Aug 22 2019 * Travel::Status::DE::IRIS::Stations: Add geocoordinates fo some swiss diff --git a/bin/db-iris b/bin/db-iris index 108adb83383a97399f238cabeb1c08f362c884fc..082681f41e607033df723ac9182b4c2ecb0cd468 100755 --- a/bin/db-iris +++ b/bin/db-iris @@ -6,7 +6,7 @@ use utf8; no if $] >= 5.018, warnings => 'experimental::smartmatch'; -our $VERSION = '1.32'; +our $VERSION = '1.33'; use DateTime; use DateTime::Format::Strptime; @@ -533,7 +533,7 @@ B [B<-rx>] [B<-d> I] [B<-o> I] =head1 VERSION -version 1.32 +version 1.33 =head1 DESCRIPTION diff --git a/lib/Travel/Status/DE/IRIS.pm b/lib/Travel/Status/DE/IRIS.pm index e3073a66f32d0c6ca3772ad996be22604baee6f4..e1b741049a01a279b9ba71cce93e142edb8ae927 100644 --- a/lib/Travel/Status/DE/IRIS.pm +++ b/lib/Travel/Status/DE/IRIS.pm @@ -6,7 +6,7 @@ use 5.014; no if $] >= 5.018, warnings => 'experimental::smartmatch'; -our $VERSION = '1.32'; +our $VERSION = '1.33'; use Carp qw(confess cluck); use DateTime; @@ -614,7 +614,7 @@ Travel::Status::DE::IRIS - Interface to IRIS based web departure monitors. =head1 VERSION -version 1.32 +version 1.33 =head1 DESCRIPTION diff --git a/lib/Travel/Status/DE/IRIS/Result.pm b/lib/Travel/Status/DE/IRIS/Result.pm index 17692ce872410b031b9f788c569c03a41aa19d3d..a9aae855e4ee7ca7f62b70c97773946ec721caa3 100644 --- a/lib/Travel/Status/DE/IRIS/Result.pm +++ b/lib/Travel/Status/DE/IRIS/Result.pm @@ -15,7 +15,7 @@ use List::Compare; use List::MoreUtils qw(none uniq firstval); use Scalar::Util qw(weaken); -our $VERSION = '1.32'; +our $VERSION = '1.33'; my %translation = ( 2 => 'Polizeiliche Ermittlung', @@ -820,7 +820,7 @@ arrival/departure received by Travel::Status::DE::IRIS =head1 VERSION -version 1.32 +version 1.33 =head1 DESCRIPTION diff --git a/lib/Travel/Status/DE/IRIS/Stations.pm b/lib/Travel/Status/DE/IRIS/Stations.pm index 74b9634be3204784d72ec367fa3e430c3e142b73..4344887f293c00edf3183f068eaf7b151b95847e 100644 --- a/lib/Travel/Status/DE/IRIS/Stations.pm +++ b/lib/Travel/Status/DE/IRIS/Stations.pm @@ -17,7 +17,7 @@ use Text::LevenshteinXS qw(distance); # TODO switch to Text::Levenshtein::XS once AUR/Debian packages become available -our $VERSION = '1.32'; +our $VERSION = '1.33'; my @stations = (