Loading Changelog +14 −0 Original line number Diff line number Diff line Travel::Status::DE::DBWagenreihung 0.14 - Sun Apr 28 2024 * This module now explicitly treats carriages as groups, just like the backend does. Each group contains at least one carriage and has a distinct number, origin, destination, and train type / description. * Add Travel::Status::DE::DBWagenreihung::Group module. * DBWagenreihung: Add groups, carriages, and train_nos accessors. * DBWagenreihung: origins, destinations: Return hashrefs with "name" / "groups" / "sections" rather than "name" / "sections". * DBWagenreihung: Remove train_descriptions, wagongroup_description, wagongroup_subtype, and wagongroup_model accessors. Use $wr->groups and $group->description / $group->desc_short instead. This is a breaking change. Travel::Status::DE::DBWagenreihung 0.13 - Sat Apr 27 2024 * DBWagenreihung: Add station accessor. Loading bin/db-wagenreihung +2 −2 Original line number Diff line number Diff line Loading @@ -4,7 +4,7 @@ use warnings; use 5.020; use utf8; our $VERSION = '0.13'; our $VERSION = '0.14'; use Getopt::Long; use List::Util qw(min); Loading Loading @@ -189,7 +189,7 @@ B<db-wagenreihung> I<station> I<train-number> =head1 VERSION version 0.13 version 0.14 This is beta software: API and output format may change without notice. Loading lib/Travel/Status/DE/DBWagenreihung.pm +2 −2 Original line number Diff line number Diff line Loading @@ -15,7 +15,7 @@ use Travel::Status::DE::DBWagenreihung::Group; use Travel::Status::DE::DBWagenreihung::Section; use Travel::Status::DE::DBWagenreihung::Wagon; our $VERSION = '0.13'; our $VERSION = '0.14'; Travel::Status::DE::DBWagenreihung->mk_ro_accessors( qw(direction platform station train_no train_type)); Loading Loading @@ -778,7 +778,7 @@ Travel::Status::DE::DBWagenreihung - Interface to Deutsche Bahn carriage formati =head1 VERSION version 0.13 version 0.14 This is beta software. The API may change without notice. Loading lib/Travel/Status/DE/DBWagenreihung/Group.pm +1 −1 Original line number Diff line number Diff line Loading @@ -7,7 +7,7 @@ use utf8; use parent 'Class::Accessor'; our $VERSION = '0.13'; our $VERSION = '0.14'; Travel::Status::DE::DBWagenreihung::Group->mk_ro_accessors( qw(id train_no type description desc_short origin destination has_sections) Loading lib/Travel/Status/DE/DBWagenreihung/Section.pm +1 −1 Original line number Diff line number Diff line Loading @@ -7,7 +7,7 @@ use utf8; use parent 'Class::Accessor'; our $VERSION = '0.13'; our $VERSION = '0.14'; Travel::Status::DE::DBWagenreihung::Section->mk_ro_accessors( qw(name start_percent end_percent length_percent start_meters end_meters length_meters) Loading Loading
Changelog +14 −0 Original line number Diff line number Diff line Travel::Status::DE::DBWagenreihung 0.14 - Sun Apr 28 2024 * This module now explicitly treats carriages as groups, just like the backend does. Each group contains at least one carriage and has a distinct number, origin, destination, and train type / description. * Add Travel::Status::DE::DBWagenreihung::Group module. * DBWagenreihung: Add groups, carriages, and train_nos accessors. * DBWagenreihung: origins, destinations: Return hashrefs with "name" / "groups" / "sections" rather than "name" / "sections". * DBWagenreihung: Remove train_descriptions, wagongroup_description, wagongroup_subtype, and wagongroup_model accessors. Use $wr->groups and $group->description / $group->desc_short instead. This is a breaking change. Travel::Status::DE::DBWagenreihung 0.13 - Sat Apr 27 2024 * DBWagenreihung: Add station accessor. Loading
bin/db-wagenreihung +2 −2 Original line number Diff line number Diff line Loading @@ -4,7 +4,7 @@ use warnings; use 5.020; use utf8; our $VERSION = '0.13'; our $VERSION = '0.14'; use Getopt::Long; use List::Util qw(min); Loading Loading @@ -189,7 +189,7 @@ B<db-wagenreihung> I<station> I<train-number> =head1 VERSION version 0.13 version 0.14 This is beta software: API and output format may change without notice. Loading
lib/Travel/Status/DE/DBWagenreihung.pm +2 −2 Original line number Diff line number Diff line Loading @@ -15,7 +15,7 @@ use Travel::Status::DE::DBWagenreihung::Group; use Travel::Status::DE::DBWagenreihung::Section; use Travel::Status::DE::DBWagenreihung::Wagon; our $VERSION = '0.13'; our $VERSION = '0.14'; Travel::Status::DE::DBWagenreihung->mk_ro_accessors( qw(direction platform station train_no train_type)); Loading Loading @@ -778,7 +778,7 @@ Travel::Status::DE::DBWagenreihung - Interface to Deutsche Bahn carriage formati =head1 VERSION version 0.13 version 0.14 This is beta software. The API may change without notice. Loading
lib/Travel/Status/DE/DBWagenreihung/Group.pm +1 −1 Original line number Diff line number Diff line Loading @@ -7,7 +7,7 @@ use utf8; use parent 'Class::Accessor'; our $VERSION = '0.13'; our $VERSION = '0.14'; Travel::Status::DE::DBWagenreihung::Group->mk_ro_accessors( qw(id train_no type description desc_short origin destination has_sections) Loading
lib/Travel/Status/DE/DBWagenreihung/Section.pm +1 −1 Original line number Diff line number Diff line Loading @@ -7,7 +7,7 @@ use utf8; use parent 'Class::Accessor'; our $VERSION = '0.13'; our $VERSION = '0.14'; Travel::Status::DE::DBWagenreihung::Section->mk_ro_accessors( qw(name start_percent end_percent length_percent start_meters end_meters length_meters) Loading