diff options
-rw-r--r-- | Changelog | 11 | ||||
-rw-r--r-- | README | 1 | ||||
-rwxr-xr-x | bin/aseag-m | 6 | ||||
-rw-r--r-- | lib/Travel/Status/DE/ASEAG.pm | 4 | ||||
-rw-r--r-- | lib/Travel/Status/DE/URA.pm | 4 | ||||
-rw-r--r-- | lib/Travel/Status/DE/URA/Result.pm | 4 |
6 files changed, 19 insertions, 11 deletions
@@ -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 @@ -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<aseag-m> [B<-abfprV>] [B<-l> I<lines>] [B<-s> I<timefmt> | B<-S> I<timefmt>] =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<aseag-m> 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<stop> 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 |