Commit 0830350b authored by Kevin Falcone's avatar Kevin Falcone
Browse files

Release Engineering for 0.16

parent 06cfc7ea
Revision history for RT-Extension-CommandByMail
0.15 Fri Oct 25 2013
* Finish updating the README that ships with the extension
0.15 Thu Oct 3 14:49:17 EDT 2013
* no_index for RT::Extension::CommandByMail::test
......
......@@ -8,23 +8,17 @@ inc/Module/Install/Fetch.pm
inc/Module/Install/Include.pm
inc/Module/Install/Makefile.pm
inc/Module/Install/Metadata.pm
inc/Module/Install/ReadmeFromPod.pm
inc/Module/Install/RTx.pm
inc/Module/Install/Substitute.pm
inc/Module/Install/Win32.pm
inc/Module/Install/WriteAll.pm
INSTALL
lib/RT/Extension/CommandByMail.pm
lib/RT/Extension/CommandByMail/Test.pm
lib/RT/Interface/Email/Filter/TakeAction.pm
Makefile.PL
MANIFEST This list of files
META.yml
patch/command_by_email-0.1-RT-3.4.2.patch
patch/command_by_email-0.1-RT-3.4.3.patch
patch/command_by_email-0.1-RT-3.4.4.patch
patch/command_by_email-0.1-RT-3.4.5.patch
patch/command_by_email-0.1-RT-3.6.0.patch
patch/errors_in_reply_to-RT-3.6.1.patch
README
t/create.t
t/internals.t
......
......@@ -2,7 +2,7 @@
abstract: 'Change metadata of ticket via email'
author:
- 'Jesse Vincent C<< <jesse@bestpractical.com> >>'
- 'Jesse Vincent <jesse@bestpractical.com>'
- 'Jesse Vincent C<< <jesse@bestpractical.com> >>'
build_requires:
ExtUtils::MakeMaker: 6.59
IPC::Open2: 0
......@@ -29,4 +29,4 @@ requires:
perl: 5.8.3
resources:
license: http://dev.perl.org/licenses/
version: 0.15
version: 0.16
......@@ -2,7 +2,7 @@ use inc::Module::Install;
#die "This RT Extension will kill your pets and steal your valuables. DO NOT USE IT YET";
RTx ('RT-Extension-CommandByMail');
author ('Jesse Vincent <jesse@bestpractical.com>');
author_from ('lib/RT/Extension/CommandByMail.pm');
license('perl');
readme_from('lib/RT/Extension/CommandByMail.pm');
......
......@@ -174,37 +174,14 @@ install ::
}
}
# stolen from RT::Handle so we work on 3.6 (cmp_versions came in with 3.8)
{ my %word = (
a => -4,
alpha => -4,
b => -3,
beta => -3,
pre => -2,
rc => -1,
head => 9999,
);
sub cmp_version($$) {
my ($a, $b) = (@_);
my @a = grep defined, map { /^[0-9]+$/? $_ : /^[a-zA-Z]+$/? $word{$_}|| -10 : undef }
split /([^0-9]+)/, $a;
my @b = grep defined, map { /^[0-9]+$/? $_ : /^[a-zA-Z]+$/? $word{$_}|| -10 : undef }
split /([^0-9]+)/, $b;
@a > @b
? push @b, (0) x (@a-@b)
: push @a, (0) x (@b-@a);
for ( my $i = 0; $i < @a; $i++ ) {
return $a[$i] <=> $b[$i] if $a[$i] <=> $b[$i];
}
return 0;
}}
sub requires_rt {
my ($self,$version) = @_;
# if we're exactly the same version as what we want, silently return
return if ($version eq $RT::VERSION);
my @sorted = sort cmp_version $version,$RT::VERSION;
require RT::Handle;
my @sorted = sort RT::Handle::cmp_version $version,$RT::VERSION;
if ($sorted[-1] eq $version) {
# should we die?
......@@ -216,4 +193,4 @@ sub requires_rt {
__END__
#line 336
#line 313
use 5.008003;
package RT::Extension::CommandByMail;
our $VERSION = '0.15';
our $VERSION = '0.16';
1;
__END__
......
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