Commit 68b928b7 authored by Luc Didry's avatar Luc Didry

Deprecate Etherpad::API in favor or Etherpad

parent f214a104
Revision history for Perl module Etherpad::API
1.2.12.1 Sat Jul 18 18:16 2014
- Deprecated. Now inherits all from Etherpad module
1.2.12.0 Tue May 05 23:00:42 2015
- Update to API version 1.2.12 (1.5.6 version of Etherpad)
......
......@@ -9,10 +9,8 @@ WriteMakefile(
AUTHOR => 'Luc DIDRY (ldidry@cpan.org)',
ABSTRACT => 'Access Etherpad Lite API easily',
PREREQ_PM => {
'Etherpad' => '0',
'Test::Simple' => 0.44,
'LWP::UserAgent' => 0,
'URI::Encode' => 0,
'JSON::XS' => 0,
},
META_MERGE => {
"meta-spec" => { version => 2 },
......
This diff is collapsed.
# NAME
Etherpad::API - Access Etherpad Lite API easily
# DESCRIPTION
\[deprecated\] Use [Etherpad](https://metacpan.org/pod/Etherpad) instead.
This module inherits from [Etherpad](https://metacpan.org/pod/Etherpad) without changing a thing for compatibility with applications that still use it.
This module will be removed after 18 July 2016. It will not get any update.
To use [Etherpad](https://metacpan.org/pod/Etherpad), just change Etherpad::API in your code to Etherpad. The methods are the same as the previous release of Etherpad::API, plus a few more.
# INSTALL
perl Makefile.PL
make
make test
make install
If you are on a windows box you should use 'nmake' rather than 'make'.
# BUGS and SUPPORT
You can find documentation for this module with the perldoc command.
perldoc Etherpad::API
Bugs and feature requests will be tracked at RT:
http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Etherpad-API
bug-etherpad-api at rt.cpan.org
The latest source code can be browsed and fetched at:
https://github.com/ldidry/etherpad-api
git clone git://github.com/ldidry/etherpad-api.git
You can also look for information at:
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Etherpad-API
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/Etherpad-API
CPAN Ratings
http://cpanratings.perl.org/d/Etherpad-API
Search CPAN
http://search.cpan.org/dist/Etherpad-API
# AUTHOR
Luc DIDRY
CPAN ID: LDIDRY
ldidry@cpan.org
https://fiat-tux.fr/
# COPYRIGHT
This program is free software; you can redistribute
it and/or modify it under the same terms as Perl itself.
The full text of the license can be found in the
LICENSE file included with this module.
# SEE ALSO
perl(1).
This diff is collapsed.
......@@ -2,22 +2,13 @@
# t/001_load.t - check module loading and create testing directory
use Test::More tests => 7;
use Test::More tests => 4;
BEGIN { use_ok( 'Etherpad::API' ); }
my $object = Etherpad::API->new ({url => 'http://pad.example.com', apikey => 'password'});
isa_ok ($object, 'Etherpad::API');
is ($object->url(), 'http://pad.example.com');
is ($object->url, 'http://pad.example.com');
is ($object->apikey(), 'password');
$object = Etherpad::API->new ();
is ($object, undef);
$object = Etherpad::API->new ({url => 'http://pad.example.com'});
is ($object, undef);
$object = Etherpad::API->new ({apikey => 'password'});
is ($object, undef);
is ($object->apikey, 'password');
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment