Skip to content

Commit

Permalink
mention mailing list in feature FAQ answer
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Apr 1, 2012
1 parent 2b51d6e commit 971b327
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 4 additions & 6 deletions lib/Mojolicious/Command/version.pm
Expand Up @@ -44,15 +44,13 @@ OPTIONAL
EOF

# Latest version
my $latest;
eval {
my $latest = eval {
my $ua = Mojo::UserAgent->new(max_redirects => 10)->detect_proxy;
$latest =
$ua->get('api.metacpan.org/v0/release/Mojolicious')
->res->json->{version};
} or return;
$ua->get('api.metacpan.org/v0/release/Mojolicious')->res->json->{version};
};

# Message
return unless $latest;
my $message = 'This version is up to date, have fun!';
$message = 'Thanks for testing a development release, you are awesome!'
if $latest < $Mojolicious::VERSION;
Expand Down
4 changes: 3 additions & 1 deletion lib/Mojolicious/Guides/FAQ.pod
Expand Up @@ -67,7 +67,9 @@ most important criteria are outlined in
L<Mojolicious::Guides::CodingGuidelines>. But don't let this discourage you,
it doesn't hurt to open a
L<GitHub issue|https://github.com/kraih/mojo/issues> and ask, just be
prepared that it might not pass the vote.
prepared that it might not pass the vote. To increase the chances you can
also discuss and refine ideas on the
L<mailing-list|http://groups.google.com/group/mojolicious>.

=head2 What does the error "Maximum message size exceeded." mean?

Expand Down

0 comments on commit 971b327

Please sign in to comment.