[Bps-public-commit] RT-Extension-ExtractCustomFieldValues branch, master, updated. 3.08

Thomas Sibley trs at bestpractical.com
Tue Jul 30 20:53:16 EDT 2013


The branch, master has been updated
       via  c09a129b0ce7a7d55050b9082324421114b08052 (commit)
      from  3a043e046ae3359dc22eda9c177d2c755a34445b (commit)

Summary of changes:
 Changes                                      | 4 ++++
 META.yml                                     | 2 +-
 README                                       | 9 ++++++---
 lib/RT/Extension/ExtractCustomFieldValues.pm | 2 +-
 4 files changed, 12 insertions(+), 5 deletions(-)

- Log -----------------------------------------------------------------
commit c09a129b0ce7a7d55050b9082324421114b08052
Author: Thomas Sibley <trs at bestpractical.com>
Date:   Tue Jul 30 17:52:25 2013 -0700

    Releng 3.08

diff --git a/Changes b/Changes
index 65f63da..83a57c3 100644
--- a/Changes
+++ b/Changes
@@ -1,3 +1,7 @@
+3.08    Tue Jul 30 17:51:30 PDT 2013
+* Add a '+' option to capture multiple values (thanks to Kevin Riggle)
+* Add an explicit license
+
 3.07
 
 Compatibility tweaks for RT4
diff --git a/META.yml b/META.yml
index f0abbc7..650854c 100644
--- a/META.yml
+++ b/META.yml
@@ -20,4 +20,4 @@ no_index:
     - inc
 resources:
   license: http://opensource.org/licenses/gpl-license.php
-version: 3.07
+version: 3.08
diff --git a/README b/README
index 3ebfd1f..b68b3be 100644
--- a/README
+++ b/README
@@ -39,8 +39,8 @@ USAGE
     <Headername> - either a Name of an email header, "body" to scan the body
     of the email or "headers" to search all of the headers.
     <MatchString> - a regular expression to find a match in the header or
-    body if the MatchString matches a comma separated list and the CF is a
-    multi value CF then each item in the list is added as a separate value.
+    body. If the MatchString matches a comma separated list and the CF is a
+    multi-value CF then each item in the list is added as a separate value.
     <Postcmd> - a perl code to be evaluated on $value, where $value is
     either $1 or full match text from the match performed with <MatchString>
     <Options> - a string of letters which may control some aspects. Possible
@@ -51,7 +51,10 @@ USAGE
         '*' - (wildcard) The MatchString regex should contain _two_
         capturing groups, the first of which is the CF name, the second of
         which is the value. If this option is given, the <cf-name> field is
-        ignored.
+        ignored. (Supercedes '+'.)
+        '+' - (multiple) The MatchString regex will be applied with the /g
+        option and all matching values will be added to the CF, which should
+        probably be a multi-value CF for best results. (Superceded by '*'.)
 
   Separator
     You can change the separator string (initially "\|") during the template
diff --git a/lib/RT/Extension/ExtractCustomFieldValues.pm b/lib/RT/Extension/ExtractCustomFieldValues.pm
index f103271..a812a55 100644
--- a/lib/RT/Extension/ExtractCustomFieldValues.pm
+++ b/lib/RT/Extension/ExtractCustomFieldValues.pm
@@ -9,7 +9,7 @@ RT::Extension::ExtractCustomFieldValues - extract CF values from email headers o
 
 =cut
 
-our $VERSION = '3.07';
+our $VERSION = '3.08';
 
 1;
 

-----------------------------------------------------------------------



More information about the Bps-public-commit mailing list