[Bps-public-commit] rt-extension-customizecontenttype branch, master, updated. v0.03-4-g9257ee4
Thomas Sibley
trs at bestpractical.com
Mon Mar 18 21:33:20 EDT 2013
The branch, master has been updated
via 9257ee48e05957cc0506f4a6aa3b6d58aa7747ee (commit)
via 0ca2f56ca0e93be6d72c3b3f37b1950a7e918c36 (commit)
via 493a18fb714664e80cf6706534823dd7ee98adc6 (commit)
from 4892fdbf48c03e3f9edbd6a17bb58d68a94d88b4 (commit)
Summary of changes:
Changes | 6 ++++++
META.yml | 2 +-
inc/Module/Install/RTx.pm | 13 ++++++------
lib/RT/Extension/CustomizeContentType.pm | 36 ++++++++++++++++----------------
4 files changed, 32 insertions(+), 25 deletions(-)
- Log -----------------------------------------------------------------
commit 493a18fb714664e80cf6706534823dd7ee98adc6
Author: Thomas Sibley <trs at bestpractical.com>
Date: Mon Mar 18 18:22:43 2013 -0700
Update M:I:RTx
diff --git a/inc/Module/Install/RTx.pm b/inc/Module/Install/RTx.pm
index ce01018..abf6aea 100644
--- a/inc/Module/Install/RTx.pm
+++ b/inc/Module/Install/RTx.pm
@@ -14,7 +14,7 @@ use FindBin;
use File::Glob ();
use File::Basename ();
-my @DIRS = qw(etc lib html bin sbin po var);
+my @DIRS = qw(etc lib html static bin sbin po var);
my @INDEX_DIRS = qw(lib bin sbin);
sub RTx {
@@ -62,10 +62,11 @@ sub RTx {
unshift @INC, "$RT::LocalPath/lib" if $RT::LocalPath;
unshift @INC, $lib_path;
- $RT::LocalVarPath ||= $RT::VarPath;
- $RT::LocalPoPath ||= $RT::LocalLexiconPath;
- $RT::LocalHtmlPath ||= $RT::MasonComponentRoot;
- $RT::LocalLibPath ||= "$RT::LocalPath/lib";
+ $RT::LocalVarPath ||= $RT::VarPath;
+ $RT::LocalPoPath ||= $RT::LocalLexiconPath;
+ $RT::LocalHtmlPath ||= $RT::MasonComponentRoot;
+ $RT::LocalStaticPath ||= $RT::StaticPath;
+ $RT::LocalLibPath ||= "$RT::LocalPath/lib";
my $with_subdirs = $ENV{WITH_SUBDIRS};
@ARGV = grep { /WITH_SUBDIRS=(.*)/ ? ( ( $with_subdirs = $1 ), 0 ) : 1 }
@@ -208,4 +209,4 @@ sub requires_rt {
__END__
-#line 328
+#line 329
commit 0ca2f56ca0e93be6d72c3b3f37b1950a7e918c36
Author: Thomas Sibley <trs at bestpractical.com>
Date: Mon Mar 18 18:25:56 2013 -0700
Remove leading dots from example config in 504ef24
diff --git a/lib/RT/Extension/CustomizeContentType.pm b/lib/RT/Extension/CustomizeContentType.pm
index 2d756c0..4677bd2 100644
--- a/lib/RT/Extension/CustomizeContentType.pm
+++ b/lib/RT/Extension/CustomizeContentType.pm
@@ -77,23 +77,23 @@ fix that by L<installing this extension|/INSTALLATION> and using the
configuration below:
Set(%ContentTypes,
- '.docm' => 'application/vnd.ms-word.document.macroEnabled.12',
- '.docx' => 'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
- '.dotm' => 'application/vnd.ms-word.template.macroEnabled.12',
- '.dotx' => 'application/vnd.openxmlformats-officedocument.wordprocessingml.template',
- '.potm' => 'application/vnd.ms-powerpoint.template.macroEnabled.12',
- '.potx' => 'application/vnd.openxmlformats-officedocument.presentationml.template',
- '.ppam' => 'application/vnd.ms-powerpoint.addin.macroEnabled.12',
- '.ppsm' => 'application/vnd.ms-powerpoint.slideshow.macroEnabled.12',
- '.ppsx' => 'application/vnd.openxmlformats-officedocument.presentationml.slideshow',
- '.pptm' => 'application/vnd.ms-powerpoint.presentation.macroEnabled.12',
- '.pptx' => 'application/vnd.openxmlformats-officedocument.presentationml.presentation',
- '.xlam' => 'application/vnd.ms-excel.addin.macroEnabled.12',
- '.xlsb' => 'application/vnd.ms-excel.sheet.binary.macroEnabled.12',
- '.xlsm' => 'application/vnd.ms-excel.sheet.macroEnabled.12',
- '.xlsx' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
- '.xltm' => 'application/vnd.ms-excel.template.macroEnabled.12',
- '.xltx' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.template',
+ 'docm' => 'application/vnd.ms-word.document.macroEnabled.12',
+ 'docx' => 'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
+ 'dotm' => 'application/vnd.ms-word.template.macroEnabled.12',
+ 'dotx' => 'application/vnd.openxmlformats-officedocument.wordprocessingml.template',
+ 'potm' => 'application/vnd.ms-powerpoint.template.macroEnabled.12',
+ 'potx' => 'application/vnd.openxmlformats-officedocument.presentationml.template',
+ 'ppam' => 'application/vnd.ms-powerpoint.addin.macroEnabled.12',
+ 'ppsm' => 'application/vnd.ms-powerpoint.slideshow.macroEnabled.12',
+ 'ppsx' => 'application/vnd.openxmlformats-officedocument.presentationml.slideshow',
+ 'pptm' => 'application/vnd.ms-powerpoint.presentation.macroEnabled.12',
+ 'pptx' => 'application/vnd.openxmlformats-officedocument.presentationml.presentation',
+ 'xlam' => 'application/vnd.ms-excel.addin.macroEnabled.12',
+ 'xlsb' => 'application/vnd.ms-excel.sheet.binary.macroEnabled.12',
+ 'xlsm' => 'application/vnd.ms-excel.sheet.macroEnabled.12',
+ 'xlsx' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
+ 'xltm' => 'application/vnd.ms-excel.template.macroEnabled.12',
+ 'xltx' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.template',
);
Config contributed by Nathan March.
commit 9257ee48e05957cc0506f4a6aa3b6d58aa7747ee
Author: Thomas Sibley <trs at bestpractical.com>
Date: Mon Mar 18 18:32:12 2013 -0700
Version 0.04
diff --git a/Changes b/Changes
index cb17279..4e0df8f 100644
--- a/Changes
+++ b/Changes
@@ -1,5 +1,11 @@
Revision history for RT-Extension-CustomizeContentType
+0.04 Mon Mar 18 18:30:45 PDT 2013
+
+ * Remove leading dots from example config in 0.03
+ * Version numbers don't belong in POD
+ * Update M:I:RTx
+
0.03 Tue Nov 20 10:31:31 PST 2012
Included example configuration for a common MS Office problem (thanks to
diff --git a/META.yml b/META.yml
index 08f988e..7c53fdc 100644
--- a/META.yml
+++ b/META.yml
@@ -19,4 +19,4 @@ no_index:
- inc
resources:
license: http://dev.perl.org/licenses/
-version: 0.03
+version: 0.04
diff --git a/lib/RT/Extension/CustomizeContentType.pm b/lib/RT/Extension/CustomizeContentType.pm
index 4677bd2..5861281 100644
--- a/lib/RT/Extension/CustomizeContentType.pm
+++ b/lib/RT/Extension/CustomizeContentType.pm
@@ -3,7 +3,7 @@ use strict;
package RT::Extension::CustomizeContentType;
-our $VERSION = "0.03";
+our $VERSION = "0.04";
use RT::Attachment;
package RT::Attachment;
-----------------------------------------------------------------------
More information about the Bps-public-commit
mailing list