Commit 8132aa1b authored by Luc Didry's avatar Luc Didry

Remove remaining Etherpad::API call

parent 66bdd42e
Revision history for Perl module App::padconsole
0.11 2017-09-25
- Remove remaining Etherpad::API call
0.10 2016-11-22
- Use Etherpad instead of Etherpad::API (which is deprecated)
- Add html method
......
......@@ -24,8 +24,8 @@ WriteMakefile(
resources => {
repository => {
type => 'git',
url => 'git://github.com/ldidry/padconsole.git',
web => 'https://github.com/ldidry/padconsole',
url => 'https://framagit.org/luc/padconsole.git',
web => 'https://framagit.org/luc/padconsole',
},
},
},
......
......@@ -91,7 +91,7 @@ INSTALLATION
You can install it manually:
wget https://github.com/ldidry/padconsole/archive/master.zip -O padconsole.zip
wget https://framagit.org/luc/padconsole/repository/master/archive.zip-O padconsole.zip
unzip padconsole.zip
cd padconsole-master
perl Makefile.PL
......@@ -106,12 +106,12 @@ BUGS and SUPPORT
Bugs and feature requests will be tracked at github:
https://github.com/ldidry/padconsole/issues/
https://framagit.org/luc/padconsole/issues/
The latest source code can be browsed and fetched at:
https://github.com/ldidry/padconsole
git clone git://github.com/ldidry/padconsole.git
https://framagit.org/luc/padconsole
git clone https://framagit.org/luc/padconsole.git
You can also look for information at:
......@@ -131,7 +131,7 @@ AUTHOR
Luc DIDRY
CPAN ID: LDIDRY
ldidry@cpan.org
http://www.fiat-tux.fr/
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.
......@@ -139,5 +139,5 @@ COPYRIGHT
The full text of the license can be found in the LICENSE file included with this module.
SEE ALSO
L<Etherpad::API>, L<https://github.com/ldidry/etherpad-admin>
L<Etherpad>, L<https://framagit.org/luc/etherpad-admin>
package App::padconsole;
our $VERSION = '0.10';
our $VERSION = '0.11';
1;
=head1 NAME
......
......@@ -20,7 +20,7 @@ binmode STDOUT, ":utf8";
BEGIN {
use Exporter ();
use vars qw($VERSION);
$VERSION = '0.10';
$VERSION = '0.11';
}
$Getopt::Std::STANDARD_HELP_VERSION = 1;
......@@ -171,7 +171,7 @@ if (defined $user && defined $passwd) {
#################
# Initiate instance binding
#################
my $ec = Etherpad::API->new(\%args);
my $ec = Etherpad->new(\%args);
if (!$ec->check_token()) {
print STDERR 'ERROR: Unable to bind with the etherpad instance.', "\n";
exit 4;
......@@ -347,7 +347,7 @@ sub _use {
$args{password} = $passwd;
}
$ec = Etherpad::API->new(\%args);
$ec = Etherpad->new(\%args);
if (!$ec->check_token()) {
print STDERR 'ERROR: Unable to bind with the etherpad instance.', "\n";
exit 5;
......@@ -624,7 +624,7 @@ The better way to install it is by CPAN:
You can install it manually:
wget "https://framagit.org/luc/padconsole/repository/archive.zip?ref=master" -O padconsole.zip
wget https://framagit.org/luc/padconsole/repository/master/archive.zip-O padconsole.zip
unzip padconsole.zip
cd padconsole-master
perl Makefile.PL
......
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