From 15edc7456d313c0cca57601055cc1fddb8b001f1 Mon Sep 17 00:00:00 2001
From: Daniel Friesel <derf@finalrewind.org>
Date: Thu, 25 Jun 2015 13:44:36 +0200
Subject: [PATCH] release v2.12

---
 Changelog                                  |  5 +++--
 bin/efa                                    |  4 ++--
 lib/Travel/Routing/DE/EFA.pm               |  4 ++--
 lib/Travel/Routing/DE/EFA/Route.pm         |  4 ++--
 lib/Travel/Routing/DE/EFA/Route/Message.pm |  4 ++--
 lib/Travel/Routing/DE/EFA/Route/Part.pm    | 15 ++++++---------
 lib/Travel/Routing/DE/VRR.pm               |  4 ++--
 7 files changed, 19 insertions(+), 21 deletions(-)

diff --git a/Changelog b/Changelog
index 7c538fa..341f447 100644
--- a/Changelog
+++ b/Changelog
@@ -1,4 +1,4 @@
-git HEAD
+Travel::Routing::DE::VRR 2.12 - Thu Jun 25 2015
 
     * Route::Part: Deprecate ->extra accessor. Use ->regular_notes instead
     * Route::Part: Add ->regular_notes and ->current_notes accessors.
@@ -9,7 +9,8 @@ git HEAD
       as cancelled stops or diversions.
     * efa -E: Show transfer walking duration when available
     * efa: Extend --ignore-info default (this option will probably be
-      overhauled in a future release)
+      overhauled or removed in a future release)
+    * Add Travel::Routing::DE::EFA::Route::Message module
 
 Travel::Routing::DE::VRR 2.11 - Sun Jun 14 2015
 
diff --git a/bin/efa b/bin/efa
index b8d152c..2617fc6 100755
--- a/bin/efa
+++ b/bin/efa
@@ -16,7 +16,7 @@ use Exception::Class;
 use Getopt::Long qw/:config no_ignore_case/;
 use List::Util qw(first);
 
-our $VERSION = '2.11';
+our $VERSION = '2.12';
 my $ignore_info = 'Fahrradmitnahme|Einstiegshilfe';
 my $efa;
 my $efa_url = 'http://efa.vrr.de/vrr/XSLT_TRIP_REQUEST2';
@@ -424,7 +424,7 @@ efa - unofficial efa.vrr.de command line client
 
 =head1 VERSION
 
-version 2.11
+version 2.12
 
 =head1 DESCRIPTION
 
diff --git a/lib/Travel/Routing/DE/EFA.pm b/lib/Travel/Routing/DE/EFA.pm
index ed4c0f7..282acbe 100644
--- a/lib/Travel/Routing/DE/EFA.pm
+++ b/lib/Travel/Routing/DE/EFA.pm
@@ -41,7 +41,7 @@ use Exception::Class (
 	},
 );
 
-our $VERSION = '2.11';
+our $VERSION = '2.12';
 
 sub set_time {
 	my ( $self, %conf ) = @_;
@@ -917,7 +917,7 @@ Travel::Routing::DE::EFA - unofficial interface to EFA-based itinerary services
 
 =head1 VERSION
 
-version 2.11
+version 2.12
 
 =head1 DESCRIPTION
 
diff --git a/lib/Travel/Routing/DE/EFA/Route.pm b/lib/Travel/Routing/DE/EFA/Route.pm
index 12e434f..1e17559 100644
--- a/lib/Travel/Routing/DE/EFA/Route.pm
+++ b/lib/Travel/Routing/DE/EFA/Route.pm
@@ -8,7 +8,7 @@ use parent 'Class::Accessor';
 
 use Travel::Routing::DE::EFA::Route::Part;
 
-our $VERSION = '2.11';
+our $VERSION = '2.12';
 
 Travel::Routing::DE::EFA::Route->mk_ro_accessors(
 	qw(duration ticket_text ticket_type fare_adult fare_child vehicle_time));
@@ -52,7 +52,7 @@ Travel::Routing::DE::EFA::Route - Single route (connection) between two points
 
 =head1 VERSION
 
-version 2.11
+version 2.12
 
 =head1 DESCRIPTION
 
diff --git a/lib/Travel/Routing/DE/EFA/Route/Message.pm b/lib/Travel/Routing/DE/EFA/Route/Message.pm
index 60bda28..e61091f 100644
--- a/lib/Travel/Routing/DE/EFA/Route/Message.pm
+++ b/lib/Travel/Routing/DE/EFA/Route/Message.pm
@@ -6,7 +6,7 @@ use 5.010;
 
 use parent 'Class::Accessor';
 
-our $VERSION = '2.11';
+our $VERSION = '2.12';
 
 Travel::Routing::DE::EFA::Route::Message->mk_ro_accessors(
 	qw(is_detailed summary subject subtitle raw_content));
@@ -58,7 +58,7 @@ route or route part.
 
 =head1 VERSION
 
-version 2.11
+version 2.12
 
 =head1 DESCRIPTION
 
diff --git a/lib/Travel/Routing/DE/EFA/Route/Part.pm b/lib/Travel/Routing/DE/EFA/Route/Part.pm
index 99069a3..6b6f8d4 100644
--- a/lib/Travel/Routing/DE/EFA/Route/Part.pm
+++ b/lib/Travel/Routing/DE/EFA/Route/Part.pm
@@ -6,7 +6,7 @@ use 5.010;
 
 use parent 'Class::Accessor';
 
-our $VERSION = '2.11';
+our $VERSION = '2.12';
 
 Travel::Routing::DE::EFA::Route::Part->mk_ro_accessors(
 	qw(arrival_platform arrival_stop
@@ -145,7 +145,7 @@ points, without interchanges
 
 =head1 VERSION
 
-version 2.11
+version 2.12
 
 =head1 DESCRIPTION
 
@@ -206,15 +206,11 @@ station.
 
 =item $part->current_notes
 
-(NOT STABLE YET - return value may be changed without notice)
-
 Remarks about unscheduled changes to the line serving this connaction part,
 such as cancelled stops. Most times, the EFA service does not include this
 information in its route calculations.
 
-Returns a list of hashes. Each hash has the keys
-summary, subject, subtitle and content. The former three return text strings,
-while content returns HTML (also as a string).
+Returns a list of Travel::Routing::DE::EFA::Route::Message(3pm) objects.
 
 =item $part->delay
 
@@ -294,7 +290,7 @@ unknown at this point.
 =item $part->regular_notes
 
 Remarks about the line serving this connaction part. Returns a list of
-strings.
+Travel::Routing::DE::EFA::Route::Message(3pm) objects.
 
 =item $part->train_destination
 
@@ -339,7 +335,8 @@ $part->via does not work reliably.
 
 =head1 SEE ALSO
 
-Travel::Routing::DE::EFA(3pm), Class::Accessor(3pm).
+Travel::Routing::DE::EFA::Route::Message(3pm), Travel::Routing::DE::EFA(3pm),
+Class::Accessor(3pm).
 
 =head1 AUTHOR
 
diff --git a/lib/Travel/Routing/DE/VRR.pm b/lib/Travel/Routing/DE/VRR.pm
index ed8276e..0fc8df6 100644
--- a/lib/Travel/Routing/DE/VRR.pm
+++ b/lib/Travel/Routing/DE/VRR.pm
@@ -6,7 +6,7 @@ use 5.010;
 
 no if $] >= 5.018, warnings => "experimental::smartmatch";
 
-our $VERSION = '2.11';
+our $VERSION = '2.12';
 
 use parent 'Travel::Routing::DE::EFA';
 
@@ -50,7 +50,7 @@ Travel::Routing::DE::VRR - unofficial interface to the efa.vrr.de German itinera
 
 =head1 VERSION
 
-version 2.11
+version 2.12
 
 =head1 DESCRIPTION
 
-- 
GitLab