summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changelog7
-rwxr-xr-xbin/db-iris4
-rw-r--r--lib/Travel/Status/DE/IRIS.pm4
-rw-r--r--lib/Travel/Status/DE/IRIS/Result.pm4
-rw-r--r--lib/Travel/Status/DE/IRIS/Stations.pm2
5 files changed, 14 insertions, 7 deletions
diff --git a/Changelog b/Changelog
index c24e531..aadb884 100644
--- a/Changelog
+++ b/Changelog
@@ -1,3 +1,10 @@
+Travel::Status::DE::IRIS 1.20 - Mon Aug 06 2018
+
+ * Use schedule instead of realtime data when determining whether a train
+ falls within the lookahead time frame. This fixes severely delayed
+ trains being ignored even if their scheduled arrival/departure is very
+ soon or has already passed.
+
Travel::Status::DE::IRIS 1.19 - Wed Aug 01 2018
* db-iris: Fix "-ot" ignoring arrival delay if departure is on time
diff --git a/bin/db-iris b/bin/db-iris
index 5d84fb9..537577f 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.19';
+our $VERSION = '1.20';
use DateTime;
use DateTime::Format::Strptime;
@@ -535,7 +535,7 @@ I<station>
=head1 VERSION
-version 1.19
+version 1.20
=head1 DESCRIPTION
diff --git a/lib/Travel/Status/DE/IRIS.pm b/lib/Travel/Status/DE/IRIS.pm
index 21bc599..f9a05ee 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.19';
+our $VERSION = '1.20';
use Carp qw(confess cluck);
use DateTime;
@@ -576,7 +576,7 @@ Travel::Status::DE::IRIS - Interface to IRIS based web departure monitors.
=head1 VERSION
-version 1.19
+version 1.20
=head1 DESCRIPTION
diff --git a/lib/Travel/Status/DE/IRIS/Result.pm b/lib/Travel/Status/DE/IRIS/Result.pm
index 4f5a0ae..e5f00ab 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.19';
+our $VERSION = '1.20';
my %translation = (
2 => 'Polizeiliche Ermittlung',
@@ -801,7 +801,7 @@ arrival/departure received by Travel::Status::DE::IRIS
=head1 VERSION
-version 1.19
+version 1.20
=head1 DESCRIPTION
diff --git a/lib/Travel/Status/DE/IRIS/Stations.pm b/lib/Travel/Status/DE/IRIS/Stations.pm
index b4ef464..f954478 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.19';
+our $VERSION = '1.20';
my @stations = (