summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changelog4
-rwxr-xr-xbin/db-wagenreihung4
-rw-r--r--lib/Travel/Status/DE/DBWagenreihung.pm4
-rw-r--r--lib/Travel/Status/DE/DBWagenreihung/Section.pm2
-rw-r--r--lib/Travel/Status/DE/DBWagenreihung/Wagon.pm2
5 files changed, 10 insertions, 6 deletions
diff --git a/Changelog b/Changelog
index f18b140..5fc5ad5 100644
--- a/Changelog
+++ b/Changelog
@@ -1,3 +1,7 @@
+Travel::Status::DE::DBWagenreihung 0.02 - Sun Jun 23 2019
+
+ * Add from_json option to constructor
+
Travel::Status::DE::DBWagenreihung 0.01 - Fri May 31 2019
* Initial release. wagen order and wagon type information for a specific
diff --git a/bin/db-wagenreihung b/bin/db-wagenreihung
index 0e7d04a..e143ef8 100755
--- a/bin/db-wagenreihung
+++ b/bin/db-wagenreihung
@@ -4,7 +4,7 @@ use warnings;
use 5.020;
use utf8;
-our $VERSION = '0.01';
+our $VERSION = '0.02';
use Getopt::Long;
use List::Util qw(min);
@@ -160,7 +160,7 @@ B<db-wagenreihung> I<station> I<train-number>
=head1 VERSION
-version 0.01
+version 0.02
=head1 DESCRIPTION
diff --git a/lib/Travel/Status/DE/DBWagenreihung.pm b/lib/Travel/Status/DE/DBWagenreihung.pm
index 1952646..75eaafa 100644
--- a/lib/Travel/Status/DE/DBWagenreihung.pm
+++ b/lib/Travel/Status/DE/DBWagenreihung.pm
@@ -4,7 +4,7 @@ use strict;
use warnings;
use 5.020;
-our $VERSION = '0.01';
+our $VERSION = '0.02';
use Carp qw(cluck confess);
use JSON;
@@ -436,7 +436,7 @@ Travel::Status::DE::DBWagenreihung - Interface to Deutsche Bahn Wagon Order API.
=head1 VERSION
-version 0.01
+version 0.02
=head1 DESCRIPTION
diff --git a/lib/Travel/Status/DE/DBWagenreihung/Section.pm b/lib/Travel/Status/DE/DBWagenreihung/Section.pm
index 5954370..844f0ee 100644
--- a/lib/Travel/Status/DE/DBWagenreihung/Section.pm
+++ b/lib/Travel/Status/DE/DBWagenreihung/Section.pm
@@ -7,7 +7,7 @@ use utf8;
use parent 'Class::Accessor';
-our $VERSION = '0.01';
+our $VERSION = '0.02';
Travel::Status::DE::DBWagenreihung::Section->mk_ro_accessors(
qw(name start_percent end_percent length_percent start_meters end_meters length_meters)
diff --git a/lib/Travel/Status/DE/DBWagenreihung/Wagon.pm b/lib/Travel/Status/DE/DBWagenreihung/Wagon.pm
index 626315a..3f14f14 100644
--- a/lib/Travel/Status/DE/DBWagenreihung/Wagon.pm
+++ b/lib/Travel/Status/DE/DBWagenreihung/Wagon.pm
@@ -8,7 +8,7 @@ use utf8;
use parent 'Class::Accessor';
use Carp qw(cluck);
-our $VERSION = '0.01';
+our $VERSION = '0.02';
Travel::Status::DE::DBWagenreihung::Wagon->mk_ro_accessors(
qw(attributes class_type has_ac has_accessibility has_bahn_comfort
has_bike_storage has_bistro has_compartments has_family_area