Permalink
Browse files

Require new version of Protocol::SocketIO

  • Loading branch information...
1 parent ad69112 commit 7bb70e5eba276a10e65df0111836e9cc6ff91b7a @vti committed Jan 28, 2012
Showing with 6 additions and 3 deletions.
  1. +3 −0 Changes
  2. +1 −1 Makefile.PL
  3. +2 −2 t/conn/parsing.t
View
@@ -2,6 +2,9 @@ Revision history for perl module PocketIO
0.13 2012-01-28
+- Cleanup test requirements
+- Require new version of Protocol::SocketIO
+
0.12 2012-01-25
- Fixed test requirements
View
@@ -18,7 +18,7 @@ requires 'Scalar::Util' => '0';
requires 'AnyEvent' => '0';
requires 'JSON' => '0';
-requires 'Protocol::SocketIO' => '0';
+requires 'Protocol::SocketIO' => '0.04';
requires 'Protocol::WebSocket' => '0.009006';
requires 'Test::More' => '0';
View
@@ -29,7 +29,7 @@ is_deeply $output => {foo => 'привет'};
is $conn->_build_message('foo') => '3:::foo';
is $conn->_build_message({foo => 'bar'}) => '4:::{"foo":"bar"}';
-is $conn->_build_message('привет') => '3:::'
+is $conn->_build_message('привет')->to_bytes => '3:::'
. encode_utf8('привет');
-is $conn->_build_message({foo => 'привет'}) => '4:::{"foo":"'
+is $conn->_build_message({foo => 'привет'})->to_bytes => '4:::{"foo":"'
. encode_utf8('привет') . '"}';

0 comments on commit 7bb70e5

Please sign in to comment.