summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2025-01-05 11:02:21 +0100
committerBirte Kristina Friesel <derf@finalrewind.org>2025-01-05 11:02:21 +0100
commit922262d1a23bcfece3d7a2a3e623fc347c8b47ae (patch)
tree29f60e3a2a1d767bc29f2fd0bdc4e4dc6f475f22
parent4ff0bc571c2c49fd814a56def5f612f4b9415a15 (diff)
Release v3.063.06
-rw-r--r--Changelog10
-rwxr-xr-xbin/efa-m4
-rw-r--r--lib/Travel/Status/DE/EFA.pm4
-rw-r--r--lib/Travel/Status/DE/EFA/Departure.pm4
-rw-r--r--lib/Travel/Status/DE/EFA/Info.pm4
-rw-r--r--lib/Travel/Status/DE/EFA/Line.pm4
-rw-r--r--lib/Travel/Status/DE/EFA/Services.pm.PL2
-rw-r--r--lib/Travel/Status/DE/EFA/Stop.pm4
-rw-r--r--lib/Travel/Status/DE/EFA/Trip.pm4
-rw-r--r--lib/Travel/Status/DE/VRR.pm4
10 files changed, 27 insertions, 17 deletions
diff --git a/Changelog b/Changelog
index 0d46e55..bddc1f1 100644
--- a/Changelog
+++ b/Changelog
@@ -1,3 +1,13 @@
+Travel::Status::DE::VRR 3.06 - Sun Jan 05 2025
+
+ * EFA APIs know two types of stop IDs: numbers and codes. This module now
+ consistently refers to numeric stop IDs as "id_num" and stop ID codes as
+ "id_code".
+ * Departure: Rename ->stop_id to ->stop_id_num
+ * Stop: Rename ->id to ->id_num
+ * Stop: Rename ->stop_id to ->id_code
+ * Departure: Add ->id accessor.
+
Travel::Status::DE::VRR 3.05 - Mon Dec 30 2024
* efa-m: add --raw-json option
diff --git a/bin/efa-m b/bin/efa-m
index 0485660..f984b9b 100755
--- a/bin/efa-m
+++ b/bin/efa-m
@@ -4,7 +4,7 @@ use warnings;
use 5.010;
use utf8;
-our $VERSION = '3.05';
+our $VERSION = '3.06';
binmode( STDOUT, ':encoding(utf-8)' );
@@ -610,7 +610,7 @@ B<efa-m> [B<-s> I<service>] I<tripid>
=head1 VERSION
-version 3.05
+version 3.06
=head1 DESCRIPTION
diff --git a/lib/Travel/Status/DE/EFA.pm b/lib/Travel/Status/DE/EFA.pm
index ca418b4..fef460d 100644
--- a/lib/Travel/Status/DE/EFA.pm
+++ b/lib/Travel/Status/DE/EFA.pm
@@ -5,7 +5,7 @@ use warnings;
use 5.010;
use utf8;
-our $VERSION = '3.05';
+our $VERSION = '3.06';
use Carp qw(confess cluck);
use DateTime;
@@ -680,7 +680,7 @@ Travel::Status::DE::EFA - unofficial EFA departure monitor
=head1 VERSION
-version 3.05
+version 3.06
=head1 DESCRIPTION
diff --git a/lib/Travel/Status/DE/EFA/Departure.pm b/lib/Travel/Status/DE/EFA/Departure.pm
index 6053215..2a138d4 100644
--- a/lib/Travel/Status/DE/EFA/Departure.pm
+++ b/lib/Travel/Status/DE/EFA/Departure.pm
@@ -10,7 +10,7 @@ use Travel::Status::DE::EFA::Stop;
use parent 'Class::Accessor';
-our $VERSION = '3.05';
+our $VERSION = '3.06';
Travel::Status::DE::EFA::Departure->mk_ro_accessors(
qw(countdown datetime delay destination is_cancelled key line lineref mot
@@ -303,7 +303,7 @@ departure received by Travel::Status::DE::EFA
=head1 VERSION
-version 3.05
+version 3.06
=head1 DESCRIPTION
diff --git a/lib/Travel/Status/DE/EFA/Info.pm b/lib/Travel/Status/DE/EFA/Info.pm
index 9dc7548..703382c 100644
--- a/lib/Travel/Status/DE/EFA/Info.pm
+++ b/lib/Travel/Status/DE/EFA/Info.pm
@@ -6,7 +6,7 @@ use 5.010;
use parent 'Class::Accessor';
-our $VERSION = '3.05';
+our $VERSION = '3.06';
Travel::Status::DE::EFA::Info->mk_ro_accessors(
qw(link_url link_text subject content subtitle additional_text));
@@ -58,7 +58,7 @@ Travel::Status::DE::EFA::Info - Information about a public transit stop
=head1 VERSION
-version 3.05
+version 3.06
=head1 DESCRIPTION
diff --git a/lib/Travel/Status/DE/EFA/Line.pm b/lib/Travel/Status/DE/EFA/Line.pm
index 0c1a0e0..a43dda0 100644
--- a/lib/Travel/Status/DE/EFA/Line.pm
+++ b/lib/Travel/Status/DE/EFA/Line.pm
@@ -6,7 +6,7 @@ use 5.010;
use parent 'Class::Accessor';
-our $VERSION = '3.05';
+our $VERSION = '3.06';
Travel::Status::DE::EFA::Line->mk_ro_accessors(
qw(direction mot name number operator route type valid));
@@ -57,7 +57,7 @@ requested station
=head1 VERSION
-version 3.05
+version 3.06
=head1 DESCRIPTION
diff --git a/lib/Travel/Status/DE/EFA/Services.pm.PL b/lib/Travel/Status/DE/EFA/Services.pm.PL
index 49965a2..c3cb9e3 100644
--- a/lib/Travel/Status/DE/EFA/Services.pm.PL
+++ b/lib/Travel/Status/DE/EFA/Services.pm.PL
@@ -100,7 +100,7 @@ use warnings;
use 5.014;
use utf8;
-our $VERSION = '3.05';
+our $VERSION = '3.06';
# Most of these have been adapted from
# <https://github.com/public-transport/transport-apis> and
diff --git a/lib/Travel/Status/DE/EFA/Stop.pm b/lib/Travel/Status/DE/EFA/Stop.pm
index 9a96f0c..1dc8cda 100644
--- a/lib/Travel/Status/DE/EFA/Stop.pm
+++ b/lib/Travel/Status/DE/EFA/Stop.pm
@@ -6,7 +6,7 @@ use 5.010;
use parent 'Class::Accessor';
-our $VERSION = '3.05';
+our $VERSION = '3.06';
Travel::Status::DE::EFA::Stop->mk_ro_accessors(
qw(sched_arr rt_arr arr arr_delay
@@ -93,7 +93,7 @@ in a Travel::Status::DE::EFA::Result's route
=head1 VERSION
-version 3.05
+version 3.06
=head1 DESCRIPTION
diff --git a/lib/Travel/Status/DE/EFA/Trip.pm b/lib/Travel/Status/DE/EFA/Trip.pm
index 98a78ab..839fcca 100644
--- a/lib/Travel/Status/DE/EFA/Trip.pm
+++ b/lib/Travel/Status/DE/EFA/Trip.pm
@@ -9,7 +9,7 @@ use Travel::Status::DE::EFA::Stop;
use parent 'Class::Accessor';
-our $VERSION = '3.05';
+our $VERSION = '3.06';
Travel::Status::DE::EFA::Trip->mk_ro_accessors(
qw(operator product product_class name line number type id dest_name dest_id)
@@ -150,7 +150,7 @@ trip
=head1 VERSION
-version 3.05
+version 3.06
=head1 DESCRIPTION
diff --git a/lib/Travel/Status/DE/VRR.pm b/lib/Travel/Status/DE/VRR.pm
index 347d02c..a0c183f 100644
--- a/lib/Travel/Status/DE/VRR.pm
+++ b/lib/Travel/Status/DE/VRR.pm
@@ -4,7 +4,7 @@ use strict;
use warnings;
use 5.010;
-our $VERSION = '3.05';
+our $VERSION = '3.06';
use parent 'Travel::Status::DE::EFA';
@@ -43,7 +43,7 @@ Travel::Status::DE::VRR - unofficial VRR departure monitor.
=head1 VERSION
-version 3.05
+version 3.06
=head1 DESCRIPTION