Permalink
Browse files

Checking in changes prior to tagging of version 0.05.

Changelog diff is:

diff --git a/Changes b/Changes
index f0fea47..f229251 100644
--- a/Changes
+++ b/Changes
@@ -1,5 +1,8 @@
 Revision history for Perl extension AnyEvent::Lingr

+0.05 2013-03-18T16:09:00+09:00
+     - fixed a bug that 'cb' parameter of say method should be optional, but not in 0.04
+
 0.04 2013-03-18T09:14:00+09:00
      - added a missing prereq.
  • Loading branch information...
1 parent 2455fd9 commit 94801ee4ff3000a4918cbec59b0c059802516673 @typester committed Mar 18, 2013
Showing with 5 additions and 2 deletions.
  1. +3 −0 Changes
  2. +2 −2 lib/AnyEvent/Lingr.pm
View
3 Changes
@@ -1,5 +1,8 @@
Revision history for Perl extension AnyEvent::Lingr
+0.05 2013-03-18T16:09:00+09:00
+ - fixed a bug that 'cb' parameter of say method should be optional, but not in 0.04
+
0.04 2013-03-18T09:14:00+09:00
- added a missing prereq.
View
4 lib/AnyEvent/Lingr.pm
@@ -1,7 +1,7 @@
package AnyEvent::Lingr;
use Mouse;
-our $VERSION = '0.04';
+our $VERSION = '0.05';
use AnyEvent::HTTP;
@@ -272,7 +272,7 @@ sub say {
return unless $self;
if ($res and $res->{status} eq 'ok') {
- $cb->($res);
+ $cb->($res) if $cb;
}
else {
$self->_on_error($res, $hdr);

0 comments on commit 94801ee

Please sign in to comment.