summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2020-05-09 06:35:34 +0200
committerDaniel Friesel <derf@finalrewind.org>2020-05-09 06:35:34 +0200
commitbb4034f3ae1c8e54391e57135d604f22d6edcc26 (patch)
tree9562ebd8a6dde1239826f0fab8a6fac0ad270b0b
parent39a4b70c66622a74f6bbbbfaf0b3e99e60e9e511 (diff)
Release v3.00 (backwards-incompatible Result->date/datetime/time changes)3.00
-rw-r--r--Changelog7
-rwxr-xr-xbin/hafas-m4
-rw-r--r--lib/Travel/Status/DE/DeutscheBahn.pm4
-rw-r--r--lib/Travel/Status/DE/HAFAS.pm4
-rw-r--r--lib/Travel/Status/DE/HAFAS/Result.pm4
-rw-r--r--lib/Travel/Status/DE/HAFAS/StopFinder.pm4
6 files changed, 17 insertions, 10 deletions
diff --git a/Changelog b/Changelog
index 8f47bba..81e9660 100644
--- a/Changelog
+++ b/Changelog
@@ -1,3 +1,10 @@
+Travel::Status::DE::DeutscheBahn 3.00 - Sat May 09 2020
+
+ * Result: The date, datetime, and time accessors now report realtime
+ data if available
+ * Result: Add sched_date, sched_datetime, and sched_time accessors for
+ schedule data
+
Travel::Status::DE::DeutscheBahn 2.05 - Sun May 03 2020
* Document LWP::Protocol::https dependency
diff --git a/bin/hafas-m b/bin/hafas-m
index aff469c..033f189 100755
--- a/bin/hafas-m
+++ b/bin/hafas-m
@@ -3,7 +3,7 @@ use strict;
use warnings;
use 5.014;
-our $VERSION = '2.05';
+our $VERSION = '3.00';
use Encode qw(decode);
use Getopt::Long qw(:config no_ignore_case);
@@ -212,7 +212,7 @@ B<hafas-m> [B<-d> I<date>] [B<-t> I<time>] [B<-m> I<motlist>]
=head1 VERSION
-version 2.05
+version 3.00
=head1 DESCRIPTION
diff --git a/lib/Travel/Status/DE/DeutscheBahn.pm b/lib/Travel/Status/DE/DeutscheBahn.pm
index baca059..d64ad05 100644
--- a/lib/Travel/Status/DE/DeutscheBahn.pm
+++ b/lib/Travel/Status/DE/DeutscheBahn.pm
@@ -6,7 +6,7 @@ use 5.014;
use parent 'Travel::Status::DE::HAFAS';
-our $VERSION = '2.05';
+our $VERSION = '3.00';
sub new {
my ( $class, %opt ) = @_;
@@ -49,7 +49,7 @@ monitor operated by Deutsche Bahn
=head1 VERSION
-version 2.05
+version 3.00
=head1 DESCRIPTION
diff --git a/lib/Travel/Status/DE/HAFAS.pm b/lib/Travel/Status/DE/HAFAS.pm
index 2e29814..39621d5 100644
--- a/lib/Travel/Status/DE/HAFAS.pm
+++ b/lib/Travel/Status/DE/HAFAS.pm
@@ -16,7 +16,7 @@ use Travel::Status::DE::HAFAS::Result;
use Travel::Status::DE::HAFAS::StopFinder;
use XML::LibXML;
-our $VERSION = '2.05';
+our $VERSION = '3.00';
my %hafas_instance = (
@@ -430,7 +430,7 @@ monitors
=head1 VERSION
-version 2.05
+version 3.00
=head1 DESCRIPTION
diff --git a/lib/Travel/Status/DE/HAFAS/Result.pm b/lib/Travel/Status/DE/HAFAS/Result.pm
index f1cff2c..2ed5134 100644
--- a/lib/Travel/Status/DE/HAFAS/Result.pm
+++ b/lib/Travel/Status/DE/HAFAS/Result.pm
@@ -8,7 +8,7 @@ no if $] >= 5.018, warnings => 'experimental::smartmatch';
use parent 'Class::Accessor';
-our $VERSION = '2.05';
+our $VERSION = '3.00';
Travel::Status::DE::HAFAS::Result->mk_ro_accessors(
qw(sched_date date sched_datetime datetime info raw_e_delay raw_delay
@@ -205,7 +205,7 @@ arrival/departure received by Travel::Status::DE::HAFAS
=head1 VERSION
-version 2.05
+version 3.00
=head1 DESCRIPTION
diff --git a/lib/Travel/Status/DE/HAFAS/StopFinder.pm b/lib/Travel/Status/DE/HAFAS/StopFinder.pm
index d99ee2f..3affed7 100644
--- a/lib/Travel/Status/DE/HAFAS/StopFinder.pm
+++ b/lib/Travel/Status/DE/HAFAS/StopFinder.pm
@@ -12,7 +12,7 @@ use Encode qw(decode);
use JSON;
use LWP::UserAgent;
-our $VERSION = '2.05';
+our $VERSION = '3.00';
sub new {
my ( $obj, %conf ) = @_;
@@ -123,7 +123,7 @@ finder services
=head1 VERSION
-version 2.05
+version 3.00
=head1 DESCRIPTION