Loading Changelog +6 −0 Original line number Diff line number Diff line Travel::Status::DE::IRIS 1.42 - Wed Jan 15 2020 * Result: Fix TO_JSON method * db-iris: Cache backend results by default * db-iris: New options: --json and --no-cache Travel::Status::DE::IRIS 1.41 - Sun Dec 29 2019 * Result: Add "wing_of" accessor Loading bin/db-iris +8 −6 Original line number Diff line number Diff line Loading @@ -6,7 +6,7 @@ use utf8; no if $] >= 5.018, warnings => 'experimental::smartmatch'; our $VERSION = '1.41'; our $VERSION = '1.42'; use DateTime; use DateTime::Format::Strptime; Loading Loading @@ -571,7 +571,7 @@ B<db-iris> [B<-rx>] [B<-d> I<date>] [B<-o> I<output-flags>] =head1 VERSION version 1.41 version 1.42 =head1 DESCRIPTION Loading Loading @@ -615,10 +615,12 @@ IRIS backend, larger ones will not return data. =item B<--json> List departures as JSON. Outputs a JSON list containing one hash for each departure. The B<--output> option has no effect when using B<--json>. List results as JSON, see Travel::Status::DE::IRIS::Result(3pm) for a partial documentation of arrival/departure keys. The B<--output> option has no effect when using B<--json>. Note that JSON output is NOT compatible between releases. Its structure is not Note that JSON entries not mentioned in Travel::Status::DE::IRIS::Result(3pm) are NOT guaranteed to be compatible between releases. Their structure is not part of the db-iris / Travel::Status::DE::IRIS versioning scheme; it may change in backwards-incompatible ways anytime. Loading Loading @@ -826,7 +828,7 @@ There are no known bugs at the moment. =head1 AUTHOR Copyright (C) 2013-2019 by Daniel Friesel E<lt>derf@finalrewind.orgE<gt> Copyright (C) 2013-2020 by Daniel Friesel E<lt>derf@finalrewind.orgE<gt> The station data used by this script is provided by DB Station&Service AG, Europaplatz 1, 10557 Berlin, Germany and available Loading lib/Travel/Status/DE/IRIS.pm +3 −3 Original line number Diff line number Diff line Loading @@ -6,7 +6,7 @@ use 5.014; no if $] >= 5.018, warnings => 'experimental::smartmatch'; our $VERSION = '1.41'; our $VERSION = '1.42'; use Carp qw(confess cluck); use DateTime; Loading Loading @@ -630,7 +630,7 @@ Travel::Status::DE::IRIS - Interface to IRIS based web departure monitors. =head1 VERSION version 1.41 version 1.42 =head1 DESCRIPTION Loading Loading @@ -801,7 +801,7 @@ L<https://github.com/derf/Travel-Status-DE-IRIS> =head1 AUTHOR Copyright (C) 2013-2019 by Daniel Friesel E<lt>derf@finalrewind.orgE<gt> Copyright (C) 2013-2020 by Daniel Friesel E<lt>derf@finalrewind.orgE<gt> =head1 LICENSE Loading lib/Travel/Status/DE/IRIS/Result.pm +3 −3 Original line number Diff line number Diff line Loading @@ -15,7 +15,7 @@ use List::Compare; use List::MoreUtils qw(none uniq firstval); use Scalar::Util qw(weaken); our $VERSION = '1.41'; our $VERSION = '1.42'; my %translation = ( 2 => 'Polizeiliche Ermittlung', Loading Loading @@ -839,7 +839,7 @@ arrival/departure received by Travel::Status::DE::IRIS =head1 VERSION version 1.41 version 1.42 =head1 DESCRIPTION Loading Loading @@ -1483,7 +1483,7 @@ Travel::Status::DE::IRIS(3pm). =head1 AUTHOR Copyright (C) 2013-2019 by Daniel Friesel E<lt>derf@finalrewind.orgE<gt> Copyright (C) 2013-2020 by Daniel Friesel E<lt>derf@finalrewind.orgE<gt> =head1 LICENSE Loading lib/Travel/Status/DE/IRIS/Stations.pm.PL +3 −3 Original line number Diff line number Diff line Loading @@ -35,7 +35,7 @@ use Text::LevenshteinXS qw(distance); # TODO switch to Text::Levenshtein::XS once AUR/Debian packages become available our $VERSION = '1.41'; our $VERSION = '1.42'; # Automatically generated, see share/stations.json my @stations = ( Loading Loading @@ -184,7 +184,7 @@ Travel::Status::DE::IRIS::Stations - Station name to station code mapping =head1 VERSION version 1.41 version 1.42 =head1 DESCRIPTION Loading Loading @@ -288,7 +288,7 @@ Travel::Status::DE::IRIS(3pm). Station data: Copyright (C) 2016 by DB Station&Service AG, Europaplatz 1, 10557 Berlin, Germany Lookup code: Copyright (C) 2014-2019 by Daniel Friesel E<lt>derf@finalrewind.orgE<gt> Lookup code: Copyright (C) 2014-2020 by Daniel Friesel E<lt>derf@finalrewind.orgE<gt> =head1 LICENSE Loading Loading
Changelog +6 −0 Original line number Diff line number Diff line Travel::Status::DE::IRIS 1.42 - Wed Jan 15 2020 * Result: Fix TO_JSON method * db-iris: Cache backend results by default * db-iris: New options: --json and --no-cache Travel::Status::DE::IRIS 1.41 - Sun Dec 29 2019 * Result: Add "wing_of" accessor Loading
bin/db-iris +8 −6 Original line number Diff line number Diff line Loading @@ -6,7 +6,7 @@ use utf8; no if $] >= 5.018, warnings => 'experimental::smartmatch'; our $VERSION = '1.41'; our $VERSION = '1.42'; use DateTime; use DateTime::Format::Strptime; Loading Loading @@ -571,7 +571,7 @@ B<db-iris> [B<-rx>] [B<-d> I<date>] [B<-o> I<output-flags>] =head1 VERSION version 1.41 version 1.42 =head1 DESCRIPTION Loading Loading @@ -615,10 +615,12 @@ IRIS backend, larger ones will not return data. =item B<--json> List departures as JSON. Outputs a JSON list containing one hash for each departure. The B<--output> option has no effect when using B<--json>. List results as JSON, see Travel::Status::DE::IRIS::Result(3pm) for a partial documentation of arrival/departure keys. The B<--output> option has no effect when using B<--json>. Note that JSON output is NOT compatible between releases. Its structure is not Note that JSON entries not mentioned in Travel::Status::DE::IRIS::Result(3pm) are NOT guaranteed to be compatible between releases. Their structure is not part of the db-iris / Travel::Status::DE::IRIS versioning scheme; it may change in backwards-incompatible ways anytime. Loading Loading @@ -826,7 +828,7 @@ There are no known bugs at the moment. =head1 AUTHOR Copyright (C) 2013-2019 by Daniel Friesel E<lt>derf@finalrewind.orgE<gt> Copyright (C) 2013-2020 by Daniel Friesel E<lt>derf@finalrewind.orgE<gt> The station data used by this script is provided by DB Station&Service AG, Europaplatz 1, 10557 Berlin, Germany and available Loading
lib/Travel/Status/DE/IRIS.pm +3 −3 Original line number Diff line number Diff line Loading @@ -6,7 +6,7 @@ use 5.014; no if $] >= 5.018, warnings => 'experimental::smartmatch'; our $VERSION = '1.41'; our $VERSION = '1.42'; use Carp qw(confess cluck); use DateTime; Loading Loading @@ -630,7 +630,7 @@ Travel::Status::DE::IRIS - Interface to IRIS based web departure monitors. =head1 VERSION version 1.41 version 1.42 =head1 DESCRIPTION Loading Loading @@ -801,7 +801,7 @@ L<https://github.com/derf/Travel-Status-DE-IRIS> =head1 AUTHOR Copyright (C) 2013-2019 by Daniel Friesel E<lt>derf@finalrewind.orgE<gt> Copyright (C) 2013-2020 by Daniel Friesel E<lt>derf@finalrewind.orgE<gt> =head1 LICENSE Loading
lib/Travel/Status/DE/IRIS/Result.pm +3 −3 Original line number Diff line number Diff line Loading @@ -15,7 +15,7 @@ use List::Compare; use List::MoreUtils qw(none uniq firstval); use Scalar::Util qw(weaken); our $VERSION = '1.41'; our $VERSION = '1.42'; my %translation = ( 2 => 'Polizeiliche Ermittlung', Loading Loading @@ -839,7 +839,7 @@ arrival/departure received by Travel::Status::DE::IRIS =head1 VERSION version 1.41 version 1.42 =head1 DESCRIPTION Loading Loading @@ -1483,7 +1483,7 @@ Travel::Status::DE::IRIS(3pm). =head1 AUTHOR Copyright (C) 2013-2019 by Daniel Friesel E<lt>derf@finalrewind.orgE<gt> Copyright (C) 2013-2020 by Daniel Friesel E<lt>derf@finalrewind.orgE<gt> =head1 LICENSE Loading
lib/Travel/Status/DE/IRIS/Stations.pm.PL +3 −3 Original line number Diff line number Diff line Loading @@ -35,7 +35,7 @@ use Text::LevenshteinXS qw(distance); # TODO switch to Text::Levenshtein::XS once AUR/Debian packages become available our $VERSION = '1.41'; our $VERSION = '1.42'; # Automatically generated, see share/stations.json my @stations = ( Loading Loading @@ -184,7 +184,7 @@ Travel::Status::DE::IRIS::Stations - Station name to station code mapping =head1 VERSION version 1.41 version 1.42 =head1 DESCRIPTION Loading Loading @@ -288,7 +288,7 @@ Travel::Status::DE::IRIS(3pm). Station data: Copyright (C) 2016 by DB Station&Service AG, Europaplatz 1, 10557 Berlin, Germany Lookup code: Copyright (C) 2014-2019 by Daniel Friesel E<lt>derf@finalrewind.orgE<gt> Lookup code: Copyright (C) 2014-2020 by Daniel Friesel E<lt>derf@finalrewind.orgE<gt> =head1 LICENSE Loading