Skip to content

Commit

Permalink
newer versions are ok too
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Feb 13, 2015
1 parent ba87e5e commit 08bc738
Show file tree
Hide file tree
Showing 11 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions lib/Mojo/IOLoop/Client.pm
Expand Up @@ -142,7 +142,7 @@ sub _try_socks {
my $handle = $self->{handle};
return $self->_try_tls($args) unless $args->{socks_address};
return $self->emit(
error => 'IO::Socket::Socks 0.64 required for SOCKS support')
error => 'IO::Socket::Socks 0.64+ required for SOCKS support')
unless SOCKS;

my %options
Expand All @@ -164,7 +164,7 @@ sub _try_tls {
my $handle = $self->{handle};
return $self->_cleanup->emit(connect => $handle)
if !$args->{tls} || $handle->isa('IO::Socket::SSL');
return $self->emit(error => 'IO::Socket::SSL 1.94 required for TLS support')
return $self->emit(error => 'IO::Socket::SSL 1.94+ required for TLS support')
unless TLS;

# Upgrade
Expand Down
2 changes: 1 addition & 1 deletion lib/Mojo/IOLoop/Server.pm
Expand Up @@ -79,7 +79,7 @@ sub listen {
$self->{handle} = $handle;

return unless $args->{tls};
croak "IO::Socket::SSL 1.94 required for TLS support" unless TLS;
croak "IO::Socket::SSL 1.94+ required for TLS support" unless TLS;

weaken $self;
my $tls = $self->{tls} = {
Expand Down
2 changes: 1 addition & 1 deletion t/mojo/ioloop_tls.t
Expand Up @@ -7,7 +7,7 @@ use Mojo::IOLoop::Server;

plan skip_all => 'set TEST_TLS to enable this test (developer only!)'
unless $ENV{TEST_TLS};
plan skip_all => 'IO::Socket::SSL 1.94 required for this test!'
plan skip_all => 'IO::Socket::SSL 1.94+ required for this test!'
unless Mojo::IOLoop::Server::TLS;

# To regenerate all required certificates run these commands (12.12.2014)
Expand Down
2 changes: 1 addition & 1 deletion t/mojo/reactor_ev.t
Expand Up @@ -4,7 +4,7 @@ use Test::More;

plan skip_all => 'set TEST_EV to enable this test (developer only!)'
unless $ENV{TEST_EV};
plan skip_all => 'EV 4.0 required for this test!' unless eval 'use EV 4.0; 1';
plan skip_all => 'EV 4.0+ required for this test!' unless eval 'use EV 4.0; 1';

use IO::Socket::INET;

Expand Down
2 changes: 1 addition & 1 deletion t/mojo/user_agent_online.t
Expand Up @@ -10,7 +10,7 @@ use Mojo::IOLoop::Server;

plan skip_all => 'set TEST_ONLINE to enable this test (developer only!)'
unless $ENV{TEST_ONLINE};
plan skip_all => 'IO::Socket::SSL 1.94 required for this test!'
plan skip_all => 'IO::Socket::SSL 1.94+ required for this test!'
unless Mojo::IOLoop::Server::TLS;

use IO::Socket::INET;
Expand Down
4 changes: 2 additions & 2 deletions t/mojo/user_agent_socks.t
Expand Up @@ -7,9 +7,9 @@ use Mojo::IOLoop::Client;

plan skip_all => 'set TEST_SOCKS to enable this test (developer only!)'
unless $ENV{TEST_SOCKS};
plan skip_all => 'IO::Socket::Socks 0.64 required for this test!'
plan skip_all => 'IO::Socket::Socks 0.64+ required for this test!'
unless Mojo::IOLoop::Client::SOCKS;
plan skip_all => 'IO::Socket::SSL 1.94 required for this test!'
plan skip_all => 'IO::Socket::SSL 1.94+ required for this test!'
unless Mojo::IOLoop::Server::TLS;

use Mojo::IOLoop;
Expand Down
2 changes: 1 addition & 1 deletion t/mojo/user_agent_tls.t
Expand Up @@ -7,7 +7,7 @@ use Mojo::IOLoop::Server;

plan skip_all => 'set TEST_TLS to enable this test (developer only!)'
unless $ENV{TEST_TLS};
plan skip_all => 'IO::Socket::SSL 1.94 required for this test!'
plan skip_all => 'IO::Socket::SSL 1.94+ required for this test!'
unless Mojo::IOLoop::Server::TLS;

use Mojo::IOLoop;
Expand Down
2 changes: 1 addition & 1 deletion t/mojo/websocket_proxy_tls.t
Expand Up @@ -7,7 +7,7 @@ use Mojo::IOLoop::Server;

plan skip_all => 'set TEST_TLS to enable this test (developer only!)'
unless $ENV{TEST_TLS};
plan skip_all => 'IO::Socket::SSL 1.94 required for this test!'
plan skip_all => 'IO::Socket::SSL 1.94+ required for this test!'
unless Mojo::IOLoop::Server::TLS;

use Mojo::IOLoop;
Expand Down
2 changes: 1 addition & 1 deletion t/mojolicious/tls_lite_app.t
Expand Up @@ -7,7 +7,7 @@ use Mojo::IOLoop::Server;

plan skip_all => 'set TEST_TLS to enable this test (developer only!)'
unless $ENV{TEST_TLS};
plan skip_all => 'IO::Socket::SSL 1.94 required for this test!'
plan skip_all => 'IO::Socket::SSL 1.94+ required for this test!'
unless Mojo::IOLoop::Server::TLS;

use Mojo::IOLoop;
Expand Down
2 changes: 1 addition & 1 deletion t/pod.t
Expand Up @@ -4,7 +4,7 @@ use Test::More;

plan skip_all => 'set TEST_POD to enable this test (developer only!)'
unless $ENV{TEST_POD};
plan skip_all => 'Test::Pod 1.14 required for this test!'
plan skip_all => 'Test::Pod 1.14+ required for this test!'
unless eval 'use Test::Pod 1.14; 1';

all_pod_files_ok();
2 changes: 1 addition & 1 deletion t/pod_coverage.t
Expand Up @@ -4,7 +4,7 @@ use Test::More;

plan skip_all => 'set TEST_POD to enable this test (developer only!)'
unless $ENV{TEST_POD};
plan skip_all => 'Test::Pod::Coverage 1.04 required for this test!'
plan skip_all => 'Test::Pod::Coverage 1.04+ required for this test!'
unless eval 'use Test::Pod::Coverage 1.04; 1';

# DEPRECATED in Tiger Face!
Expand Down

0 comments on commit 08bc738

Please sign in to comment.