[Bps-public-commit] RT-Extension-LDAPImport branch, master, updated. 0.33_01-2-g0306ad8
Thomas Sibley
trs at bestpractical.com
Mon Oct 22 14:08:42 EDT 2012
The branch, master has been updated
via 0306ad86a4307cc6f74ac0745338da4471f5eb42 (commit)
via dbdc867b7650a84a5b56dcab984f645ec776caac (commit)
from 445ee63ace750aa0f3e53d9fdc9c044132185cd2 (commit)
Summary of changes:
META.yml | 2 +-
README | 5 +++++
lib/RT/Extension/LDAPImport.pm | 10 +++++++++-
3 files changed, 15 insertions(+), 2 deletions(-)
- Log -----------------------------------------------------------------
commit dbdc867b7650a84a5b56dcab984f645ec776caac
Author: Thomas Sibley <trs at bestpractical.com>
Date: Mon Oct 22 11:07:39 2012 -0700
POD for the new update_rt_user method
diff --git a/lib/RT/Extension/LDAPImport.pm b/lib/RT/Extension/LDAPImport.pm
index aa01314..d2ba5c6 100644
--- a/lib/RT/Extension/LDAPImport.pm
+++ b/lib/RT/Extension/LDAPImport.pm
@@ -701,6 +701,14 @@ sub create_rt_user {
}
+=head2 update_rt_user
+
+Takes a hash with a user object as C<user> and a hashref of updated values as
+C<info>. Mimics RT::Record's C<Update> method, but without side-effects of
+newline normalization.
+
+=cut
+
sub update_rt_user {
my $self = shift;
my %args = @_;
commit 0306ad86a4307cc6f74ac0745338da4471f5eb42
Author: Thomas Sibley <trs at bestpractical.com>
Date: Mon Oct 22 11:08:07 2012 -0700
Dev version 0.33_02
diff --git a/META.yml b/META.yml
index d3e3000..647cba0 100644
--- a/META.yml
+++ b/META.yml
@@ -28,4 +28,4 @@ requires:
Test::More: 0
resources:
license: http://dev.perl.org/licenses/
-version: 0.33_01
+version: 0.33_02
diff --git a/README b/README
index e4a52fd..b06a008 100644
--- a/README
+++ b/README
@@ -298,6 +298,11 @@ METHODS
If $LDAPUpdateOnly is true, we will not create new users but we will
update existing ones.
+ update_rt_user
+ Takes a hash with a user object as "user" and a hashref of updated
+ values as "info". Mimics RT::Record's "Update" method, but without
+ side-effects of newline normalization.
+
add_user_to_group
Adds new users to the group specified in the $LDAPGroupName variable
(defaults to 'Imported from LDAP'). You can avoid this if you set
diff --git a/lib/RT/Extension/LDAPImport.pm b/lib/RT/Extension/LDAPImport.pm
index d2ba5c6..ee0c6f0 100644
--- a/lib/RT/Extension/LDAPImport.pm
+++ b/lib/RT/Extension/LDAPImport.pm
@@ -1,6 +1,6 @@
package RT::Extension::LDAPImport;
-our $VERSION = '0.33_01';
+our $VERSION = '0.33_02';
use warnings;
use strict;
-----------------------------------------------------------------------
More information about the Bps-public-commit
mailing list