r66327 - in /trunk/libsocialtext-resting-perl: Changes META.yml bin/st-webhook debian/changelog debian/copyright lib/Socialtext/Resting.pm t/resting.t

jawnsy-guest at users.alioth.debian.org jawnsy-guest at users.alioth.debian.org
Sat Dec 25 16:55:10 UTC 2010


Author: jawnsy-guest
Date: Sat Dec 25 16:54:59 2010
New Revision: 66327

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=66327
Log:
New upstream release

Modified:
    trunk/libsocialtext-resting-perl/Changes
    trunk/libsocialtext-resting-perl/META.yml
    trunk/libsocialtext-resting-perl/bin/st-webhook
    trunk/libsocialtext-resting-perl/debian/changelog
    trunk/libsocialtext-resting-perl/debian/copyright
    trunk/libsocialtext-resting-perl/lib/Socialtext/Resting.pm
    trunk/libsocialtext-resting-perl/t/resting.t

Modified: trunk/libsocialtext-resting-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsocialtext-resting-perl/Changes?rev=66327&op=diff
==============================================================================
--- trunk/libsocialtext-resting-perl/Changes (original)
+++ trunk/libsocialtext-resting-perl/Changes Sat Dec 25 16:54:59 2010
@@ -1,3 +1,8 @@
+0.35 - Wed Nov 17 20:04:07 PST 2010
+ - adds a --group-id option to the command line
+ - adds a ->offset method for requests
+ - adds a ->get_sheet_cell for Socialcalc sheet read API
+
 0.34 - Fri Jul 16 09:35:49 PDT 2010
  - Include st-webhook in the MANIFEST. Doh.
 

Modified: trunk/libsocialtext-resting-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsocialtext-resting-perl/META.yml?rev=66327&op=diff
==============================================================================
--- trunk/libsocialtext-resting-perl/META.yml (original)
+++ trunk/libsocialtext-resting-perl/META.yml Sat Dec 25 16:54:59 2010
@@ -1,31 +1,23 @@
 --- #YAML:1.0
-name:               Socialtext-Resting
-version:            0.34
-abstract:           Simple tool to use Socialtext RESTful API
-author:
+name:                Socialtext-Resting
+version:             0.35
+abstract:            Simple tool to use Socialtext RESTful API
+license:             ~
+author:              
     - Chris Dent <chris.dent at socialtext.com>, Kirsten Jones <kirsten.jones at socialtext.com>
-license:            unknown
-distribution_type:  module
-configure_requires:
-    ExtUtils::MakeMaker:  0
-build_requires:
-    ExtUtils::MakeMaker:  0
-requires:
-    App::Options:     0
-    Class::Field:     0
-    HTTP::Request:    0
-    IPC::Run:         0
-    JSON::XS:         2.1
-    LWP::UserAgent:   0
-    Pod::Usage:       0
-    Readonly:         0
-    Test::Mock::LWP:  0.05
-    URI::Escape:      1.31
-no_index:
-    directory:
-        - t
-        - inc
-generated_by:       ExtUtils::MakeMaker version 6.56
+generated_by:        ExtUtils::MakeMaker version 6.44
+distribution_type:   module
+requires:     
+    App::Options:                  0
+    Class::Field:                  0
+    HTTP::Request:                 0
+    IPC::Run:                      0
+    JSON::XS:                      2.1
+    LWP::UserAgent:                0
+    Pod::Usage:                    0
+    Readonly:                      0
+    Test::Mock::LWP:               0.05
+    URI::Escape:                   1.31
 meta-spec:
-    url:      http://module-build.sourceforge.net/META-spec-v1.4.html
-    version:  1.4
+    url:     http://module-build.sourceforge.net/META-spec-v1.3.html
+    version: 1.3

Modified: trunk/libsocialtext-resting-perl/bin/st-webhook
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsocialtext-resting-perl/bin/st-webhook?rev=66327&op=diff
==============================================================================
--- trunk/libsocialtext-resting-perl/bin/st-webhook (original)
+++ trunk/libsocialtext-resting-perl/bin/st-webhook Sat Dec 25 16:54:59 2010
@@ -17,10 +17,12 @@
     'id=s',
     'account-id=s',
     'workspace-id=s',
+    'group-id=s',
 );
 
 $args{account_id}   = delete $args{'account-id'}   if $args{'account-id'};
 $args{workspace_id} = delete $args{'workspace-id'} if $args{'workspace-id'};
+$args{group_id}     = delete $args{'group-id'}     if $args{'group-id'};
 
 my $command = shift || usage();
 my %commands = (

Modified: trunk/libsocialtext-resting-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsocialtext-resting-perl/debian/changelog?rev=66327&op=diff
==============================================================================
--- trunk/libsocialtext-resting-perl/debian/changelog (original)
+++ trunk/libsocialtext-resting-perl/debian/changelog Sat Dec 25 16:54:59 2010
@@ -1,4 +1,4 @@
-libsocialtext-resting-perl (0.34-1) UNRELEASED; urgency=low
+libsocialtext-resting-perl (0.35-1) UNRELEASED; urgency=low
 
   TODO: probably thousands of this message-
   Called UNIVERSAL::isa() as a function, not a method at /usr/share/perl/5.10/Test/More.pm line 1000
@@ -16,7 +16,7 @@
   * Update copyright to DEP5 format
   * Standards-Verison 3.9.1 (no changes)
 
- -- Jonathan Yu <jawnsy at cpan.org>  Mon, 04 Oct 2010 21:51:11 -0400
+ -- Jonathan Yu <jawnsy at cpan.org>  Sat, 25 Dec 2010 10:24:46 -0500
 
 libsocialtext-resting-perl (0.28-1) unstable; urgency=low
 

Modified: trunk/libsocialtext-resting-perl/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsocialtext-resting-perl/debian/copyright?rev=66327&op=diff
==============================================================================
--- trunk/libsocialtext-resting-perl/debian/copyright (original)
+++ trunk/libsocialtext-resting-perl/debian/copyright Sat Dec 25 16:54:59 2010
@@ -27,5 +27,5 @@
  the Free Software Foundation; either version 1, or (at your option)
  any later version.
  .
- On Debian systems, the complete text of the GNU General Public
- License can be found in `/usr/share/common-licenses/GPL-1'.
+ On Debian systems, the complete text of version 1 of the GNU General
+ Public License can be found in `/usr/share/common-licenses/GPL-1'.

Modified: trunk/libsocialtext-resting-perl/lib/Socialtext/Resting.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsocialtext-resting-perl/lib/Socialtext/Resting.pm?rev=66327&op=diff
==============================================================================
--- trunk/libsocialtext-resting-perl/lib/Socialtext/Resting.pm (original)
+++ trunk/libsocialtext-resting-perl/lib/Socialtext/Resting.pm Sat Dec 25 16:54:59 2010
@@ -11,7 +11,7 @@
 
 use Readonly;
 
-our $VERSION = '0.34';
+our $VERSION = '0.35';
 
 =head1 NAME
 
@@ -53,6 +53,7 @@
     pageattachment => $BASE_WS_URI
         . '/:ws/pages/:pname/attachments/:attachment_id',
     pageattachments      => $BASE_WS_URI . '/:ws/pages/:pname/attachments',
+    sheetcells           => $BASE_WS_URI . '/:ws/sheets/:pname/cells/:cellid',
     revisions            => $BASE_WS_URI . '/:ws/pages/:pname/revisions',
     taggedpages          => $BASE_WS_URI . '/:ws/tags/:tag/pages',
     workspace            => $BASE_WS_URI . '/:ws',
@@ -84,6 +85,7 @@
 field 'accept';
 field 'filter';
 field 'order';
+field 'offset';
 field 'count';
 field 'query';
 field 'etag_cache' => {};
@@ -586,6 +588,23 @@
     return $self->_get_things( 'pageattachments', pname => $pname );
 }
 
+=head2 get_sheet_cell
+
+    $Rester->get_sheet_cell($page, $cellid)
+
+Get the value of a cell in a spreadsheet.
+
+=cut
+
+sub get_sheet_cell {
+    my $self = shift;
+    my $pname = shift;
+    my $cellid = shift;
+
+    return $self->_get_things('sheetcells', pname => $pname,
+        cellid => $cellid);
+}
+
 =head2 get_revisions
 
     $Rester->get_revisions($page)
@@ -630,6 +649,9 @@
     }
     if ( $self->order ) {
         push (@extend, "order=" . $self->order);
+    }
+    if ( $self->offset ) {
+        push (@extend, "offset=" . $self->offset);
     }
     if ( $self->count ) {
         push (@extend, "count=" . $self->count);

Modified: trunk/libsocialtext-resting-perl/t/resting.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsocialtext-resting-perl/t/resting.t?rev=66327&op=diff
==============================================================================
--- trunk/libsocialtext-resting-perl/t/resting.t (original)
+++ trunk/libsocialtext-resting-perl/t/resting.t Sat Dec 25 16:54:59 2010
@@ -105,7 +105,7 @@
     return Socialtext::Resting->new(
         username  => $strut_user,
         password  => 'dozing',
-        server    => 'http://www.socialtext.net',
+        server    => 'https://www.socialtext.net',
         workspace => 'st-rest-test',
     );
 }




More information about the Pkg-perl-cvs-commits mailing list