diff options
author | Dylan William Hardison <dylan@hardison.net> | 2016-07-01 05:32:40 +0200 |
---|---|---|
committer | Dylan William Hardison <dylan@hardison.net> | 2016-09-13 15:27:19 +0200 |
commit | 5f310e5b9e7afbd5badb17178349fefaaabfacce (patch) | |
tree | 24a4973f71f38e0cd7788a25817142ab6c05ed3e /extensions/Bitly | |
parent | 14bcdce1dc6029c3676c3640d8148c83c14692e5 (diff) | |
download | bugzilla-5f310e5b9e7afbd5badb17178349fefaaabfacce.tar.gz bugzilla-5f310e5b9e7afbd5badb17178349fefaaabfacce.tar.xz |
Bug 1283930 - Add Makefile.PL & local/lib/perl5 support to bmo/master + local symlink to data/ directory
Diffstat (limited to 'extensions/Bitly')
-rw-r--r-- | extensions/Bitly/Config.pm | 33 | ||||
-rw-r--r-- | extensions/Bitly/Extension.pm | 2 | ||||
-rw-r--r-- | extensions/Bitly/lib/WebService.pm | 1 |
3 files changed, 15 insertions, 21 deletions
diff --git a/extensions/Bitly/Config.pm b/extensions/Bitly/Config.pm index aff9d4b4b..a07df0f1b 100644 --- a/extensions/Bitly/Config.pm +++ b/extensions/Bitly/Config.pm @@ -6,32 +6,21 @@ # defined by the Mozilla Public License, v. 2.0. package Bugzilla::Extension::Bitly; -use strict; -use Bugzilla::Install::Util qw(vers_cmp); +use 5.10.1; +use strict; +use warnings; use constant NAME => 'Bitly'; sub REQUIRED_MODULES { - my @required; - push @required, { - package => 'LWP', - module => 'LWP', - version => 5, - }; - # LWP 6 split https support into a separate package - if (Bugzilla::Install::Requirements::have_vers({ - package => 'LWP', - module => 'LWP', - version => 6, - })) { - push @required, { - package => 'LWP-Protocol-https', - module => 'LWP::Protocol::https', - version => 0 - }; - } - return \@required; + return [ + { + package => 'LWP', + module => 'LWP', + version => '5.835', + }, + ]; } use constant OPTIONAL_MODULES => [ @@ -42,4 +31,6 @@ use constant OPTIONAL_MODULES => [ }, ]; +use constant API_VERSION_MAP => { '1_0' => '1_0' }; + __PACKAGE__->NAME; diff --git a/extensions/Bitly/Extension.pm b/extensions/Bitly/Extension.pm index a368b20fe..82f17bc2a 100644 --- a/extensions/Bitly/Extension.pm +++ b/extensions/Bitly/Extension.pm @@ -6,6 +6,8 @@ # defined by the Mozilla Public License, v. 2.0. package Bugzilla::Extension::Bitly; + +use 5.10.1; use strict; use warnings; diff --git a/extensions/Bitly/lib/WebService.pm b/extensions/Bitly/lib/WebService.pm index b47accda6..b8ada56d2 100644 --- a/extensions/Bitly/lib/WebService.pm +++ b/extensions/Bitly/lib/WebService.pm @@ -7,6 +7,7 @@ package Bugzilla::Extension::Bitly::WebService; +use 5.10.1; use strict; use warnings; |