[Jifty-commit] jifty-plugin-chart branch, plack, updated. cc5d4512add03054e43e68003a81d10e369943f5

Jifty commits jifty-commit at lists.jifty.org
Mon Feb 8 01:02:28 EST 2010


The branch, plack has been updated
       via  cc5d4512add03054e43e68003a81d10e369943f5 (commit)
       via  efbd95971d15d8a39a5beccf376fe8cc2b115e8d (commit)
      from  8f654e620172dc2b67df803ea3bf644c5229c68a (commit)

Summary of changes:
 lib/Jifty/Plugin/Chart/View.pm        |    6 +++---
 t/TestApp-Plugin-Chart/etc/config.yml |    2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

- Log -----------------------------------------------------------------
commit efbd95971d15d8a39a5beccf376fe8cc2b115e8d
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Mon Feb 8 14:01:43 2010 +0800

    use Jifty's new api

diff --git a/lib/Jifty/Plugin/Chart/View.pm b/lib/Jifty/Plugin/Chart/View.pm
index 490a2ff..f55908a 100644
--- a/lib/Jifty/Plugin/Chart/View.pm
+++ b/lib/Jifty/Plugin/Chart/View.pm
@@ -23,7 +23,7 @@ template 'chart/chart' => sub {
     my $args = get 'args';
 
     # Set the output type to the PNG file type
-    Jifty->handler->apache->content_type('image/png');
+    Jifty->web->response->content_type('image/png');
 
     # Render the chart and output the PNG file generated
     eval {
@@ -53,7 +53,7 @@ template 'chart/gd_graph' => sub {
     my $args = get 'args';
 
     # Set the output type to the PNG file type
-    Jifty->handler->apache->content_type('image/png');
+    Jifty->web->response->content_type('image/png');
 
     # Render the chart and output the PNG file generated
     eval {
@@ -85,7 +85,7 @@ template 'chart/xmlswf' => sub {
     my $args = get 'args';
 
     # Set the output type to the XML file type
-    Jifty->handler->apache->content_type('application/xml');
+    Jifty->web->response->content_type('application/xml');
 
     # The KeyAttr thing is a bloody hack to get ordering right
     my $xml = $args->{class}->new(

commit cc5d4512add03054e43e68003a81d10e369943f5
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Mon Feb 8 14:02:05 2010 +0800

    update test version to 5

diff --git a/t/TestApp-Plugin-Chart/etc/config.yml b/t/TestApp-Plugin-Chart/etc/config.yml
index 3a2f9a2..e14c9c9 100644
--- a/t/TestApp-Plugin-Chart/etc/config.yml
+++ b/t/TestApp-Plugin-Chart/etc/config.yml
@@ -4,7 +4,7 @@ framework:
   ApplicationClass: TestApp::Plugin::Chart
   ApplicationName: TestApp-Plugin-Chart
   ApplicationUUID: D16D885C-3E10-11DC-ABE9-A583E6FF98E1
-  ConfigFileVersion: 2
+  ConfigFileVersion: 5
   Database: 
     CheckSchema: 1
     Database: testapp_plugin_chart

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


More information about the Jifty-commit mailing list