[Bps-public-commit] rt-extension-resetpassword branch, master, updated. f5c16568ac8d2fb83ddaebc3fabe46e1d121447d

Kevin Falcone falcone at bestpractical.com
Mon Sep 19 11:32:20 EDT 2011


The branch, master has been updated
       via  f5c16568ac8d2fb83ddaebc3fabe46e1d121447d (commit)
      from  1aa4f3e9a228960797c719633a638db1cfc4267d (commit)

Summary of changes:
 .gitignore                        |   16 ++++++++++++++++
 MANIFEST                          |    1 -
 Makefile.PL                       |    3 +++
 README                            |   27 ---------------------------
 lib/RT/Extension/ResetPassword.pm |   34 ++++++++++++++++++++++++++++++++++
 5 files changed, 53 insertions(+), 28 deletions(-)
 create mode 100644 .gitignore
 delete mode 100644 README

- Log -----------------------------------------------------------------
commit f5c16568ac8d2fb83ddaebc3fabe46e1d121447d
Author: Kevin Falcone <falcone at bestpractical.com>
Date:   Mon Sep 19 11:30:58 2011 -0400

    Add a gitignore and move README into lib

diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..a1ba2cc
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,16 @@
+blib*
+Makefile
+Makefile.old
+MANIFEST.bak
+Build
+Build.bat
+_build*
+pm_to_blib*
+*.tar.gz
+.lwpcookies
+cover_db
+pod2htm*.tmp
+/RT-Extension-ResetPassword*
+README
+/MYMETA.*
+*.swp
diff --git a/MANIFEST b/MANIFEST
index 21b156c..b589f86 100644
--- a/MANIFEST
+++ b/MANIFEST
@@ -14,4 +14,3 @@ lib/RT/Extension/ResetPassword.pm
 Makefile.PL
 MANIFEST			This list of files
 META.yml
-README
diff --git a/Makefile.PL b/Makefile.PL
index 6d94247..652baa6 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -1,6 +1,9 @@
 use inc::Module::Install;
 RTx('RT-Extension-ResetPassword');
 author ('Jesse Vincent <jesse at bestpractical.com>');
+readme_from('lib/RT/Extension/ResetPassword.pm');
+all_from('lib/RT/Extension/ResetPassword.pm');
 license('perl');
 
+sign;
 &WriteAll;
diff --git a/README b/README
deleted file mode 100644
index f2ebd02..0000000
--- a/README
+++ /dev/null
@@ -1,27 +0,0 @@
-This extension for RT adds a new "Forgot your password?" link to the front
-of your RT instance. Any user can request that RT send them a password
-reset token by email.  RT will send the user a one-time URL which he or
-she can use to reset her password. This extension allows _all_ users to
-reset their passwords by email. There isn't yet an option to only allow
-staff users or non-staff users to reset their passwords.
-
-This extension should be compatible with RT 3.4 and later
-
-To install this extension:
-
-perl Makefile.PL
-make install
-
-If you are running RT 3.8, you must add RT-Extension-ResetPassword
-to your @Plugins in your RT_SiteConfig
-
-Set(@Plugins, qw(RT::Extension::ResetPassword Your::Other::Extensions));
-
-Make sure you clear your mason cache before restarting apache
-rm -rf /opt/rt3/var/mason_data/obj/*
-apachectl restart
-
-
-Copyright 2006-2009 Best Practical Solutions, LLC. 
-This software is distributed under the same license as Perl 5.8.8.
-For commercial support, please contact sales at bestpractical.com
diff --git a/lib/RT/Extension/ResetPassword.pm b/lib/RT/Extension/ResetPassword.pm
index 4d077bd..e1c879c 100644
--- a/lib/RT/Extension/ResetPassword.pm
+++ b/lib/RT/Extension/ResetPassword.pm
@@ -2,4 +2,38 @@ package RT::Extension::ResetPassword;
 
 our $VERSION = '0.03';
 
+=head1 DESCRIPTION
+
+This extension for RT adds a new "Forgot your password?" link to the front
+of your RT instance. Any user can request that RT send them a password
+reset token by email.  RT will send the user a one-time URL which he or
+she can use to reset her password. This extension allows _all_ users to
+reset their passwords by email. There isn't yet an option to only allow
+staff users or non-staff users to reset their passwords.
+
+=head1 INSTALL
+
+This extension should be compatible with RT 3.4 and later
+
+To install this extension:
+
+perl Makefile.PL
+make install
+
+If you are running RT 3.8, you must add RT-Extension-ResetPassword
+to your @Plugins in your RT_SiteConfig
+
+Set(@Plugins, qw(RT::Extension::ResetPassword Your::Other::Extensions));
+
+Make sure you clear your mason cache before restarting apache
+rm -rf /opt/rt3/var/mason_data/obj/*
+apachectl restart
+
+
+Copyright 2006-2011 Best Practical Solutions, LLC. 
+This software is distributed under the same license as Perl 5.8.8.
+For commercial support, please contact sales at bestpractical.com
+
+=cut
+
 1;

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



More information about the Bps-public-commit mailing list