Hello community,
here is the log from the commit of package perl-WWW-Shorten for openSUSE:Factory checked in at 2015-04-15 16:27:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-WWW-Shorten (Old)
and /work/SRC/openSUSE:Factory/.perl-WWW-Shorten.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-WWW-Shorten"
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-WWW-Shorten/perl-WWW-Shorten.changes 2013-10-06 14:56:25.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.perl-WWW-Shorten.new/perl-WWW-Shorten.changes 2015-04-15 16:27:46.000000000 +0200
@@ -1,0 +2,6 @@
+Wed Apr 15 10:59:18 UTC 2015 - coolo@suse.com
+
+- updated to 3.06
+ see /usr/share/doc/packages/perl-WWW-Shorten/Changes
+
+-------------------------------------------------------------------
Old:
----
WWW-Shorten-3.04.tar.gz
New:
----
WWW-Shorten-3.06.tar.gz
cpanspec.yml
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-WWW-Shorten.spec ++++++
--- /var/tmp/diff_new_pack.b5PFxJ/_old 2015-04-15 16:27:46.000000000 +0200
+++ /var/tmp/diff_new_pack.b5PFxJ/_new 2015-04-15 16:27:46.000000000 +0200
@@ -1,7 +1,7 @@
#
# spec file for package perl-WWW-Shorten
#
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,14 +17,15 @@
Name: perl-WWW-Shorten
-Version: 3.04
+Version: 3.06
Release: 0
%define cpan_name WWW-Shorten
-Summary: Interface to URL shortening sites.
+Summary: Interface to Url Shortening Sites
License: Artistic-2.0
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/WWW-Shorten/
Source: http://www.cpan.org/authors/id/D/DA/DAVECROSS/%{cpan_name}-%{version}.tar.gz
+Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
@@ -32,17 +33,8 @@
BuildRequires: perl(Config::Auto)
BuildRequires: perl(LWP) >= 5.75
BuildRequires: perl(LWP::UserAgent) >= 2.023
-BuildRequires: perl(Module::Build) >= 0.4000
+BuildRequires: perl(Module::Build) >= 0.40
BuildRequires: perl(URI) >= 1.27
-#BuildRequires: perl(WWW::Shorten)
-#BuildRequires: perl(WWW::Shorten::_dead)
-#BuildRequires: perl(WWW::Shorten::generic)
-#BuildRequires: perl(WWW::Shorten::LinkToolbot)
-#BuildRequires: perl(WWW::Shorten::MakeAShorterLink)
-#BuildRequires: perl(WWW::Shorten::Metamark)
-#BuildRequires: perl(WWW::Shorten::TinyClick)
-#BuildRequires: perl(WWW::Shorten::Tinylink)
-#BuildRequires: perl(WWW::Shorten::UserAgent)
Requires: perl(Config::Auto)
Requires: perl(LWP) >= 5.75
Requires: perl(LWP::UserAgent) >= 2.023
@@ -60,14 +52,15 @@
%prep
%setup -q -n %{cpan_name}-%{version}
+find . -type f -print0 | xargs -0 chmod 644
%build
%{__perl} Build.PL installdirs=vendor
./Build build flags=%{?_smp_mflags}
%check
-# MANUAL
-# needs network ./Build test
+# MANUAL no testing (needs network)
+#./Build test
%install
./Build install destdir=%{buildroot} create_packlist=0
@@ -75,6 +68,6 @@
%files -f %{name}.files
%defattr(-,root,root,755)
-%doc Artistic AUTHORS ChangeLog.SPOON Changes CREDITS LICENCE README TODO xt
+%doc Artistic AUTHORS ChangeLog.SPOON Changes CREDITS LICENCE README TODO
%changelog
++++++ WWW-Shorten-3.04.tar.gz -> WWW-Shorten-3.06.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/WWW-Shorten-3.04/Changes new/WWW-Shorten-3.06/Changes
--- old/WWW-Shorten-3.04/Changes 2013-08-22 12:32:15.000000000 +0200
+++ new/WWW-Shorten-3.06/Changes 2014-09-15 22:38:03.000000000 +0200
@@ -1,226 +1,377 @@
-2013-08-22 Dave Cross - RELEASE_3.04
-========================================================
+www-shorten (0.1.1) unstable; urgency=low
- Dave Cross (17):
- * Finish removing all references to SnipURL.pm.
- * Bump to version 2.05 for release.
- * Removed support for shorl.pm (now in WWW::Shorten::Shorl distribution).
- * Bumped version number. Removed shorl files from MANIFEST.
- * Added Config::Auto to list of dependencies (it's used by the shorten
- program). Bumped version for release.
- * Default to using a service that we currently support.
- * Added MYMETA.yml to MANIFEST.SKIP.
- * Be far more intelligent about the code that allows the user to choose
- which service to use.
- * Bump version number for release.
- * Better examples of using bin/shorten
- * Added a WWW::Shorten::UserAgent object which dies if it receives an HTTP
- error response.
- * Added documentation.
- * Added META.json to MANIFEST.
- * Licensing clean-up.
- * Removed prototypes (and the ampersands in the tests that circumvented
+ * bin/shorten, lib/WWW/Shorten.pm, lib/WWW/Shorten/Metamark.pm,
+ t/00load_a.t, t/00load_b.t, t/00noexp.t, t/metamark.t,
+ t/newnames.t: Metamark is dead :-(
+
+ -- Dave Cross Mon, 15 Sep 2014 21:30:35 +0100
+
+www-shorten (0.1.1) unstable; urgency=low
+
+ * lib/WWW/Shorten.pm: Typo in documentation.
+ * lib/WWW/Shorten.pm: Bump version for CPAN release.
+ * INSTALL: Updated the INSTALL instructions.
+ * t/tinyurl.t: (Possible) fix to the TinyURL test.
+ * README: Modernised README
+ * .travis.yml: Added .travis.yml
+
+ -- Dave Cross Tue, 6 May 2014 15:50:50 +0100
+
+www-shorten (0.1.1) unstable; urgency=low
+
+ * MANIFEST: Changes to reflect moved files.
+ * t/98pod-coverage.t, t/99pod.t, xt/98pod-coverage.t, xt/99pod.t:
+ Moved Pod tests into xt. (Pod coverage currently fails on some
+ files. See https://rt.cpan.org/Ticket/Display.html?id=87634 for
+ details.)
+
+ -- Dave Cross Thu, 22 Aug 2013 12:00:16 +0100
+
+www-shorten (0.1.1) unstable; urgency=low
+
+ * lib/WWW/Shorten.pm: Bump version number for release.
+ * lib/WWW/Shorten/Linkz.pm, lib/WWW/Shorten/Metamark.pm,
+ lib/WWW/Shorten/TinyURL.pm, lib/WWW/Shorten/Tinylink.pm,
+ t/linkz.t, t/metamark.t, t/newnames.t, t/tinyurl.t: Removed
+ prototypes (and the ampersands in the tests that circumvented
them)
- * Bump version number for release.
- * Moved Pod tests into xt. (Pod coverage currently fails on some files. See
- https://rt.cpan.org/Ticket/Display.html?id=87634 for details.)
-
- Dave Cross (1):
- * Removed support for NotLong and OneShortLink (separate distributions to
- follow soon). Bumper to version 2.06.
-
- Dave Cross (1):
- * Removed version number so it's picked up from lib/WWW/Shorten.pm
-
- yappo (1):
- * shorl.com was change the request method ( POST to GET )
-
-
-2012-04-06 Dave Cross - RELEASE_3.03
-========================================================
-
- Dave Cross (20):
- * Removed a number of modules that supported services that are no longer
- around.
- * Documenation improvements.
- * Removed files from MANIFEST
- * Start using $DEFAULT_SERVICE variable.
- * Removed WWW::Shorten::SnipURL (API changed, separate dist will follow).
- Bumped version to 2.04.
- * Removed snipurl.t from MANIFEST.
- * Finish removing all references to SnipURL.pm.
- * Bump to version 2.05 for release.
- * Removed support for shorl.pm (now in WWW::Shorten::Shorl distribution).
- * Bumped version number. Removed shorl files from MANIFEST.
- * Added Config::Auto to list of dependencies (it's used by the shorten
- program). Bumped version for release.
- * Default to using a service that we currently support.
- * Added MYMETA.yml to MANIFEST.SKIP.
- * Be far more intelligent about the code that allows the user to choose
- which service to use.
- * Bump version number for release.
- * Better examples of using bin/shorten
- * Added a WWW::Shorten::UserAgent object which dies if it receives an HTTP
- error response.
- * Added documentation.
- * Added META.json to MANIFEST.
- * Licensing clean-up.
-
- Dave Cross (1):
- * Removed support for NotLong and OneShortLink (separate distributions to
- follow soon). Bumper to version 2.06.
-
- Dave Cross (1):
- * Removed version number so it's picked up from lib/WWW/Shorten.pm
-
- yappo (1):
- * shorl.com was change the request method ( POST to GET )
-
-
-2010-12-06 Dave Cross - RELEASE_3.02
-========================================================
-
- Dave Cross (24):
- * Typo
- * Removed SIGNATURE from MANIFEST (as Module::Build adds it automatically).
- * Increment version
- * Changed require perl 5.6.0 to require perl 5.006 - to deal with older
- Perl installations.
- * Increment version number
- * Fixed TinyURL tests.
- * Bump version number.
- * Fixed typo
- * Remove signing
- * Removed a number of modules that supported services that are no longer
- around.
- * Documenation improvements.
- * Removed files from MANIFEST
- * Start using $DEFAULT_SERVICE variable.
- * Removed WWW::Shorten::SnipURL (API changed, separate dist will follow).
- Bumped version to 2.04.
- * Removed snipurl.t from MANIFEST.
- * Finish removing all references to SnipURL.pm.
- * Bump to version 2.05 for release.
- * Removed support for shorl.pm (now in WWW::Shorten::Shorl distribution).
- * Bumped version number. Removed shorl files from MANIFEST.
- * Added Config::Auto to list of dependencies (it's used by the shorten
- program). Bumped version for release.
- * Default to using a service that we currently support.
- * Added MYMETA.yml to MANIFEST.SKIP.
- * Be far more intelligent about the code that allows the user to choose
- which service to use.
- * Bump version number for release.
-
- Dave Cross (1):
- * Removed support for NotLong and OneShortLink (separate distributions to
- follow soon). Bumper to version 2.06.
-
- Dave Cross (1):
- * Removed version number so it's picked up from lib/WWW/Shorten.pm
-
- yappo (1):
- * shorl.com was change the request method ( POST to GET )
-
-
-
-2010-01-20 Dave Cross - RELEASE_3.00
-===========================================================
-
- Dave Cross (55):
- * Added WWW::Shorten::LinkToolbot
- * Added tests for LinkToolbot.pm and fixed module to pass them
- * Switched from Makefile.PL to Build.PL.
- * Fixed copyright line. Removed changelog from module file.
- * Changed email address in docs
- * Change to using manual version number.
- * Switch to manual version numbers
- * BabyURL is now dead
- * Typo
- * makeashorterlink.com is now dead!
- * removed unnecessary test
- * TinyURL now works in a slightly different way
- * Switched to manual version
- * tinyclick.com is dead
- * Change tests to use a still existing service
- * Switch to manual version number
- * Switch to manual version number
- * test a service that actually works
- * Updates to reflect changes in the way that notlong.pm works
- * Switched to manual version number.
- * Fixed to mirror the way that shorl.com now works.
- * Switch to manual version number
- * Reformatted documentation
- * Removed unused test file
- * Removed unneeded shebang lines
- * Fixes to reflect changes in the way snipurl.com works.
- * Switch to using the snipurl api.
- * link.toolbot.com is now dead.
- * Various test fixes
- * Various packaging fixes
- * Remove shortenrc. Add script_files to Build.PL
- * Increment version number for release
- * Fixes script_files.
- * Fixed test so it doesn't include a hard-coded code.
- * Increment version number
- * Marked tinylink.com as dead (it's not - but it's returning nonsense).
+
+ -- Dave Cross Mon, 12 Nov 2012 16:40:29 +0000
+
+www-shorten (0.1.1) unstable; urgency=low
+
+ * Artistic, Build.PL, COPYING, LICENCE, MANIFEST,
+ lib/WWW/Shorten.pm, lib/WWW/Shorten/UserAgent.pm: Licensing
+ clean-up.
+ * MANIFEST: Added META.json to MANIFEST.
+
+ -- Dave Cross Fri, 6 Apr 2012 17:40:42 +0100
+
+www-shorten (0.1.1) unstable; urgency=low
+
+ * lib/WWW/Shorten/UserAgent.pm: Added documentation.
+ * MANIFEST, lib/WWW/Shorten/UserAgent.pm,
+ lib/WWW/Shorten/generic.pm: Added a WWW::Shorten::UserAgent object
+ which dies if it receives an HTTP error response.
+
+ -- Dave Cross Thu, 1 Mar 2012 21:49:10 +0000
+
+www-shorten (0.1.1) unstable; urgency=low
+
+ * bin/shorten: Better examples of using bin/shorten
+ * lib/WWW/Shorten.pm: Bump version number for release.
+ * bin/shorten: Be far more intelligent about the code that allows
+ the user to choose which service to use.
+ * MANIFEST.SKIP: Added MYMETA.yml to MANIFEST.SKIP.
+ * bin/shorten: Default to using a service that we currently support.
+ * Build.PL, lib/WWW/Shorten.pm: Added Config::Auto to list of
+ dependencies (it's used by the shorten program). Bumped version
+ for release.
+
+ -- Dave Cross Mon, 6 Dec 2010 12:35:43 +0000
+
+www-shorten (0.1.1) unstable; urgency=low
+
+ * Build.PL: Removed version number so it's picked up from
+ lib/WWW/Shorten.pm
+
+ -- Dave Cross Wed, 20 Jan 2010 16:21:06 +0000
+
+www-shorten (0.1.1) unstable; urgency=low
+
+ * Build.PL, MANIFEST: Bumped version number. Removed shorl files
+ from MANIFEST.
+ * MANIFEST, lib/WWW/Shorten/Shorl.pm, t/shorl.t: Removed support for
+ shorl.pm (now in WWW::Shorten::Shorl distribution).
+
+ -- Dave Cross Sat, 19 Dec 2009 15:44:58 +0000
+
+www-shorten (0.1.1) unstable; urgency=low
+
+ * lib/WWW/Shorten/Shorl.pm: shorl.com was change the request method
+ ( POST to GET )
+
+ -- yappo Tue, 15 Dec 2009 11:46:14 +0800
+
+www-shorten (0.1.1) unstable; urgency=low
+
+ * lib/WWW/Shorten/NotLong.pm, lib/WWW/Shorten/OneShortLink.pm,
+ t/notlong.t, t/oneshort.t: Removed support for NotLong and
+ OneShortLink (separate distributions to follow soon). Bumper to
+ version 2.06.
+
+ -- Dave Cross Sat, 21 Nov 2009 21:36:14 +0000
+
+www-shorten (0.1.1) unstable; urgency=low
+
+ * Build.PL: Bump to version 2.05 for release.
+ * lib/WWW/Shorten.pm, t/newnames.t: Finish removing all references
+ to SnipURL.pm.
+
+ -- Dave Cross Fri, 18 Sep 2009 13:46:00 +0100
+
+www-shorten (0.1.1) unstable; urgency=low
+
+ * MANIFEST: Removed snipurl.t from MANIFEST.
+ * Build.PL, MANIFEST, lib/WWW/Shorten/SnipURL.pm, t/snipurl.t:
+ Removed WWW::Shorten::SnipURL (API changed, separate dist will
+ follow). Bumped version to 2.04.
+
+ -- Dave Cross Tue, 8 Sep 2009 11:54:17 +0100
+
+www-shorten (0.1.1) unstable; urgency=low
+
+ * lib/WWW/Shorten.pm: Start using $DEFAULT_SERVICE variable.
+ * MANIFEST: Removed files from MANIFEST
+ * lib/WWW/Shorten.pm: Documenation improvements.
+ * lib/WWW/Shorten/BabyURL.pm, lib/WWW/Shorten/EkDk.pm,
+ lib/WWW/Shorten/ShortLink.pm, lib/WWW/Shorten/SmLnk.pm,
+ lib/WWW/Shorten/URLjr.pm, lib/WWW/Shorten/V3.pm,
+ lib/WWW/Shorten/qURL.pm, t/babyurl.t, t/ekdk.t, t/qurl.t,
+ t/shortlink.t, t/smlnk.t, t/urljr.t, t/v3.t: Removed a number of
+ modules that supported services that are no longer around.
+
+ -- Dave Cross Sat, 11 Apr 2009 12:51:19 +0100
+
+www-shorten (0.1.1) unstable; urgency=low
+
+ * Build.PL: Remove signing
+ * t/shorl.t: Fixed typo
+ * Build.PL: Bump version number.
+ * t/tinyurl.t: Fixed TinyURL tests.
+
+ -- Dave Cross Thu, 19 Mar 2009 10:32:23 +0000
+
+www-shorten (0.1.1) unstable; urgency=low
+
+ * Build.PL: Increment version number
+
+ -- Dave Cross Mon, 2 Feb 2009 15:28:53 +0000
+
+www-shorten (0.1.1) unstable; urgency=low
+
+ * Build.PL: Changed require perl 5.6.0 to require perl 5.006 - to
+ deal with older Perl installations.
+
+ -- Dave Cross Mon, 26 Jan 2009 13:27:29 +0000
+
+www-shorten (0.1.1) unstable; urgency=low
+
+ * Build.PL: Increment version
+ * MANIFEST: Removed SIGNATURE from MANIFEST (as Module::Build adds
+ it automatically).
+ * lib/WWW/Shorten/Tinylink.pm: Typo
+
+ -- Dave Cross Mon, 30 Jun 2008 16:01:36 +0000
+
+www-shorten (0.1.1) unstable; urgency=low
+
+ * Build.PL, lib/WWW/Shorten/Tinylink.pm, t/tinylink.t: Marked
+ tinylink.com as dead (it's not - but it's returning nonsense).
Bumped to version 2.00.
- * Typo
- * Removed SIGNATURE from MANIFEST (as Module::Build adds it automatically).
- * Increment version
- * Changed require perl 5.6.0 to require perl 5.006 - to deal with older
- Perl installations.
- * Increment version number
- * Fixed TinyURL tests.
- * Bump version number.
- * Fixed typo
- * Remove signing
- * Removed a number of modules that supported services that are no longer
- around.
- * Documenation improvements.
- * Removed files from MANIFEST
- * Start using $DEFAULT_SERVICE variable.
- * Removed WWW::Shorten::SnipURL (API changed, separate dist will follow).
- Bumped version to 2.04.
- * Removed snipurl.t from MANIFEST.
- * Finish removing all references to SnipURL.pm.
- * Bump to version 2.05 for release.
- * Removed support for shorl.pm (now in WWW::Shorten::Shorl distribution).
- * Bumped version number. Removed shorl files from MANIFEST.
-
- Dave Cross (1):
- * Removed support for NotLong and OneShortLink (separate distributions to
- follow soon). Bumper to version 2.06.
-
- Dave Cross (1):
- * Removed version number so it's picked up from lib/WWW/Shorten.pm
-
- yappo (1):
- * shorl.com was change the request method ( POST to GET )
-
-2009-12-19 Dave Cross - RELEASE_2.06
-========================================================
-
- * no changes since the previous version.
-
-2009-09-08 Dave Cross - RELEASE_2.04
-========================================================
-
- * no changes since the previous version.
-
-2009-03-19 Dave Cross - RELEASE_2.03
-========================================================
-
- * no changes since the previous version.
-
-2008-06-29 Dave Cross - RELEASE_2_00
-========================================================
- Dave Cross (1):
- * Release 2.00
+ -- Dave Cross Sun, 29 Jun 2008 09:58:31 +0000
+
+www-shorten (0.1.1) unstable; urgency=low
+
+ * Build.PL: Increment version number
+ * t/snipurl.t: Fixed test so it doesn't include a hard-coded code.
+
+ -- Dave Cross Sun, 20 Apr 2008 09:55:05 +0000
+
+www-shorten (0.1.1) unstable; urgency=low
+
+ * Build.PL: Fixes script_files.
+
+ -- Dave Cross Sat, 19 Apr 2008 08:28:47 +0000
+
+www-shorten (0.1.1) unstable; urgency=low
+
+ * Build.PL: Increment version number for release
+ * Build.PL, MANIFEST, bin/shortenrc: Remove shortenrc. Add
+ script_files to Build.PL
+
+ -- Dave Cross Thu, 17 Apr 2008 05:43:37 +0000
+
+www-shorten (0.1.1) unstable; urgency=low
+
+ * Build.PL, MANIFEST: Various packaging fixes
+ * t/shorl.t, t/snipurl.t: Various test fixes
+ * lib/WWW/Shorten/LinkToolbot.pm, t/linktoolbot.t: link.toolbot.com
+ is now dead.
+ * lib/WWW/Shorten/SnipURL.pm: Switch to using the snipurl api.
+ * lib/WWW/Shorten/SnipURL.pm: Fixes to reflect changes in the way
+ snipurl.com works.
+
+ -- Dave Cross Mon, 14 Apr 2008 21:29:27 +0000
+
+www-shorten (0.1.1) unstable; urgency=low
+
+ * t/00sig.t, t/98pod-coverage.t, t/99pod.t: Removed unneeded shebang
+ lines
+ * MANIFEST: Removed unused test file
+
+ -- Dave Cross Sun, 13 May 2007 14:28:43 +0000
+
+www-shorten (0.1.1) unstable; urgency=low
+
+ * lib/WWW/Shorten/LinkToolbot.pm: Reformatted documentation
+ * lib/WWW/Shorten/EkDk.pm, lib/WWW/Shorten/Linkz.pm,
+ lib/WWW/Shorten/OneShortLink.pm, lib/WWW/Shorten/ShortLink.pm,
+ lib/WWW/Shorten/SmLnk.pm, lib/WWW/Shorten/SnipURL.pm,
+ lib/WWW/Shorten/Tinylink.pm, lib/WWW/Shorten/URLjr.pm,
+ lib/WWW/Shorten/V3.pm, lib/WWW/Shorten/qURL.pm: Switch to manual
+ version number
+ * lib/WWW/Shorten/Shorl.pm: Fixed to mirror the way that shorl.com
+ now works.
+ * lib/WWW/Shorten/Shorl.pm: Switched to manual version number.
+ * lib/WWW/Shorten/NotLong.pm, t/notlong.t: Updates to reflect
+ changes in the way that notlong.pm works
+ * t/00noexp.t: test a service that actually works
+ * lib/WWW/Shorten/NotLong.pm: Switch to manual version number
+ * lib/WWW/Shorten/Metamark.pm: Switch to manual version number
+ * t/00load_a.t, t/00load_b.t: Change tests to use a still existing
+ service
+ * lib/WWW/Shorten/TinyClick.pm, t/tinyclick.t: tinyclick.com is dead
+ * lib/WWW/Shorten/TinyURL.pm: Switched to manual version
+ * t/tinyurl.t: TinyURL now works in a slightly different way
+ * t/ws_masl.t: removed unnecessary test
+ * lib/WWW/Shorten/MakeAShorterLink.pm, t/masl.t:
+ makeashorterlink.com is now dead!
+ * lib/WWW/Shorten/BabyURL.pm: Typo
+ * lib/WWW/Shorten/BabyURL.pm, t/babyurl.t: BabyURL is now dead
+ * lib/WWW/Shorten/_dead.pm: Switch to manual version numbers
+ * lib/WWW/Shorten.pm: Change to using manual version number.
+ * lib/WWW/Shorten.pm: Changed email address in docs
+ * lib/WWW/Shorten.pm: Fixed copyright line. Removed changelog from
+ module file.
+ * Build.PL, Makefile.PL: Switched from Makefile.PL to Build.PL.
+
+ -- Dave Cross Sun, 15 Apr 2007 14:18:09 +0000
+
+www-shorten (0.1.1) unstable; urgency=low
+
+ * MANIFEST, lib/WWW/Shorten/LinkToolbot.pm,
+ lib/WWW/Shorten/generic.pm, t/linktoolbot.t: Added tests for
+ LinkToolbot.pm and fixed module to pass them
+ * lib/WWW/Shorten/LinkToolbot.pm: Added WWW::Shorten::LinkToolbot
+
+ -- Dave Cross Fri, 16 Feb 2007 22:31:15 +0000
+
+www-shorten (0.1.1) unstable; urgency=low
+
+ * lib/WWW/Shorten.pm: Reinstated support for 1sl.net.
+ * lib/WWW/Shorten/OneShortLink.pm, t/oneshort.t: Reinstated suport
+ for 1sl.net.
+
+ -- Dave Cross Sun, 9 Oct 2005 21:54:47 +0000
+
+www-shorten (0.1.1) unstable; urgency=low
+
+ * MANIFEST.SKIP: Fixed previous fix :(
+ * MANIFEST.SKIP: Ignore hidden files
+ * lib/WWW/Shorten.pm: Removed outdated or incorrect references in
+ the Pod.
+ * MANIFEST.SKIP: Ignore vi backup files
+ * MANIFEST, t/98pod-coverage.t: Added Pod coverage tests
+ * t/metamark.t: Changed the URL used for the test.
+ * lib/WWW/Shorten/_dead.pm, lib/WWW/Shorten/generic.pm: Added a bit
+ of Pod.
+ * lib/WWW/Shorten/Metamark.pm: Switched to using the REST API for
+ makealongerlink.
+ * lib/WWW/Shorten/EkDk.pm, lib/WWW/Shorten/OneShortLink.pm,
+ lib/WWW/Shorten/ShortLink.pm, lib/WWW/Shorten/SmLnk.pm,
+ lib/WWW/Shorten/URLjr.pm, lib/WWW/Shorten/V3.pm,
+ lib/WWW/Shorten/_dead.pm, lib/WWW/Shorten/generic.pm,
+ lib/WWW/Shorten/qURL.pm: Added 'use strict', 'use warnings' and
+ cvs $Id$ tag to all modules
+
+ -- Dave Cross Sat, 3 Sep 2005 15:23:57 +0000
+
+www-shorten (0.1.1) unstable; urgency=low
+
+ * t/00noexp.t: Added 00noexp.t
+ * lib/WWW/Shorten.pm, t/linkz.t: Correct copyright signs in pod.
+ Skip lin.kz tests while it's broken.
+
+ -- Dave Cross Tue, 24 May 2005 20:27:56 +0000
+
+www-shorten (0.1.1) unstable; urgency=low
+
+ * MANIFEST.SKIP: Added stuff to MANIFEST.SKIP
+ * lib/WWW/Shorten.pm: Removed a couple of dead services - 1sl and v3
+ * META.yml, Makefile.PL, lib/WWW/Shorten/OneShortLink.pm,
+ lib/WWW/Shorten/Shorl.pm, lib/WWW/Shorten/V3.pm, t/oneshort.t,
+ t/shorl.t, t/tinyurl.t, t/v3.t: Removed some dead services. Fixed
+ WWW::Shorten::Shorl.pm to deal with the new way that shorl works.
+
+ -- Dave Cross Thu, 19 May 2005 21:37:48 +0000
+
+www-shorten (0.1.1) unstable; urgency=low
+
+ * MANIFEST: Added new test files
+ * lib/WWW/Shorten.pm, lib/WWW/Shorten/BabyURL.pm,
+ lib/WWW/Shorten/EkDk.pm, lib/WWW/Shorten/Linkz.pm,
+ lib/WWW/Shorten/MakeAShorterLink.pm, lib/WWW/Shorten/Metamark.pm,
+ lib/WWW/Shorten/NotLong.pm, lib/WWW/Shorten/OneShortLink.pm,
+ lib/WWW/Shorten/Shorl.pm, lib/WWW/Shorten/ShortLink.pm,
+ lib/WWW/Shorten/SmLnk.pm, lib/WWW/Shorten/SnipURL.pm,
+ lib/WWW/Shorten/TinyClick.pm, lib/WWW/Shorten/TinyURL.pm,
+ lib/WWW/Shorten/Tinylink.pm, lib/WWW/Shorten/URLjr.pm,
+ lib/WWW/Shorten/V3.pm, lib/WWW/Shorten/_dead.pm,
+ lib/WWW/Shorten/generic.pm, lib/WWW/Shorten/qURL.pm, t/babyurl.t,
+ t/linkz.t, t/masl.t, t/metamark.t, t/newnames.t, t/notlong.t,
+ t/oneshort.t, t/shorl.t, t/smlnk.t, t/snipurl.t, t/tinyclick.t,
+ t/tinylink.t, t/tinyurl.t, t/urljr.t, t/v3.t, t/ws_masl.t: Work on
+ improving test coverage
+
+ -- Dave Cross Sat, 30 Oct 2004 20:52:33 +0000
+
+www-shorten (0.1.1) unstable; urgency=low
+
+ * lib/WWW/Shorten.pm: Removed unnecessary "no strict 'refs'"
+ * SIGNATURE: SIGNATURE is generated - therefore not in CVS
+ * t/notlong.t, t/smlnk.t, t/tinyclick.t, t/tinyurl.t, t/urljr.t:
+ Various test fixes
+ * lib/WWW/Shorten/V3.pm: Fixed response regex
+
+ -- Dave Cross Mon, 25 Oct 2004 20:55:21 +0000
+
+www-shorten (0.1.1) unstable; urgency=low
+
+ * MANIFEST.SKIP, Makefile.PL, SIGNATURE: New version with fixed
+ SIGNATURE
+ * Makefile.PL, lib/WWW/Shorten.pm: Changed author in Makefile.PL.
+ Get $VERSION from CVS tag.
+ * MANIFEST, lib/WWW/Shorten.pm: Add some CVS tags
+ * Changes: Removed Changes from CVS
+ * ChangeLog, ChangeLog.SPOON: Replaced ChangeLog with
+ ChangeLog.SPOON
+ * AUTHORS: Changed author info
+ * lib/WWW/Shorten.pm: Changed author info.
+ * AUTHORS, Artistic, COPYING, CREDITS, ChangeLog, Changes, INSTALL,
+ LICENCE, MANIFEST, MANIFEST.SKIP, META.yml, Makefile.PL, README,
+ SIGNATURE, TODO, bin/shorten, bin/shortenrc, lib/WWW/Shorten.pm,
+ lib/WWW/Shorten/BabyURL.pm, lib/WWW/Shorten/EkDk.pm,
+ lib/WWW/Shorten/Linkz.pm, lib/WWW/Shorten/MakeAShorterLink.pm,
+ lib/WWW/Shorten/Metamark.pm, lib/WWW/Shorten/NotLong.pm,
+ lib/WWW/Shorten/OneShortLink.pm, lib/WWW/Shorten/Shorl.pm,
+ lib/WWW/Shorten/ShortLink.pm, lib/WWW/Shorten/SmLnk.pm,
+ lib/WWW/Shorten/SnipURL.pm, lib/WWW/Shorten/TinyClick.pm,
+ lib/WWW/Shorten/TinyURL.pm, lib/WWW/Shorten/Tinylink.pm,
+ lib/WWW/Shorten/URLjr.pm, lib/WWW/Shorten/V3.pm,
+ lib/WWW/Shorten/_dead.pm, lib/WWW/Shorten/generic.pm,
+ lib/WWW/Shorten/qURL.pm, t/00load.t, t/00load_a.t, t/00load_b.t,
+ t/00sig.t, t/01version.t, t/99pod.t, t/babyurl.t, t/ekdk.t,
+ t/linkz.t, t/masl.t, t/metamark.t, t/newnames.t, t/notlong.t,
+ t/oneshort.t, t/qurl.t, t/shorl.t, t/shortlink.t, t/smlnk.t,
+ t/snipurl.t, t/tinyclick.t, t/tinylink.t, t/tinyurl.t, t/urljr.t,
+ t/v3.t, t/ws_masl.t: Initial revision
+
+ -- Dave Cross Sun, 24 Oct 2004 16:14:31 +0000
+
+www-shorten (0.1.1) unstable; urgency=low
-2005-10-09 (no author) <(no author)> - RELEASE_1_97
-====================================================
- (no author) <(no author)> (1):
- * This commit was manufactured by cvs2svn to create tag 'RELEASE_1_97'.
+ -- (no author) <(no author)> Sun, 24 Oct 2004 16:09:47 +0000
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/WWW-Shorten-3.04/INSTALL new/WWW-Shorten-3.06/INSTALL
--- old/WWW-Shorten-3.04/INSTALL 2013-08-22 12:32:15.000000000 +0200
+++ new/WWW-Shorten-3.06/INSTALL 2014-09-15 22:38:03.000000000 +0200
@@ -31,12 +31,12 @@
from any CPAN site:
http://www.cpan.org/modules/by-authors/id/S/SP/SPOON/
- http://search.cpan.org/dist/WWW-Shorten/
+ https://metacpan.org/release/WWW-Shorten/
Interim and development versions may also be available
-from the author's web site:
+from github:
- http://dellah.org/perl/
+ http://github.com/davorg/www-shorten
WWW::Shorten is distributed as a gzipped tar archive file:
@@ -61,22 +61,6 @@
INSTALLING MANUALLY
-------------------
-First, verify the package's integrity by ensuring you have
-Module::Signature installed, then type:
-
- % cpansign -v
-
-That will check each file's integrity, as well as the signature's
-validity, thus verifying the integrity of the entire package.
-If "==> Signature verified OK! <==" is not displayed, the
-distribution may already have been compromised, and you should not run
-its Makefile.PL.
-
-Ideally, you should confirm with a third party that the finger print and
-key id by which the signature was signed is indeed the key it is meant
-to be (ideally you'll have an appropriate web of trust set up, but
-that's not always possible).
-
The 'make install' (done later) will install the modules and scripts on
your system. You may need administrator privileges to perform this task.
Alternately you can install the module to a local directory (see
@@ -118,18 +102,3 @@
# make install
Congratulations. You've just installed WWW::Shorten.
-
-If you have a copy of cpantest installed, type:
-
- % cpantest -g pass -nc -p `basename \`pwd\`` -auto
-
-Or:
- % cpantest -g pass -nc -p WWW-Shorten-1.88 -auto
-
-That will tell both me and other potential users that the module
-built correctly on your machine.
-
-
-cheers,
-Iain (aka Spoon).
-http://iain.truskett.id.au/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/WWW-Shorten-3.04/META.json new/WWW-Shorten-3.06/META.json
--- old/WWW-Shorten-3.04/META.json 2013-08-22 12:32:15.000000000 +0200
+++ new/WWW-Shorten-3.06/META.json 2014-09-15 22:38:03.000000000 +0200
@@ -5,7 +5,7 @@
"Based on WWW::MakeAShorterLink by Dave Cross "
],
"dynamic_config" : 1,
- "generated_by" : "Module::Build version 0.4005, CPAN::Meta::Converter version 2.130880",
+ "generated_by" : "Module::Build version 0.4007, CPAN::Meta::Converter version 2.132140",
"license" : [
"artistic_2"
],
@@ -38,7 +38,7 @@
"provides" : {
"WWW::Shorten" : {
"file" : "lib/WWW/Shorten.pm",
- "version" : "3.04"
+ "version" : "3.06"
},
"WWW::Shorten::LinkToolbot" : {
"file" : "lib/WWW/Shorten/LinkToolbot.pm",
@@ -75,8 +75,8 @@
"release_status" : "stable",
"resources" : {
"license" : [
- "http://www.perlfoundation.org/artistic_license_2_0"
+ "http://opensource.org/licenses/artistic-license-2.0.php"
]
},
- "version" : "3.04"
+ "version" : "3.06"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/WWW-Shorten-3.04/META.yml new/WWW-Shorten-3.06/META.yml
--- old/WWW-Shorten-3.04/META.yml 2013-08-22 12:32:15.000000000 +0200
+++ new/WWW-Shorten-3.06/META.yml 2014-09-15 22:38:03.000000000 +0200
@@ -8,7 +8,7 @@
configure_requires:
Module::Build: 0.40
dynamic_config: 1
-generated_by: 'Module::Build version 0.4005, CPAN::Meta::Converter version 2.130880'
+generated_by: 'Module::Build version 0.4007, CPAN::Meta::Converter version 2.132140'
license: artistic_2
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -17,7 +17,7 @@
provides:
WWW::Shorten:
file: lib/WWW/Shorten.pm
- version: 3.04
+ version: 3.06
WWW::Shorten::LinkToolbot:
file: lib/WWW/Shorten/LinkToolbot.pm
version: 1.90
@@ -48,5 +48,5 @@
URI: 1.27
perl: 5.006
resources:
- license: http://www.perlfoundation.org/artistic_license_2_0
-version: 3.04
+ license: http://opensource.org/licenses/artistic-license-2.0.php
+version: 3.06
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/WWW-Shorten-3.04/Makefile.PL new/WWW-Shorten-3.06/Makefile.PL
--- old/WWW-Shorten-3.04/Makefile.PL 2013-08-22 12:32:15.000000000 +0200
+++ new/WWW-Shorten-3.06/Makefile.PL 2014-09-15 22:38:03.000000000 +0200
@@ -1,21 +1,21 @@
-# Note: this file was auto-generated by Module::Build::Compat version 0.4005
+# Note: this file was auto-generated by Module::Build::Compat version 0.4007
require 5.006;
use ExtUtils::MakeMaker;
WriteMakefile
(
- 'NAME' => 'WWW::Shorten',
- 'VERSION_FROM' => 'lib/WWW/Shorten.pm',
- 'PREREQ_PM' => {
- 'Config::Auto' => 0,
- 'LWP' => '5.75',
- 'LWP::UserAgent' => '2.023',
- 'Test::More' => '0.47',
- 'URI' => '1.27'
- },
- 'INSTALLDIRS' => 'site',
- 'EXE_FILES' => [
- 'bin/shorten'
- ],
- 'PL_FILES' => {}
- )
+ 'NAME' => 'WWW::Shorten',
+ 'VERSION_FROM' => 'lib/WWW/Shorten.pm',
+ 'PREREQ_PM' => {
+ 'Config::Auto' => 0,
+ 'LWP' => '5.75',
+ 'LWP::UserAgent' => '2.023',
+ 'Test::More' => '0.47',
+ 'URI' => '1.27'
+ },
+ 'INSTALLDIRS' => 'site',
+ 'EXE_FILES' => [
+ 'bin/shorten'
+ ],
+ 'PL_FILES' => {}
+)
;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/WWW-Shorten-3.04/README new/WWW-Shorten-3.06/README
--- old/WWW-Shorten-3.04/README 2013-08-22 12:32:15.000000000 +0200
+++ new/WWW-Shorten-3.06/README 2014-09-15 22:38:03.000000000 +0200
@@ -4,25 +4,7 @@
For installation details, see INSTALL.
-For usage, see the doco. Either use perldoc or view it
+For usage, see the documentation. Either use perldoc or view it
on the web at:
- http://search.cpan.org/dist/WWW-Shorten/
+ https://metacpan.org/release/WWW-Shorten
-Changes for 1.88 (13 Nov 2003)
- - Added OneShortLink, http://1sl.net/
- - EkDk service removed.
- - ShortLink service removed.
- - qURL service removed.
- - TinyClick made their URLs slightly harder to find.
- - SmLnk ID scheme has changed.
- - Metamark tests tidied.
- - Notlong tests tidied.
- - Shorl test precedence fixed.
- - Mention CGI::Shorten.
- - Mention http://dellah.org/shorten/
-
-
-For a complete list of changes, see the Changes file.
-
-
-by Iain Truskett.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/WWW-Shorten-3.04/bin/shorten new/WWW-Shorten-3.06/bin/shorten
--- old/WWW-Shorten-3.04/bin/shorten 2013-08-22 12:32:15.000000000 +0200
+++ new/WWW-Shorten-3.06/bin/shorten 2014-09-15 22:38:03.000000000 +0200
@@ -17,7 +17,7 @@
}
my $service = $args{service} || $ENV{SHORTEN_SERVICE} ||
- $config->{service} || 'Metamark';
+ $config->{service} || 'TinyURL';
$service = "WWW::Shorten::$service";
# Import it
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/WWW-Shorten-3.04/lib/WWW/Shorten/Metamark.pm new/WWW-Shorten-3.06/lib/WWW/Shorten/Metamark.pm
--- old/WWW-Shorten-3.04/lib/WWW/Shorten/Metamark.pm 2013-08-22 12:32:15.000000000 +0200
+++ new/WWW-Shorten-3.06/lib/WWW/Shorten/Metamark.pm 2014-09-15 22:38:03.000000000 +0200
@@ -6,18 +6,13 @@
=head1 SYNOPSIS
- use WWW::Shorten::Metamark;
-
- use WWW::Shorten 'Metamark';
-
- $short_url = makeashorterlink($long_url);
-
- $long_url = makealongerlink($short_url);
+ # No appropriate synopsis
=head1 DESCRIPTION
-A Perl interface to the web site metamark.net. Metamark simply maintains
-a database of long URLs, each of which has a unique identifier.
+A Perl interface to the web site metamark.net.
+
+From September 2014, Metamark is no longer accepting new URLs.
=cut
@@ -27,79 +22,8 @@
use strict;
use warnings;
-use base qw( WWW::Shorten::generic Exporter );
-our @EXPORT = qw(makeashorterlink makealongerlink);
our $VERSION = '1.91';
-use Carp;
-
-=head1 Functions
-
-=head2 makeashorterlink
-
-The function C<makeashorterlink> will call the Metamark web site passing it
-your long URL and will return the shorter Metamark version.
-
-=cut
-
-sub makeashorterlink
-{
- my $url = shift or croak 'No URL passed to makeashorterlink';
- my $ua = __PACKAGE__->ua();
- my $resp = $ua->post( 'http://metamark.net/api/rest/simple', [
- long_url => $url,
- ] );
- return unless $resp->is_success;
- return if $resp->content =~ /^ERROR:/;
- # I love REST. It's so simple when done properly.
- return $resp->content;
-}
-
-=head2 makealongerlink
-
-The function C<makealongerlink> does the reverse. C<makealongerlink>
-will accept as an argument either the full Metamark URL or just the
-Metamark identifier.
-
-If anything goes wrong, then either function will return C<undef>.
-
-=cut
-
-sub makealongerlink
-{
- my $short_url = shift
- or croak 'No Metamark key / URL passed to makealongerlink';
- my $ua = __PACKAGE__->ua();
+require WWW::Shorten::_dead;
- my $resp = $ua->post( 'http://metamark.net/api/rest/simple', [
- short_url => $short_url,
- ] );
- return unless $resp->is_success;
- return if $resp->content =~ /^ERROR:/;
- # I love REST. It's so simple when done properly.
- return $resp->content;
-}
-
-1;
-
-__END__
-
-=head2 EXPORT
-
-makeashorterlink, makealongerlink
-
-=head1 SUPPORT, LICENCE, THANKS and SUCH
-
-See the main LWWW::Shorten docs.
-
-=head1 AUTHOR
-
-Iain Truskett
-
-Based on WWW::MakeAShorterLink by Dave Cross
-
-=head1 SEE ALSO
-
-LWWW::Shorten, L<perl>, Lhttp://metamark.net/
-
-=cut
+0;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/WWW-Shorten-3.04/lib/WWW/Shorten.pm new/WWW-Shorten-3.06/lib/WWW/Shorten.pm
--- old/WWW-Shorten-3.04/lib/WWW/Shorten.pm 2013-08-22 12:32:15.000000000 +0200
+++ new/WWW-Shorten-3.06/lib/WWW/Shorten.pm 2014-09-15 22:38:03.000000000 +0200
@@ -8,7 +8,6 @@
use WWW::Shorten 'Linkz';
use WWW::Shorten 'MakeAShorterLink';
- use WWW::Shorten 'Metamark';
use WWW::Shorten 'NotLong';
use WWW::Shorten 'OneShortLink';
use WWW::Shorten 'Shorl';
@@ -28,7 +27,7 @@
$long_url = makealongerlink($short_url);
# If you don't like the function names:
- use WWW::Shorten 'Metamark', ':short';
+ use WWW::Shorten 'TinyURL', ':short';
$short_url = short_link( $long_url );
$long_url = long_link( $short_url );
@@ -58,9 +57,9 @@
use base qw(WWW::Shorten::generic);
our @EXPORT = qw(makeashorterlink makealongerlink);
-our $VERSION = '3.04';
+our $VERSION = '3.06';
-our $DEFAULT_SERVICE = 'Metamark';
+our $DEFAULT_SERVICE = 'TinyURL';
use Carp;
@@ -136,6 +135,8 @@
=item EkDk
+=item Metamark
+
=item qURL (although the differently capitalised Qurl.com now uses their old domain)
=item ShortLink
@@ -166,7 +167,7 @@
=head2 Same Area, Different Purpose
LCGI::Shorten provides building blocks for you to create your own URL
-shortening service. It provides routines to shoretn a URL, lengthen one,
+shortening service. It provides routines to shorten a URL, lengthen one,
and it keeps a store. Nice and easy.
=head1 THANKS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/WWW-Shorten-3.04/t/00load_a.t new/WWW-Shorten-3.06/t/00load_a.t
--- old/WWW-Shorten-3.04/t/00load_a.t 2013-08-22 12:32:15.000000000 +0200
+++ new/WWW-Shorten-3.06/t/00load_a.t 2014-09-15 22:38:03.000000000 +0200
@@ -1,6 +1,6 @@
use Test::More tests => 3;
# Basic test of 'does the module load, damnit!'
-BEGIN { use_ok 'WWW::Shorten::Metamark' }
+BEGIN { use_ok 'WWW::Shorten::TinyURL' }
ok( exists $::{'makeashorterlink'}, 'shorter exists');
ok( exists $::{'makealongerlink'}, 'longer exists');
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/WWW-Shorten-3.04/t/00load_b.t new/WWW-Shorten-3.06/t/00load_b.t
--- old/WWW-Shorten-3.04/t/00load_b.t 2013-08-22 12:32:15.000000000 +0200
+++ new/WWW-Shorten-3.06/t/00load_b.t 2014-09-15 22:38:03.000000000 +0200
@@ -1,6 +1,6 @@
use Test::More tests => 3;
# Basic test of 'does the module load, damnit!'
-BEGIN { use_ok 'WWW::Shorten', 'Metamark' }
+BEGIN { use_ok 'WWW::Shorten', 'TinyURL' }
ok( exists $::{'makeashorterlink'}, 'shorter exists');
ok( exists $::{'makealongerlink'}, 'longer exists');
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/WWW-Shorten-3.04/t/00noexp.t new/WWW-Shorten-3.06/t/00noexp.t
--- old/WWW-Shorten-3.04/t/00noexp.t 2013-08-22 12:32:15.000000000 +0200
+++ new/WWW-Shorten-3.06/t/00noexp.t 2014-09-15 22:38:03.000000000 +0200
@@ -1,7 +1,7 @@
use Test::More tests => 1;
# Basic test of 'does the module load, damnit!'
-use WWW::Shorten::Metamark;
+use WWW::Shorten::TinyURL;
-eval { WWW::Shorten::Metamark->import(':invalid') };
+eval { WWW::Shorten::TinyURL->import(':invalid') };
ok($@);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/WWW-Shorten-3.04/t/metamark.t new/WWW-Shorten-3.06/t/metamark.t
--- old/WWW-Shorten-3.04/t/metamark.t 2013-08-22 12:32:15.000000000 +0200
+++ new/WWW-Shorten-3.06/t/metamark.t 2014-09-15 22:38:03.000000000 +0200
@@ -1,18 +1,3 @@
-use Test::More tests => 7;
-
-BEGIN { use_ok WWW::Shorten::Metamark };
-
-my $url = 'http://dave.org.uk/';
-my $short = makeashorterlink( $url );
-ok((defined $short), 'Reasonable response');
-like ( $short => qr{^http://xrl\.us/\w+$}, 'make it shorter' );
-
-is ( makealongerlink( $short ) => $url, 'make it longer' );
-
-my ($rs) = $short =~ m# / (\w+) $ #x;
-is ( makealongerlink($rs) => $url, 'make it longer by Id' );
-
-eval { makeashorterlink() };
-ok($@);
-eval { makealongerlink() };
-ok($@);
+use Test::More tests => 1;
+eval { require WWW::Shorten::Metamark };
+like( $@, qr/inactive/, "Service correctly reports it is inactive." );
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/WWW-Shorten-3.04/t/newnames.t new/WWW-Shorten-3.06/t/newnames.t
--- old/WWW-Shorten-3.04/t/newnames.t 2013-08-22 12:32:15.000000000 +0200
+++ new/WWW-Shorten-3.06/t/newnames.t 2014-09-15 22:38:03.000000000 +0200
@@ -1,12 +1,11 @@
use Test::More tests => 6;
-
-use WWW::Shorten qw( Metamark :short );
+use WWW::Shorten qw( TinyURL :short );
ok( exists $::{'short_link'}, 'shorter exists');
ok( exists $::{'long_link'}, 'longer exists');
-use WWW::Shorten qw( Metamark :default );
+use WWW::Shorten qw( TinyURL :default );
ok( exists $::{'makeashorterlink'}, 'shorter exists');
ok( exists $::{'makealongerlink'}, 'longer exists');
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/WWW-Shorten-3.04/t/tinyurl.t new/WWW-Shorten-3.06/t/tinyurl.t
--- old/WWW-Shorten-3.04/t/tinyurl.t 2013-08-22 12:32:15.000000000 +0200
+++ new/WWW-Shorten-3.06/t/tinyurl.t 2014-09-15 22:38:03.000000000 +0200
@@ -2,11 +2,14 @@
BEGIN { use_ok WWW::Shorten::TinyURL };
-my $url = 'http://search.cpan.org/dist/WWW-Shorten/';
+my $url = 'https://metacpan.org/release/WWW-Shorten';
my $return = makeashorterlink($url);
my ($code) = $return =~ /(\w+)$/;
my $prefix = 'http://tinyurl.com/';
is ( makeashorterlink($url), $prefix.$code, 'make it shorter');
+# Slight pause to increase the chance that all of TinyURL's servers
+# know about the new link
+sleep(5);
is ( makealongerlink($prefix.$code), $url, 'make it longer');
is ( makealongerlink($code), $url, 'make it longer by Id',);
++++++ cpanspec.yml ++++++
---
no_testing: needs network