Commit 9a196c63 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

Release v0.04

parent c679a589
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
git HEAD
Travel::Status::DE::DeutscheBahn 0.04 - Wed Jul 13 2011

    [Travel::Status::DE::DeutscheBahn::Result]
    * The info accessor now strips the mostly useless "k.A." / "pünktlich"
+2 −2
Original line number Diff line number Diff line
@@ -3,7 +3,7 @@ use strict;
use warnings;
use 5.010;

our $VERSION = '0.03';
our $VERSION = '0.04';

use Getopt::Long qw(:config no_ignore_case);
use List::Util qw(first max);
@@ -123,7 +123,7 @@ B<db-ris> [B<-d> I<date>] [B<-L>] [B<-m> I<motlist>] [B<-t> I<time>]

=head1 VERSION

version 0.03
version 0.04

=head1 DESCRIPTION

+3 −4
Original line number Diff line number Diff line
@@ -10,7 +10,7 @@ use POSIX qw(strftime);
use Travel::Status::DE::DeutscheBahn::Result;
use XML::LibXML;

our $VERSION = '0.03';
our $VERSION = '0.04';

sub new {
	my ( $obj, %conf ) = @_;
@@ -202,7 +202,7 @@ arrival/departure monitor

=head1 VERSION

version 0.03
version 0.04

=head1 DESCRIPTION

@@ -280,8 +280,7 @@ None.

=head1 BUGS AND LIMITATIONS

In the web interface, a train's route contains station names and the
corresponding arrival times.  These times are not yet accessible.
There are a few character encoding issues.

=head1 SEE ALSO

+12 −7
Original line number Diff line number Diff line
@@ -6,7 +6,7 @@ use 5.010;

use parent 'Class::Accessor';

our $VERSION = '0.03';
our $VERSION = '0.04';

Travel::Status::DE::DeutscheBahn::Result->mk_ro_accessors(
	qw(time train route_end route_raw platform info_raw));
@@ -149,7 +149,7 @@ arrival/departure received by Travel::Status::DE::DeutscheBahn

=head1 VERSION

version 0.03
version 0.04

=head1 DESCRIPTION

@@ -177,7 +177,7 @@ Convenience aliases for $result->route_end.

=item $result->delay

Returns the train's delay in steps of 5 minutes, or undef if it is unknown.
Returns the train's delay in minutes, or undef if it is unknown.

=item $result->info

@@ -196,13 +196,18 @@ station and its origin/destination.

=item $result->route_interesting([I<max>])

Returns a list of (at most I<max>) interesting stations the train will pass on
its journey. This is somewhat tricky (and therefore experimental).
Returns a list of up to I<max> (default: 3) interesting stations the train
will pass on its journey. Since deciding whether a station is interesting or
not is somewhat tricky, this feature should be considered experimental.

The first element of the list is always the train's next stop. The following
elements contain as many main stations as possible, but there may also be
smaller stations if not enough main stations are available.

In future versions, other factors may be taken into account as well.  For
example, right now airport stations are usually not included in this list,
although they should be.

Note that all main stations will be stripped of their "Hbf" suffix.

=item $result->route_raw
@@ -248,7 +253,7 @@ Required I<data>:

=item B<platform> => I<string>

=item B<info> => I<string>
=item B<info_raw> => I<string>

=back

@@ -268,7 +273,7 @@ None.

=head1 BUGS AND LIMITATIONS

Unknown.
Arrival times are present in B<route_raw>, but not accessible via B<route>.

=head1 SEE ALSO