[Bps-public-commit] RT-Extension-RepliesToResolved branch, master, updated. 1.01
Kevin Falcone
falcone at bestpractical.com
Fri Jan 16 15:40:28 EST 2015
The branch, master has been updated
via 1c64f7c65732744ba7c6afac0da58e1f284a855d (commit)
via 52569e1673b02c50f0289302be32ea05c6a0ed38 (commit)
via daf305b5ad0d792b05fc7697ce0f5dda13b920ae (commit)
from af3b0ae439fe4a3bdc87bd92786bf6c66a50ee77 (commit)
Summary of changes:
Changes | 2 ++
MANIFEST | 1 +
META.yml | 5 +++--
Makefile.PL | 3 +++
README | 2 +-
inc/Module/Install/RTx.pm | 2 +-
lib/RT/Action/LinkWasReplyTo.pm | 3 ++-
lib/RT/Extension/RepliesToResolved.pm | 4 ++--
8 files changed, 15 insertions(+), 7 deletions(-)
create mode 100644 Changes
- Log -----------------------------------------------------------------
commit daf305b5ad0d792b05fc7697ce0f5dda13b920ae
Author: Kevin Falcone <falcone at bestpractical.com>
Date: Fri Jan 16 12:29:49 2015 -0800
4.2 compatibility
4.2 removed the ticket LINKTYPEMAP method causing this to die.
The new ticket was created, but the link wasn't created.
If the method exists on RT::Ticket, call it, otherwise do the 4.2 thing
and read from %RT::Link::TYPEMAP
diff --git a/lib/RT/Action/LinkWasReplyTo.pm b/lib/RT/Action/LinkWasReplyTo.pm
index 1e0c2c6..9e4d689 100644
--- a/lib/RT/Action/LinkWasReplyTo.pm
+++ b/lib/RT/Action/LinkWasReplyTo.pm
@@ -36,7 +36,8 @@ sub Commit {
return 1 unless $OldTicket;
my ($val, $msg);
- my $map = $Ticket->LINKTYPEMAP;
+ my $map = $Ticket->can('LINKTYPEMAP') ? $Ticket->LINKTYPEMAP : # 4.0
+ { %RT::Link::TYPEMAP }; # 4.2
($val, $msg) = $Ticket->AddLink(Type => $map->{$linktype}->{'Type'},
$map->{$linktype}->{'Mode'} => $OldTicket);
commit 52569e1673b02c50f0289302be32ea05c6a0ed38
Author: Kevin Falcone <falcone at bestpractical.com>
Date: Fri Jan 16 12:34:02 2015 -0800
Update Copyright
diff --git a/README b/README
index 4c537d4..fc67381 100644
--- a/README
+++ b/README
@@ -67,7 +67,7 @@ BUGS
L<rt.cpan.org|http://rt.cpan.org/Public/Dist/Display.html?Name=RT-Extension-RepliesToResolved>.
LICENSE AND COPYRIGHT
- This software is Copyright (c) 2014 by Best Practical Solutions
+ This software is Copyright (c) 2014-2015 by Best Practical Solutions
This is free software, licensed under:
diff --git a/lib/RT/Extension/RepliesToResolved.pm b/lib/RT/Extension/RepliesToResolved.pm
index 4d75f39..0510fa5 100644
--- a/lib/RT/Extension/RepliesToResolved.pm
+++ b/lib/RT/Extension/RepliesToResolved.pm
@@ -161,7 +161,7 @@ or via the web at
=head1 LICENSE AND COPYRIGHT
-This software is Copyright (c) 2014 by Best Practical Solutions
+This software is Copyright (c) 2014-2015 by Best Practical Solutions
This is free software, licensed under:
commit 1c64f7c65732744ba7c6afac0da58e1f284a855d
Author: Kevin Falcone <falcone at bestpractical.com>
Date: Fri Jan 16 12:35:50 2015 -0800
Bump version for 1.01
Mark 4.4.0 ceiling.
Add a changelog.
diff --git a/Changes b/Changes
new file mode 100644
index 0000000..c104294
--- /dev/null
+++ b/Changes
@@ -0,0 +1,2 @@
+1.01 2015-01-16
+* 4.2 compatibility
diff --git a/MANIFEST b/MANIFEST
index ce4e6fb..eddc64c 100644
--- a/MANIFEST
+++ b/MANIFEST
@@ -1,3 +1,4 @@
+Changes
etc/initialdata
etc/RepliesToResolved_Config.pm
inc/Module/Install.pm
diff --git a/META.yml b/META.yml
index b39728e..93359f8 100644
--- a/META.yml
+++ b/META.yml
@@ -9,7 +9,7 @@ configure_requires:
distribution_type: module
dynamic_config: 1
generated_by: 'Module::Install version 1.12'
-license: gpl
+license: gplv2
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
version: 1.4
@@ -25,6 +25,7 @@ requires:
resources:
license: http://opensource.org/licenses/gpl-license.php
repository: https://github.com/bestpractical/rt-extension-repliestoresolved
-version: '1.00'
+version: '1.01'
x_module_install_rtx_version: '0.36'
x_requires_rt: 4.0.9
+x_rt_too_new: 4.4.0
diff --git a/Makefile.PL b/Makefile.PL
index 47851ac..55b889d 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -6,6 +6,9 @@ repository('https://github.com/bestpractical/rt-extension-repliestoresolved');
no_index( package => 'RT::Interface::Email' );
requires_rt '4.0.9';
+rt_too_new '4.4.0';
+
+license 'gplv2';
sign();
WriteAll();
diff --git a/inc/Module/Install/RTx.pm b/inc/Module/Install/RTx.pm
index 73e7245..1b55bfa 100644
--- a/inc/Module/Install/RTx.pm
+++ b/inc/Module/Install/RTx.pm
@@ -123,7 +123,7 @@ install ::
$has_etc{acl}++;
}
if ( -e 'etc/initialdata' ) { $has_etc{initialdata}++; }
- if ( grep { /\d+\.\d+(\.\d+)?.*$/ } glob('etc/upgrade/*.*') ) {
+ if ( grep { /\d+\.\d+\.\d+.*$/ } glob('etc/upgrade/*.*.*') ) {
$has_etc{upgrade}++;
}
diff --git a/lib/RT/Extension/RepliesToResolved.pm b/lib/RT/Extension/RepliesToResolved.pm
index 0510fa5..8782874 100644
--- a/lib/RT/Extension/RepliesToResolved.pm
+++ b/lib/RT/Extension/RepliesToResolved.pm
@@ -2,7 +2,7 @@ use 5.008003; use strict; use warnings;
package RT::Extension::RepliesToResolved;
-our $VERSION = '1.00';
+our $VERSION = '1.01';
=head1 NAME
-----------------------------------------------------------------------
More information about the Bps-public-commit
mailing list