[Jifty-commit] jifty-plugin-feedback branch, master, updated. e34c43b73b48e344b817f447376f21586ecb38a3

Jifty commits jifty-commit at lists.jifty.org
Thu May 6 16:10:44 EDT 2010


The branch, master has been updated
       via  e34c43b73b48e344b817f447376f21586ecb38a3 (commit)
      from  2558d904cfc8b66d0b49daba8ee1c1e51faf4444 (commit)

Summary of changes:
 Makefile.PL                                      |    2 +-
 lib/Jifty/Plugin/Feedback/Action/SendFeedback.pm |    5 +++--
 2 files changed, 4 insertions(+), 3 deletions(-)

- Log -----------------------------------------------------------------
commit e34c43b73b48e344b817f447376f21586ecb38a3
Author: Alex Vandiver <alexmv at bestpractical.com>
Date:   Thu May 6 16:10:19 2010 -0400

    Bump to using the Plack interface

diff --git a/Makefile.PL b/Makefile.PL
index 8b232e9..e7c7d42 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -2,7 +2,7 @@ use inc::Module::Install 0.85;
 name('Jifty-Plugin-Feedback');
 all_from('lib/Jifty/Plugin/Feedback.pm');
 
-requires('Jifty');
+requires('Jifty' => 1.00506);
 
 auto_install();
 tests(qw( t/*/t/*.t ));
diff --git a/lib/Jifty/Plugin/Feedback/Action/SendFeedback.pm b/lib/Jifty/Plugin/Feedback/Action/SendFeedback.pm
index 0c70e6c..6d84955 100755
--- a/lib/Jifty/Plugin/Feedback/Action/SendFeedback.pm
+++ b/lib/Jifty/Plugin/Feedback/Action/SendFeedback.pm
@@ -90,9 +90,10 @@ email. Returns it as a scalar.
 
 sub build_debugging_info {
     my $self = shift;
+    my %env = %{Jifty->web->request->env};
     my $message = "-- \nPrivate debugging information:\n";
-    $message   .= " $_: $ENV{$_}\n"
-      for sort grep {/^(HTTP|REMOTE|REQUEST)_/} keys %ENV;
+    $message   .= "    $_: $env{$_}\n"
+      for sort grep {/^(HTTP|REMOTE|REQUEST)_/} keys %env;
 
     return $message;
 }

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


More information about the Jifty-commit mailing list