Skip to content

Commit

Permalink
Release v5.01
Browse files Browse the repository at this point in the history
  • Loading branch information
derf committed Nov 25, 2023
1 parent 222e428 commit 3ca0d07
Show file tree
Hide file tree
Showing 10 changed files with 26 additions and 17 deletions.
9 changes: 9 additions & 0 deletions Changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
Travel::Status::DE::DeutscheBahn 5.01 - Sat Nov 25 2023

* Fix incorrect handling of HIM messages (introduced in 4.19)
* hafas-m: Declutter station board output: sort by real-time data and show
all messages at the end
* Journey: Support construction from JSON that does not provide a date
attribute (i.e., add date parameter to constructor)
* Stop: Add messages accessor

Travel::Status::DE::DeutscheBahn 5.00 - Tue Nov 21 2023

* hafas-m: Add --raw-json option (useful for HAFAS client development)
Expand Down
4 changes: 2 additions & 2 deletions bin/hafas-m
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use strict;
use warnings;
use 5.014;

our $VERSION = '5.00';
our $VERSION = '5.01';

use utf8;
use DateTime;
Expand Down Expand Up @@ -515,7 +515,7 @@ B<hafas-m> [B<-s> I<service>] [B<-l> I<language>] B<!>I<query>|I<journeyID>
=head1 VERSION
version 5.00
version 5.01
=head1 DESCRIPTION
Expand Down
4 changes: 2 additions & 2 deletions lib/Travel/Status/DE/DeutscheBahn.pm
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use 5.014;

use parent 'Travel::Status::DE::HAFAS';

our $VERSION = '5.00';
our $VERSION = '5.01';

sub new {
my ( $class, %opt ) = @_;
Expand Down Expand Up @@ -49,7 +49,7 @@ monitor operated by Deutsche Bahn
=head1 VERSION
version 5.00
version 5.01
=head1 DESCRIPTION
Expand Down
4 changes: 2 additions & 2 deletions lib/Travel/Status/DE/HAFAS.pm
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ use Travel::Status::DE::HAFAS::Message;
use Travel::Status::DE::HAFAS::Polyline qw(decode_polyline);
use Travel::Status::DE::HAFAS::StopFinder;

our $VERSION = '5.00';
our $VERSION = '5.01';

# {{{ Endpoint Definition

Expand Down Expand Up @@ -964,7 +964,7 @@ monitors
=head1 VERSION
version 5.00
version 5.01
=head1 DESCRIPTION
Expand Down
4 changes: 2 additions & 2 deletions lib/Travel/Status/DE/HAFAS/Journey.pm
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ use List::Util qw(any);
use Scalar::Util qw(weaken);
use Travel::Status::DE::HAFAS::Stop;

our $VERSION = '5.00';
our $VERSION = '5.01';

Travel::Status::DE::HAFAS::Journey->mk_ro_accessors(
qw(datetime sched_datetime rt_datetime
Expand Down Expand Up @@ -403,7 +403,7 @@ journey received by Travel::Status::DE::HAFAS
=head1 VERSION
version 5.00
version 5.01
=head1 DESCRIPTION
Expand Down
4 changes: 2 additions & 2 deletions lib/Travel/Status/DE/HAFAS/Location.pm
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use 5.014;

use parent 'Class::Accessor';

our $VERSION = '5.00';
our $VERSION = '5.01';

Travel::Status::DE::HAFAS::Location->mk_ro_accessors(
qw(lid type name eva state lat lon distance_m weight));
Expand Down Expand Up @@ -57,7 +57,7 @@ Travel::Status::DE::HAFAS::Location - A single public transit location
=head1 VERSION
version 5.00
version 5.01
=head1 DESCRIPTION
Expand Down
4 changes: 2 additions & 2 deletions lib/Travel/Status/DE/HAFAS/Message.pm
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use 5.014;

use parent 'Class::Accessor';

our $VERSION = '5.00';
our $VERSION = '5.01';

Travel::Status::DE::HAFAS::Message->mk_ro_accessors(
qw(short type text code prio is_him ref_count));
Expand Down Expand Up @@ -69,7 +69,7 @@ Travel::Status::DE::HAFAS::Message - An arrival/departure-related message.
=head1 VERSION
version 5.00
version 5.01
=head1 DESCRIPTION
Expand Down
2 changes: 1 addition & 1 deletion lib/Travel/Status/DE/HAFAS/Polyline.pm
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ use 5.014;
use parent 'Exporter';
our @EXPORT_OK = qw(decode_polyline);

our $VERSION = '5.00';
our $VERSION = '5.01';

# Translated this php script
# <http://unitstep.net/blog/2008/08/02/decoding-google-maps-encoded-polylines-using-php/>
Expand Down
4 changes: 2 additions & 2 deletions lib/Travel/Status/DE/HAFAS/Stop.pm
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use 5.014;

use parent 'Class::Accessor';

our $VERSION = '5.00';
our $VERSION = '5.01';

Travel::Status::DE::HAFAS::Stop->mk_ro_accessors(
qw(loc
Expand Down Expand Up @@ -183,7 +183,7 @@ Travel::Status::DE::HAFAS::Stop - Information about a HAFAS stop.
=head1 VERSION
version 5.00
version 5.01
=head1 DESCRIPTION
Expand Down
4 changes: 2 additions & 2 deletions lib/Travel/Status/DE/HAFAS/StopFinder.pm
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ use Encode qw(decode);
use JSON;
use LWP::UserAgent;

our $VERSION = '5.00';
our $VERSION = '5.01';

# {{{ Constructors

Expand Down Expand Up @@ -180,7 +180,7 @@ finder services
=head1 VERSION
version 5.00
version 5.01
=head1 DESCRIPTION
Expand Down

0 comments on commit 3ca0d07

Please sign in to comment.