[Bps-public-commit] Plack-Middleware-Test-StashWarnings branch, master, updated. b7b2612ec5a60a73dd8744b348e8d1dc90363e36

Shawn Moore sartak at bestpractical.com
Thu Oct 7 15:01:55 EDT 2010


The branch, master has been updated
       via  b7b2612ec5a60a73dd8744b348e8d1dc90363e36 (commit)
       via  f7c4b06eeb6071f0d7960ac84f39dc1a6b4d95d2 (commit)
      from  2d074b6299dc699c16e27fdcab6b2baf8581ece6 (commit)

Summary of changes:
 Makefile.PL |    2 +-
 README      |   31 +++++++++++++++++++++++++++++++
 2 files changed, 32 insertions(+), 1 deletions(-)
 create mode 100644 README

- Log -----------------------------------------------------------------
commit f7c4b06eeb6071f0d7960ac84f39dc1a6b4d95d2
Author: Shawn M Moore <sartak at bestpractical.com>
Date:   Thu Oct 7 15:05:07 2010 -0400

    Better repository

diff --git a/Makefile.PL b/Makefile.PL
index 60456c0..59acb0e 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -2,7 +2,7 @@ use inc::Module::Install;
 name 'Plack-Middleware-Test-StashWarnings';
 all_from 'lib/Plack/Middleware/Test/StashWarnings.pm';
 readme_from 'lib/Plack/Middleware/Test/StashWarnings.pm';
-auto_set_repository;
+repository 'http://github.com/bestpractical/plack-middleware-test-stashwarnings';
 
 requires 'Storable';
 requires 'Plack::Test';

commit b7b2612ec5a60a73dd8744b348e8d1dc90363e36
Author: Shawn M Moore <sartak at bestpractical.com>
Date:   Thu Oct 7 15:05:14 2010 -0400

    Add README

diff --git a/README b/README
new file mode 100644
index 0000000..f4accdb
--- /dev/null
+++ b/README
@@ -0,0 +1,31 @@
+NAME
+    Plack::Middleware::Test::StashWarnings - Test your application's
+    warnings
+
+SYNOPSIS
+      enable "Test::StashWarnings";
+
+
+      use Storable 'thaw';
+      $mech->get('/__test_warnings');
+      my @warnings = thaw($mech->content);
+      like(@warnings[0], qr/No private key/);
+
+DESCRIPTION
+    Plack::Middleware::Test::StashWarnings is a Plack middleware component
+    to record warnings generated by your application so that you can test
+    them to make sure your application complains about the right things.
+
+AUTHOR
+    Shawn M Moore "sartak at bestpractical.com"
+
+    Tatsuhiko Miyagawa wrote Plack::Middleware::Test::Recordings which
+    served as a model for this module.
+
+LICENSE
+    This library is free software; you can redistribute it and/or modify it
+    under the same terms as Perl itself.
+
+SEE ALSO
+    Test::HTTP::Server::Simple::StashWarnings
+

-----------------------------------------------------------------------



More information about the Bps-public-commit mailing list