App-Nopaste

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN


0.23    2010-11-26
        Preserve the source file's extension for ssh (Thomas Sibley)
        Use Config::GitLike instead of Config::INI::Reader (Thomas Sibley)
        Doc fixes (Thomas Sibley, Justin Hunter)
        Code style fixes (Shawn M Moore)
        Remove Rafb (Justin Hunter)
        Remove Husk (Shawn M Moore)

0.22    2010-06-10 12:58:00
        Add NOPASTE_SSH_MODE for chmod'ing after uploading (Thomas Sibley)

0.21    2010-05-01 09:32:10
        Add a --list_services/-L option (David Bremner) [rt.cpan.org #55562]
        Add --private support, used in Gist (John Goulah)
        Doc fix (Salvatore Bonaccorso) [rt.cpan.org #53249]
        Doc fix (Fabien Wernli) [rt.cpan.org #54928]
        Mention 'nopaste' script (Damyan Ivanov) [rt.cpan.org #51065]

0.20    2010-04-16 23:05:10
        App::Nopaste::Service::Pastie would generate warnings via

lib/App/Nopaste/Service.pm  view on Meta::CPAN


=head1 SYNOPSIS

    package App::Nopaste::Service::Shadowcat;
    use parent 'App::Nopaste::Service';

    sub uri { "http://paste.scsys.co.uk/" }

=head1 DESCRIPTION

C<App::Nopaste::Service> defines a generic interface for uploading to nopaste
sites. It provides a default interface to that of the POE Pastebot.

=head1 METHODS

=head2 nopaste

This is the outermost method called by L<App::Nopaste> and other clients. You
should not override this method, as it will (XXX: eventually) perform
canonicalization of arguments (such as C<lang>) for you.

lib/App/Nopaste/Service/ssh.pm  view on Meta::CPAN

=item NOPASTE_SSH_DOCROOT

The path on disk for your pastes. For example: C<public_html/paste>.

=item NOPASTE_SSH_WEBPATH

The path for URLs. For example: C<http://sartak.org/paste>.

=item NOPASTE_SSH_MODE

Octal permissions mode to set for the temporary file before uploading.
For example: C<0644>.

=item NOPASTE_SSH_USE_DESCRIPTION

Use the supplied description in the paste filename for easier identification of
pastes.  Defaults to the source filename, if any, but is overridden by an
explicit C<-d> or C<--description> command line argument.

=back



( run in 2.188 seconds using v1.01-cache-2.11-cpan-b16cb0d3907 )