Go to file
Matthew Connelly bbd2e5e08d Why does windows not understand case sensitivity 2015-11-19 20:21:59 +00:00
lib/App/Nopaste/Service Why does windows not understand case sensitivity 2015-11-19 20:21:59 +00:00
t aaa 2015-11-19 20:07:07 +00:00
xt aaa 2015-11-19 20:07:07 +00:00
.gitignore Added gitignore and Travis CI config 2015-11-19 19:51:12 +00:00
.travis.yml Added gitignore and Travis CI config 2015-11-19 19:51:12 +00:00
Changes v0.02 The CPAN Edition 2015-11-19 19:47:21 +00:00
MANIFEST i suck at cpan dist preperation 2015-11-19 20:10:29 +00:00
Makefile.PL aaa 2015-11-19 20:07:07 +00:00
README.pod fixed errant version number in POD 2015-11-19 19:47:59 +00:00
cpanfile Added cpanfile 2015-11-19 19:57:15 +00:00
ignore.txt aaa 2015-11-19 20:07:07 +00:00

README.pod

=pod

=head1 NAME

App::Nopaste::Service::WerePaste - nopaste service for L<WerePaste>

=head1 VERSION

version 0.02

=head1 SYNOPSIS

L<WerePaste|https://github.com/Maffsie/WerePaste> Service for L<nopaste>.

To use, simple use:

    $ echo "text" | nopaste -s WerePaste

By default it pastes to L<http://paste.were.space>, but you can
override this be setting the C<WEREPASTE_URL> environment variable.

You can set HTTP Basic Auth credentials to use for the nopaste service
if necessary by using:

    WEREPASTE_USER=username
    WEREPASTE_PASS=password

The expiration of the post can be modified by setting the C<WEREPASTE_EXP>
environment variable.  Acceptable values are things like:

    WEREPASTE_EXP=weeks:1
    WEREPASTE_EXP=years:1:months:2
    WEREPASTE_EXP=weeks:1:days:2:hours:12:minutes:10:seconds:5
    WEREPASTE_EXP=never:1  # Never Expire

=head1 AUTHOR

Matthew Connelly <maff@cpan.org>
based on work by
William Wolf <throughnothing@gmail.com>

=head1 COPYRIGHT AND LICENSE

The MIT License (MIT)

Copyright (c) 2015 Matthew Connelly

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

This work was originally based on works by William Wolf.
The license for the original work (CC0) is as follows:


William Wolf has dedicated the work to the Commons by waiving all of his
or her rights to the work worldwide under copyright law and all related or
neighboring legal rights he or she had in the work, to the extent allowable by
law.

Works under CC0 do not require attribution. When citing the work, you should
not imply endorsement by the author.

=cut