From 1adf27e012dfdf9568dad030cbf25878c2dac1b5 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Thu, 23 Jan 2014 22:27:56 +0100 Subject: version bump --- Changelog | 11 +++++++++-- README | 1 + bin/aseag-m | 6 +++--- lib/Travel/Status/DE/ASEAG.pm | 4 ++-- lib/Travel/Status/DE/URA.pm | 4 ++-- lib/Travel/Status/DE/URA/Result.pm | 4 ++-- 6 files changed, 19 insertions(+), 11 deletions(-) diff --git a/Changelog b/Changelog index 54b3a33..e49fc31 100644 --- a/Changelog +++ b/Changelog @@ -1,6 +1,13 @@ -git HEAD +Travel::Status::DE::URA 0.03 - Thu Jan 23 2014 - * Travel::Status::DE::URE::Result: Fix countdown_sec accessor + * Result: Relative times (countdown, countdown_sec) are now computed + relative to the creation of their Travel::Status::DE::URA object. They + used to be relative to the call of the "results" function. + * Result: Fix countdown_sec accessor + * Result: Do DateTime math on demand, not when + creating the object. Halves the average runtime, though this depends + on the amount of results used by the application (the more results + are used, the less notable the performance gain will be) Travel::Status::DE::URA 0.02 - Thu Dec 26 2013 diff --git a/README b/README index 25c1ce9..1c9c8fb 100644 --- a/README +++ b/README @@ -11,6 +11,7 @@ Dependencies * Class::Accessor * DateTime * DateTime::Format::Duration + * List::MoreUtils * LWP::UserAgent diff --git a/bin/aseag-m b/bin/aseag-m index 757a794..38bf35c 100755 --- a/bin/aseag-m +++ b/bin/aseag-m @@ -5,7 +5,7 @@ use 5.010; no if $] >= 5.018, warnings => 'experimental::smartmatch'; -our $VERSION = '0.02'; +our $VERSION = '0.03'; binmode( STDOUT, ':encoding(utf-8)' ); @@ -208,7 +208,7 @@ B [B<-abfprV>] [B<-l> I] [B<-s> I | B<-S> I] =head1 VERSION -version 0.02 +version 0.03 =head1 DESCRIPTION @@ -271,7 +271,7 @@ Show version information. =head1 EXIT STATUS Normally zero. B<1> means B was called with invalid options, -B<2> indicates a request error from Travel::Status::DE::EFA(3pm), +B<2> indicates a request error from Travel::Status::DE::URA(3pm), B<3> a bad (unknown or ambiguous) I name. =head1 CONFIGURATION diff --git a/lib/Travel/Status/DE/ASEAG.pm b/lib/Travel/Status/DE/ASEAG.pm index 4fe5483..e18fa7e 100644 --- a/lib/Travel/Status/DE/ASEAG.pm +++ b/lib/Travel/Status/DE/ASEAG.pm @@ -6,7 +6,7 @@ use 5.010; no if $] >= 5.018, warnings => 'experimental::smartmatch'; -our $VERSION = '0.02'; +our $VERSION = '0.03'; use parent 'Travel::Status::DE::URA'; @@ -44,7 +44,7 @@ Travel::Status::DE::ASEAG - unofficial ASEAG departure monitor. =head1 VERSION -version 0.02 +version 0.03 =head1 DESCRIPTION diff --git a/lib/Travel/Status/DE/URA.pm b/lib/Travel/Status/DE/URA.pm index 99a56fe..ec80d5e 100644 --- a/lib/Travel/Status/DE/URA.pm +++ b/lib/Travel/Status/DE/URA.pm @@ -6,7 +6,7 @@ use 5.010; no if $] >= 5.018, warnings => 'experimental::smartmatch'; -our $VERSION = '0.02'; +our $VERSION = '0.03'; use Carp qw(confess cluck); use DateTime; @@ -242,7 +242,7 @@ realtime data providers (e.g. ASEAG) =head1 VERSION -version 0.02 +version 0.03 =head1 DESCRIPTION diff --git a/lib/Travel/Status/DE/URA/Result.pm b/lib/Travel/Status/DE/URA/Result.pm index 3266d62..2c13461 100644 --- a/lib/Travel/Status/DE/URA/Result.pm +++ b/lib/Travel/Status/DE/URA/Result.pm @@ -8,7 +8,7 @@ use parent 'Class::Accessor'; use DateTime::Format::Duration; -our $VERSION = '0.02'; +our $VERSION = '0.03'; Travel::Status::DE::URA::Result->mk_ro_accessors( qw(datetime destination line line_id stop stop_id)); @@ -85,7 +85,7 @@ departure received by Travel::Status::DE::URA =head1 VERSION -version 0.02 +version 0.03 =head1 DESCRIPTION -- cgit v1.2.3