summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changelog5
-rwxr-xr-xbin/db-wagenreihung4
-rw-r--r--lib/Travel/Status/DE/DBWagenreihung.pm4
-rw-r--r--lib/Travel/Status/DE/DBWagenreihung/Carriage.pm2
-rw-r--r--lib/Travel/Status/DE/DBWagenreihung/Group.pm2
-rw-r--r--lib/Travel/Status/DE/DBWagenreihung/Sector.pm2
6 files changed, 12 insertions, 7 deletions
diff --git a/Changelog b/Changelog
index a92a1e2..49b2b57 100644
--- a/Changelog
+++ b/Changelog
@@ -1,3 +1,8 @@
+Travel::Status::DE::DBWagenreihung 0.17 - Sat Aug 10 2024
+
+ * Group: Fix ->name accessor (thanks to Caß Dingenskirchen)
+ * Group: Add ->designation accessor (data courtesy of bahn.expert)
+
Travel::Status::DE::DBWagenreihung 0.16 - Wed Jul 31 2024
* Carriage: (re-)add amenity and first/second class accessors
diff --git a/bin/db-wagenreihung b/bin/db-wagenreihung
index 221fc7f..d4e7c87 100755
--- a/bin/db-wagenreihung
+++ b/bin/db-wagenreihung
@@ -4,7 +4,7 @@ use warnings;
use 5.020;
use utf8;
-our $VERSION = '0.16';
+our $VERSION = '0.17';
use Getopt::Long;
use List::Util qw(min);
@@ -184,7 +184,7 @@ B<db-wagenreihung> I<station> I<train-number>
=head1 VERSION
-version 0.16
+version 0.17
This is beta software: API and output format may change without notice.
diff --git a/lib/Travel/Status/DE/DBWagenreihung.pm b/lib/Travel/Status/DE/DBWagenreihung.pm
index 99291e3..eeddf3f 100644
--- a/lib/Travel/Status/DE/DBWagenreihung.pm
+++ b/lib/Travel/Status/DE/DBWagenreihung.pm
@@ -15,7 +15,7 @@ use Travel::Status::DE::DBWagenreihung::Group;
use Travel::Status::DE::DBWagenreihung::Sector;
use Travel::Status::DE::DBWagenreihung::Carriage;
-our $VERSION = '0.16';
+our $VERSION = '0.17';
Travel::Status::DE::DBWagenreihung->mk_ro_accessors(
qw(direction platform train_type));
@@ -331,7 +331,7 @@ Travel::Status::DE::DBWagenreihung - Interface to Deutsche Bahn carriage formati
=head1 VERSION
-version 0.16
+version 0.17
This is beta software. The API may change without notice.
diff --git a/lib/Travel/Status/DE/DBWagenreihung/Carriage.pm b/lib/Travel/Status/DE/DBWagenreihung/Carriage.pm
index f8bd72c..337c1e5 100644
--- a/lib/Travel/Status/DE/DBWagenreihung/Carriage.pm
+++ b/lib/Travel/Status/DE/DBWagenreihung/Carriage.pm
@@ -8,7 +8,7 @@ use utf8;
use parent 'Class::Accessor';
use Carp qw(cluck);
-our $VERSION = '0.16';
+our $VERSION = '0.17';
Travel::Status::DE::DBWagenreihung::Carriage->mk_ro_accessors(
qw(class_type is_closed is_dosto is_locomotive is_powercar
number model section uic_id type
diff --git a/lib/Travel/Status/DE/DBWagenreihung/Group.pm b/lib/Travel/Status/DE/DBWagenreihung/Group.pm
index 60d9c3b..5f00c0d 100644
--- a/lib/Travel/Status/DE/DBWagenreihung/Group.pm
+++ b/lib/Travel/Status/DE/DBWagenreihung/Group.pm
@@ -8,7 +8,7 @@ use utf8;
use parent 'Class::Accessor';
use List::Util qw(uniq);
-our $VERSION = '0.16';
+our $VERSION = '0.17';
Travel::Status::DE::DBWagenreihung::Group->mk_ro_accessors(
qw(designation name train_no train_type description desc_short destination has_sectors model series start_percent end_percent)
diff --git a/lib/Travel/Status/DE/DBWagenreihung/Sector.pm b/lib/Travel/Status/DE/DBWagenreihung/Sector.pm
index 111a3ce..53d3513 100644
--- a/lib/Travel/Status/DE/DBWagenreihung/Sector.pm
+++ b/lib/Travel/Status/DE/DBWagenreihung/Sector.pm
@@ -7,7 +7,7 @@ use utf8;
use parent 'Class::Accessor';
-our $VERSION = '0.16';
+our $VERSION = '0.17';
Travel::Status::DE::DBWagenreihung::Sector->mk_ro_accessors(
qw(name start_percent end_percent length_percent start_meters end_meters length_meters cube_meters cube_percent)