Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • derf/travel-routing-de-efa
1 result
Show changes
Commits on Source (2)
Travel::Routing::DE::VRR 2.24 - Thu Nov 23 2023
* efa: Make output less horizontally dense; show arrival and departure
delays in-line
* EFA::Route::Part: Add arrival_delay and departure_delay accessors
* EFA::Route::Part: via: Add delay field to returned list refs
Travel::Routing::DE::VRR 2.23 - Mon Oct 02 2023 Travel::Routing::DE::VRR 2.23 - Mon Oct 02 2023
* Update default API endpoint as the previously used efa.vrr.de/vrr seems * Update default API endpoint as the previously used efa.vrr.de/vrr seems
......
...@@ -12,7 +12,7 @@ use Exception::Class; ...@@ -12,7 +12,7 @@ use Exception::Class;
use Getopt::Long qw/:config no_ignore_case/; use Getopt::Long qw/:config no_ignore_case/;
use List::Util qw(first max); use List::Util qw(first max);
our $VERSION = '2.23'; our $VERSION = '2.24';
my $ignore_info; my $ignore_info;
my $efa; my $efa;
my $efa_url = 'https://app.vrr.de/vrrstd/XML_TRIP_REQUEST2'; my $efa_url = 'https://app.vrr.de/vrrstd/XML_TRIP_REQUEST2';
...@@ -523,7 +523,7 @@ efa - Command line client for EFA-based public transit routing services ...@@ -523,7 +523,7 @@ efa - Command line client for EFA-based public transit routing services
=head1 VERSION =head1 VERSION
version 2.23 version 2.24
=head1 DESCRIPTION =head1 DESCRIPTION
......
...@@ -40,7 +40,7 @@ use Exception::Class ( ...@@ -40,7 +40,7 @@ use Exception::Class (
}, },
); );
our $VERSION = '2.23'; our $VERSION = '2.24';
sub set_time { sub set_time {
my ( $self, %conf ) = @_; my ( $self, %conf ) = @_;
...@@ -981,7 +981,7 @@ Travel::Routing::DE::EFA - unofficial interface to EFA-based itinerary services ...@@ -981,7 +981,7 @@ Travel::Routing::DE::EFA - unofficial interface to EFA-based itinerary services
=head1 VERSION =head1 VERSION
version 2.23 version 2.24
=head1 DESCRIPTION =head1 DESCRIPTION
......
...@@ -8,7 +8,7 @@ use parent 'Class::Accessor'; ...@@ -8,7 +8,7 @@ use parent 'Class::Accessor';
use Travel::Routing::DE::EFA::Route::Part; use Travel::Routing::DE::EFA::Route::Part;
our $VERSION = '2.23'; our $VERSION = '2.24';
Travel::Routing::DE::EFA::Route->mk_ro_accessors( Travel::Routing::DE::EFA::Route->mk_ro_accessors(
qw(duration ticket_text ticket_type fare_adult fare_child vehicle_time)); qw(duration ticket_text ticket_type fare_adult fare_child vehicle_time));
...@@ -52,7 +52,7 @@ Travel::Routing::DE::EFA::Route - Single route (connection) between two points ...@@ -52,7 +52,7 @@ Travel::Routing::DE::EFA::Route - Single route (connection) between two points
=head1 VERSION =head1 VERSION
version 2.23 version 2.24
=head1 DESCRIPTION =head1 DESCRIPTION
......
...@@ -6,7 +6,7 @@ use 5.010; ...@@ -6,7 +6,7 @@ use 5.010;
use parent 'Class::Accessor'; use parent 'Class::Accessor';
our $VERSION = '2.23'; our $VERSION = '2.24';
Travel::Routing::DE::EFA::Route::Message->mk_ro_accessors( Travel::Routing::DE::EFA::Route::Message->mk_ro_accessors(
qw(is_detailed summary subject subtitle raw_content)); qw(is_detailed summary subject subtitle raw_content));
...@@ -58,7 +58,7 @@ route or route part. ...@@ -58,7 +58,7 @@ route or route part.
=head1 VERSION =head1 VERSION
version 2.23 version 2.24
=head1 DESCRIPTION =head1 DESCRIPTION
......
...@@ -6,7 +6,7 @@ use 5.010; ...@@ -6,7 +6,7 @@ use 5.010;
use parent 'Class::Accessor'; use parent 'Class::Accessor';
our $VERSION = '2.23'; our $VERSION = '2.24';
my %occupancy = ( my %occupancy = (
MANY_SEATS => 1, MANY_SEATS => 1,
...@@ -171,7 +171,7 @@ points, without interchanges ...@@ -171,7 +171,7 @@ points, without interchanges
=head1 VERSION =head1 VERSION
version 2.23 version 2.24
=head1 DESCRIPTION =head1 DESCRIPTION
...@@ -355,9 +355,10 @@ In those cases, B<train_destination> and B<train_line> are usually empty. ...@@ -355,9 +355,10 @@ In those cases, B<train_destination> and B<train_line> are usually empty.
=item $part->via =item $part->via
Returns a list of C<< [ "DD.MM.YYYY", "HH:MM", stop, platform ] >> arrayrefs Returns a list of C<< [ "DD.MM.YYYY", "HH:MM", stop, platform, delay ] >>
encoding the stops passed between B<departure_stop> and B<arrival_stop>, arrayrefs encoding the stops passed between B<departure_stop> and
if supported by the backend. Returns nothing / an empty list otherwise. B<arrival_stop>, if supported by the backend. Returns nothing / an empty list
otherwise. Date and time refer to schedule data and do not account for delays.
=back =back
......
...@@ -4,7 +4,7 @@ use strict; ...@@ -4,7 +4,7 @@ use strict;
use warnings; use warnings;
use 5.010; use 5.010;
our $VERSION = '2.23'; our $VERSION = '2.24';
use parent 'Travel::Routing::DE::EFA'; use parent 'Travel::Routing::DE::EFA';
...@@ -47,7 +47,7 @@ Travel::Routing::DE::VRR - unofficial interface to the efa.vrr.de German itinera ...@@ -47,7 +47,7 @@ Travel::Routing::DE::VRR - unofficial interface to the efa.vrr.de German itinera
=head1 VERSION =head1 VERSION
version 2.23 version 2.24
=head1 DESCRIPTION =head1 DESCRIPTION
......