From ed850c669e96ccaa62e34f8f73254dfbb1c9e4ba Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Thu, 26 Jan 2012 23:14:30 +0100 Subject: Release v2.01 --- Changelog | 3 ++- bin/efa | 23 +++++++++++++++++++---- lib/Travel/Routing/DE/VRR.pm | 4 ++-- lib/Travel/Routing/DE/VRR/Route.pm | 4 ++-- lib/Travel/Routing/DE/VRR/Route/Part.pm | 4 ++-- 5 files changed, 27 insertions(+), 11 deletions(-) diff --git a/Changelog b/Changelog index 5a09a5b..973f909 100644 --- a/Changelog +++ b/Changelog @@ -1,7 +1,8 @@ -git HEAD +Travel::Routing::DE::VRR 2.01 - Thu Jan 26 2012 * Fix bug in departure_stop_and_platform where the arrival_stop was used in case of unknown platforms + * Document -E / --extended-info in efa(1) Travel::Routing::DE::VRR 2.00 - Sun Dec 11 2011 diff --git a/bin/efa b/bin/efa index ccb7feb..5b79214 100755 --- a/bin/efa +++ b/bin/efa @@ -12,7 +12,7 @@ use Travel::Routing::DE::VRR; use Exception::Class; use Getopt::Long qw/:config no_ignore_case/; -our $VERSION = '2.00'; +our $VERSION = '2.01'; my $ignore_info = 'Fahrradmitnahme'; my $efa; my ( @from, @to, @via, $from_type, $to_type, $via_type ); @@ -259,7 +259,7 @@ efa - unofficial efa.vrr.de command line client =head1 VERSION -version 2.00 +version 2.01 =head1 DESCRIPTION @@ -311,6 +311,10 @@ Exclude I (comma separated list). Possible transports: zug, s-bahn, u-bahn, stadtbahn, tram, stadtbus, regionalbus, schnellbus, seilbahn, schiff, ast, sonstige +=item B<-E>|B<--extended-info> + +Display duration, ticket class and price for each route (if available) + =item B<-m>|B<--max-change> I Print connections with at most I interchanges @@ -406,8 +410,19 @@ None. =head1 DEPENDENCIES -This script requires perl 5.10 (or higher) with the XML::LibXML module -installed. +This script requires perl 5.10 (or higher) with the following modules: + +=over + +=item * Class::Accessor + +=item * Exception::Class + +=item * LWP::UserAgent + +=item * XML::LibXML + +=back =head1 BUGS AND LIMITATIONS diff --git a/lib/Travel/Routing/DE/VRR.pm b/lib/Travel/Routing/DE/VRR.pm index 467da88..0f38f9d 100644 --- a/lib/Travel/Routing/DE/VRR.pm +++ b/lib/Travel/Routing/DE/VRR.pm @@ -37,7 +37,7 @@ use Exception::Class ( }, ); -our $VERSION = '2.00'; +our $VERSION = '2.01'; sub set_time { my ( $self, %conf ) = @_; @@ -683,7 +683,7 @@ Travel::Routing::DE::VRR - unofficial interface to the efa.vrr.de German itinera =head1 VERSION -version 2.00 +version 2.01 =head1 DESCRIPTION diff --git a/lib/Travel/Routing/DE/VRR/Route.pm b/lib/Travel/Routing/DE/VRR/Route.pm index 2f23e9e..e460f7d 100644 --- a/lib/Travel/Routing/DE/VRR/Route.pm +++ b/lib/Travel/Routing/DE/VRR/Route.pm @@ -8,7 +8,7 @@ use parent 'Class::Accessor'; use Travel::Routing::DE::VRR::Route::Part; -our $VERSION = '2.00'; +our $VERSION = '2.01'; Travel::Routing::DE::VRR::Route->mk_ro_accessors( qw(duration ticket_text ticket_type fare_adult fare_child vehicle_time)); @@ -52,7 +52,7 @@ Travel::Routing::DE::VRR::Route - Single route (connection) between two points =head1 VERSION -version 2.00 +version 2.01 =head1 DESCRIPTION diff --git a/lib/Travel/Routing/DE/VRR/Route/Part.pm b/lib/Travel/Routing/DE/VRR/Route/Part.pm index e938b56..43e2829 100644 --- a/lib/Travel/Routing/DE/VRR/Route/Part.pm +++ b/lib/Travel/Routing/DE/VRR/Route/Part.pm @@ -6,7 +6,7 @@ use 5.010; use parent 'Class::Accessor'; -our $VERSION = '2.00'; +our $VERSION = '2.01'; Travel::Routing::DE::VRR::Route::Part->mk_ro_accessors( qw(arrival_platform arrival_stop @@ -86,7 +86,7 @@ points, without interchanges =head1 VERSION -version 2.00 +version 2.01 =head1 DESCRIPTION -- cgit v1.2.3