Commit 65c7386d authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

Release v1.42

parent 519d2bbf
Loading
Loading
Loading
Loading
+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
+8 −6
Original line number Diff line number Diff line
@@ -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;
@@ -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

@@ -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.

@@ -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
+3 −3
Original line number Diff line number Diff line
@@ -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;
@@ -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

@@ -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

+3 −3
Original line number Diff line number Diff line
@@ -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',
@@ -839,7 +839,7 @@ arrival/departure received by Travel::Status::DE::IRIS

=head1 VERSION

version 1.41
version 1.42

=head1 DESCRIPTION

@@ -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

+3 −3
Original line number Diff line number Diff line
@@ -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 = (
@@ -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

@@ -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