[Rt-commit] [rtir] 07/07: Match docs (4.2.7) with Makefile.PL and friends

Kevin Falcone falcone at bestpractical.com
Wed Sep 17 17:14:13 EDT 2014


This is an automated email from the git hooks/post-receive script.

falcone pushed a commit to branch master
in repository rtir.

commit 93b618baaaae20837d730b7976f25adeffffa1b5
Author: Kevin Falcone <falcone at bestpractical.com>
Date:   Wed Sep 17 17:13:57 2014 -0400

    Match docs (4.2.7) with Makefile.PL and friends
---
 META.yml                  | 2 +-
 Makefile.PL               | 2 +-
 inc/Module/Install/RTx.pm | 4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/META.yml b/META.yml
index 79789c4..d12d396 100644
--- a/META.yml
+++ b/META.yml
@@ -34,5 +34,5 @@ resources:
   license: http://opensource.org/licenses/gpl-license.php
 version: 3.1.HEAD
 x_module_install_rtx_version: 0.35_01
-x_requires_rt: 4.2.3
+x_requires_rt: 4.2.7
 x_rt_too_new: 4.4.0
diff --git a/Makefile.PL b/Makefile.PL
index 42292c5..160d607 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -6,7 +6,7 @@ author('Best Practical Solutions <sales at bestpractical.com>');
 all_from('lib/RT/IR.pm');
 
 # update README and docs/UPGRADING
-requires_rt('4.2.3');
+requires_rt('4.2.7');
 rt_too_new('4.4.0',"\nRTIR 3.2.x is only compatible with RT 4.2.x and you are using RT %s\n");
 
 # XXX: This should be reported by M::I::RTx
diff --git a/inc/Module/Install/RTx.pm b/inc/Module/Install/RTx.pm
index 041692a..02e645b 100644
--- a/inc/Module/Install/RTx.pm
+++ b/inc/Module/Install/RTx.pm
@@ -198,7 +198,7 @@ sub requires_rt_plugin {
     my ( $plugin ) = @_;
 
     if ($self->is_admin) {
-        my $plugins = $self->{values}{"x_requires_rt_plugins"} || [];
+        my $plugins = $self->Meta->{values}{"x_requires_rt_plugins"} || [];
         push @{$plugins}, $plugin;
         $self->add_metadata("x_requires_rt_plugins", $plugins);
     }
@@ -258,4 +258,4 @@ sub _load_rt_handle {
 
 __END__
 
-#line 387
+#line 390

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the rt-commit mailing list