[Bps-public-commit] RTx-RemoteLinks branch, master, updated. 0.02-3-g9d361ec
Thomas Sibley
trs at bestpractical.com
Thu Apr 11 17:56:52 EDT 2013
The branch, master has been updated
via 9d361ecfcfd1ee3626422988408d7025c046b67a (commit)
via 39b374e7a6b83c049487723d0a10368dc7523db9 (commit)
via 8994cce798c81f900121dd895ca25b4eb8d3a541 (commit)
from 8b4393bd20139a8a7a0cfc58a593e3517e5a45f1 (commit)
Summary of changes:
META.yml | 2 +-
README | 6 ++++++
.../RTx-RemoteLinks/Elements/EditLinks/ExtraLinkInstructions | 2 +-
lib/RTx/RemoteLinks.pm | 7 ++++++-
4 files changed, 14 insertions(+), 3 deletions(-)
- Log -----------------------------------------------------------------
commit 8994cce798c81f900121dd895ca25b4eb8d3a541
Author: Thomas Sibley <trs at bestpractical.com>
Date: Thu Apr 11 14:54:29 2013 -0700
Consistent order of prefixes in help instructions
diff --git a/html/Callbacks/RTx-RemoteLinks/Elements/EditLinks/ExtraLinkInstructions b/html/Callbacks/RTx-RemoteLinks/Elements/EditLinks/ExtraLinkInstructions
index 29abbaf..e510849 100644
--- a/html/Callbacks/RTx-RemoteLinks/Elements/EditLinks/ExtraLinkInstructions
+++ b/html/Callbacks/RTx-RemoteLinks/Elements/EditLinks/ExtraLinkInstructions
@@ -13,7 +13,7 @@ my $pretty_remote = sub {
return $uri->can("host") ? $uri->host : $uri;
};
-my @alias = keys %remote;
+my @alias = sort { lc($a) cmp lc($b) } keys %remote;
</%init>
<br />
% if (@alias == 1) {
commit 39b374e7a6b83c049487723d0a10368dc7523db9
Author: Thomas Sibley <trs at bestpractical.com>
Date: Thu Apr 11 14:56:03 2013 -0700
Notes about prefixes
diff --git a/README b/README
index 1ce95ad..4ca2e50 100644
--- a/README
+++ b/README
@@ -16,6 +16,12 @@ CONFIGURATION
Bar => 'https://example.net/rt', # specifies https and a subpath for RT
);
+ Prefixes are case insensitive, so both "Foo" and "foo" and "fOo" will
+ work.
+
+ Once you create links in the system using a prefix, you should leave it
+ configured.
+
Make sure to add this plugin to @Plugins as well, as described in
"INSTALLATION".
diff --git a/lib/RTx/RemoteLinks.pm b/lib/RTx/RemoteLinks.pm
index ee1d481..cca8f49 100644
--- a/lib/RTx/RemoteLinks.pm
+++ b/lib/RTx/RemoteLinks.pm
@@ -26,6 +26,11 @@ complications, but this could be added in the future.
Bar => 'https://example.net/rt', # specifies https and a subpath for RT
);
+Prefixes are case insensitive, so both "Foo" and "foo" and "fOo" will work.
+
+Once you create links in the system using a prefix, you should leave it
+configured.
+
Make sure to add this plugin to C<@Plugins> as well, as described in
L</INSTALLATION>.
commit 9d361ecfcfd1ee3626422988408d7025c046b67a
Author: Thomas Sibley <trs at bestpractical.com>
Date: Thu Apr 11 14:56:14 2013 -0700
Bump version
diff --git a/META.yml b/META.yml
index 212d78d..a8a3af6 100644
--- a/META.yml
+++ b/META.yml
@@ -20,4 +20,4 @@ no_index:
- inc
resources:
license: http://opensource.org/licenses/gpl-license.php
-version: 0.02
+version: 0.03
diff --git a/lib/RTx/RemoteLinks.pm b/lib/RTx/RemoteLinks.pm
index cca8f49..f6efb28 100644
--- a/lib/RTx/RemoteLinks.pm
+++ b/lib/RTx/RemoteLinks.pm
@@ -2,7 +2,7 @@ use strict;
use warnings;
package RTx::RemoteLinks;
-our $VERSION = '0.02';
+our $VERSION = '0.03';
use List::Util 'first';
-----------------------------------------------------------------------
More information about the Bps-public-commit
mailing list