[Bps-public-commit] r13873 - in Lorzy/trunk: . pieplate/PIE-Plate pieplate/PIE-Plate/etc pieplate/PIE-Plate/lib/Lorzy/Plate pieplate/PIE-Plate/lib/Lorzy/Plate/Action pieplate/PIE-Plate/lib/PIE pieplate/PIE-Plate/share/web/static/js

sartak at bestpractical.com sartak at bestpractical.com
Tue Jul 8 13:42:31 EDT 2008


Author: sartak
Date: Tue Jul  8 13:42:29 2008
New Revision: 13873

Added:
   Lorzy/trunk/pieplate/PIE-Plate/lib/Lorzy/
      - copied from r13853, /Lorzy/trunk/pieplate/PIE-Plate/lib/PIE/
Removed:
   Lorzy/trunk/pieplate/PIE-Plate/lib/PIE/
Modified:
   Lorzy/trunk/   (props changed)
   Lorzy/trunk/pieplate/PIE-Plate/Makefile.PL
   Lorzy/trunk/pieplate/PIE-Plate/etc/config.yml
   Lorzy/trunk/pieplate/PIE-Plate/lib/Lorzy/Plate.pm
   Lorzy/trunk/pieplate/PIE-Plate/lib/Lorzy/Plate/Action/RunL.pm
   Lorzy/trunk/pieplate/PIE-Plate/lib/Lorzy/Plate/View.pm
   Lorzy/trunk/pieplate/PIE-Plate/share/web/static/js/pieui.js

Log:
 r63853 at onn:  sartak | 2008-07-08 13:42:22 -0400
 Rename PIE::Plate to Lorzy....Plate.. Kinda loses its charm..


Modified: Lorzy/trunk/pieplate/PIE-Plate/Makefile.PL
==============================================================================
--- Lorzy/trunk/pieplate/PIE-Plate/Makefile.PL	(original)
+++ Lorzy/trunk/pieplate/PIE-Plate/Makefile.PL	Tue Jul  8 13:42:29 2008
@@ -1,6 +1,6 @@
 use inc::Module::Install;
 
-name        'PIE::Plate';
+name        'Lorzy::Plate';
 version     '0.01';
 requires    'Jifty' => '0.80311';
 

Modified: Lorzy/trunk/pieplate/PIE-Plate/etc/config.yml
==============================================================================
--- Lorzy/trunk/pieplate/PIE-Plate/etc/config.yml	(original)
+++ Lorzy/trunk/pieplate/PIE-Plate/etc/config.yml	Tue Jul  8 13:42:29 2008
@@ -1,14 +1,14 @@
 --- 
 framework: 
   AdminMode: 1
-  ApplicationClass: PIE::Plate
-  ApplicationName: PIE::Plate
+  ApplicationClass: Lorzy::Plate
+  ApplicationName: Lorzy::Plate
   ApplicationUUID: 5DB8E502-2887-11DD-9E60-9ACD23E51681
   ConfigFileVersion: 3
   Database: 
     AutoUpgrade: 1
     CheckSchema: 1
-    Database: pie::plate
+    Database: lorzy
     Driver: SQLite
     Host: localhost
     Password: ''
@@ -51,7 +51,7 @@
     Backend: Memcached
     Enable: ~
   SkipAccessControl: 0
-  TemplateClass: PIE::Plate::View
+  TemplateClass: Lorzy::Plate::View
   View: 
     FallbackHandler: Jifty::View::Mason::Handler
     Handlers: 

Modified: Lorzy/trunk/pieplate/PIE-Plate/lib/Lorzy/Plate.pm
==============================================================================
--- /Lorzy/trunk/pieplate/PIE-Plate/lib/PIE/Plate.pm	(original)
+++ Lorzy/trunk/pieplate/PIE-Plate/lib/Lorzy/Plate.pm	Tue Jul  8 13:42:29 2008
@@ -1,4 +1,4 @@
-package PIE::Plate;
+package Lorzy::Plate;
 
 Jifty->web->add_javascript(
     qw( jquery.superflydom.js
@@ -9,7 +9,7 @@
         jquery.ui-1.5b4/ui.selectable.js
         jquery.ui-1.5b4/ui.draggable.js
         jquery.ui-1.5b4/ui.droppable.js
-        pieui.js ));
+        lorzyui.js ));
 
 
 1;

Modified: Lorzy/trunk/pieplate/PIE-Plate/lib/Lorzy/Plate/Action/RunL.pm
==============================================================================
--- /Lorzy/trunk/pieplate/PIE-Plate/lib/PIE/Plate/Action/RunL.pm	(original)
+++ Lorzy/trunk/pieplate/PIE-Plate/lib/Lorzy/Plate/Action/RunL.pm	Tue Jul  8 13:42:29 2008
@@ -1,10 +1,12 @@
-package PIE::Plate::Action::RunL;
-use PIE::Lambda;
-use PIE::Lambda::Native;
-use PIE::Builder; use PIE::FunctionArgument;
-use PIE::Evaluator; use JSON;
+package Lorzy::Plate::Action::RunL;
+use Lorzy::Lambda;
+use Lorzy::Lambda::Native;
+use Lorzy::Builder;
+use Lorzy::FunctionArgument;
+use Lorzy::Evaluator;
+use JSON;
 use Jifty::Param::Schema;
-use PIE::Plate::Action schema {
+use Lorzy::Plate::Action schema {
     param struct => type is 'text';
 };
 
@@ -13,11 +15,11 @@
     my $self = shift;
     warn $self->argument_value('struct');
     my $tree = JSON::from_json($self->argument_value('struct'));
-    my $builder = PIE::Builder->new();
-    my $eval = PIE::Evaluator->new();
+    my $builder = Lorzy::Builder->new();
+    my $eval = Lorzy::Evaluator->new();
 
 
-my $MATCH_REGEX = PIE::Lambda::Native->new(
+my $MATCH_REGEX = Lorzy::Lambda::Native->new(
     body => sub {
         my $args = shift;
         my $arg = $args->{'tested-string'};
@@ -27,8 +29,8 @@
     },
 
     signature => {
-           'tested-string' =>  PIE::FunctionArgument->new( name =>              'tested-string' =>  type => 'Str' ),
-           'regexp'=>  PIE::FunctionArgument->new( name =>      'regex', type => 'Str' )
+           'tested-string' =>  Lorzy::FunctionArgument->new( name =>              'tested-string' =>  type => 'Str' ),
+           'regexp'=>  Lorzy::FunctionArgument->new( name =>      'regex', type => 'Str' )
     }
 
 );

Modified: Lorzy/trunk/pieplate/PIE-Plate/lib/Lorzy/Plate/View.pm
==============================================================================
--- /Lorzy/trunk/pieplate/PIE-Plate/lib/PIE/Plate/View.pm	(original)
+++ Lorzy/trunk/pieplate/PIE-Plate/lib/Lorzy/Plate/View.pm	Tue Jul  8 13:42:29 2008
@@ -1,6 +1,6 @@
 use warnings;
 use strict;
-package PIE::Plate::View;
+package Lorzy::Plate::View;
 use Jifty::View::Declare -base;
 use JSON;
 
@@ -32,8 +32,8 @@
 
 my $json_text   = JSON->new->encode($ops);
 
-my $evaluator = PIE::Evaluator->new();
-my $MATCH_REGEX = PIE::Lambda::Native->new(
+my $evaluator = Lorzy::Evaluator->new();
+my $MATCH_REGEX = Lorzy::Lambda::Native->new(
     body => sub {
         my $args = shift;
         my $arg    = $args->{'tested-string'};
@@ -42,8 +42,8 @@
     },
 
     signature => {
-        'tested-string' => PIE::FunctionArgument->new( name => 'tested-string' => type => 'Str'),
-        'regexp' => PIE::FunctionArgument->new( name => 'regexp', type => 'Str' )
+        'tested-string' => Lorzy::FunctionArgument->new( name => 'tested-string' => type => 'Str'),
+        'regexp' => Lorzy::FunctionArgument->new( name => 'regexp', type => 'Str' )
         }
 
 );

Modified: Lorzy/trunk/pieplate/PIE-Plate/share/web/static/js/pieui.js
==============================================================================
--- Lorzy/trunk/pieplate/PIE-Plate/share/web/static/js/pieui.js	(original)
+++ Lorzy/trunk/pieplate/PIE-Plate/share/web/static/js/pieui.js	Tue Jul  8 13:42:29 2008
@@ -175,7 +175,7 @@
                     var arg = args_hook.createAppend('div', {className: 'lorzy-code-arg'});
                     arg.createAppend('div', {className: 'name'}, [attr]);
                     var value = arg.createAppend('div', {className: 'value'});
-                   if (arg_list[attr].type == 'PIE::Expression') {
+                   if (arg_list[attr].type == 'Lorzy::Expression') {
                         value.append( lorzy_make_empty_drop_target() );
                     } if (arg_list[attr].type == 'Str') {
                         value.append(lorzy_make_expression_str('(click me to edit)'));
@@ -223,7 +223,7 @@
 
     jQuery('#testy').click(function () {
         jQuery.ajax({
-    'url': '/=/action/Pie.Plate.Action.RunL.json',
+    'url': '/=/action/Lorzy.Plate.Action.RunL.json',
     'datatype': 'text/json',
     'type': 'post',
     'success': function(json) { 



More information about the Bps-public-commit mailing list