[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb:[6683] trunk/LedgerSMB



Revision: 6683
          http://sourceforge.net/p/ledger-smb/code/6683
Author:   einhverfr
Date:     2014-01-28 10:01:36 +0000 (Tue, 28 Jan 2014)
Log Message:
-----------
all tests including pod tests, run with a basic 'make test' command passing.

Modified Paths:
--------------
    trunk/LedgerSMB/Database.pm
    trunk/LedgerSMB/File.pm
    trunk/LedgerSMB/Scripts/inventory.pm
    trunk/LedgerSMB/Scripts/setup.pm

Modified: trunk/LedgerSMB/Database.pm
===================================================================
--- trunk/LedgerSMB/Database.pm	2014-01-28 09:54:39 UTC (rev 6682)
+++ trunk/LedgerSMB/Database.pm	2014-01-28 10:01:36 UTC (rev 6683)
@@ -44,6 +44,12 @@
 
 my $temp = $LedgerSMB::Sysconfig::tempdir;
 
+=item loader_log_filename
+
+This creates a log file for the specific upgrade attempt.
+
+=cut
+
 sub loader_log_filename {
     my $dt = DateTime->now();
     $dt =~ s/://g; # strip out disallowed Windows characters

Modified: trunk/LedgerSMB/File.pm
===================================================================
--- trunk/LedgerSMB/File.pm	2014-01-28 09:54:39 UTC (rev 6682)
+++ trunk/LedgerSMB/File.pm	2014-01-28 10:01:36 UTC (rev 6683)
@@ -262,7 +262,13 @@
     return @results;
 }
 
+=item DEMOLISH 
 
+This is called by Moose on destruction of the object.  We just clean up any
+files we have left around.
+
+=cut
+
 sub DEMOLISH {
    my ($self) = $_;
    opendir(TMP, $self->{file_path}) || return 1;

Modified: trunk/LedgerSMB/Scripts/inventory.pm
===================================================================
--- trunk/LedgerSMB/Scripts/inventory.pm	2014-01-28 09:54:39 UTC (rev 6682)
+++ trunk/LedgerSMB/Scripts/inventory.pm	2014-01-28 10:01:36 UTC (rev 6683)
@@ -117,7 +117,7 @@
     $report->render($request);
 }
 
-=item adjustement_approve
+=item adjustment_approve
 
 =cut
 

Modified: trunk/LedgerSMB/Scripts/setup.pm
===================================================================
--- trunk/LedgerSMB/Scripts/setup.pm	2014-01-28 09:54:39 UTC (rev 6682)
+++ trunk/LedgerSMB/Scripts/setup.pm	2014-01-28 10:01:36 UTC (rev 6683)
@@ -464,6 +464,12 @@
     'default_country' => [ 'ledgersmb/1.2',
 			   'sql-ledger/2.7', 'sql-ledger/2.8']
     );
+
+=item applicable_for_upgrade
+
+Checks settings for applicability for a given upgrade, for the form.
+
+=cut
 	
 sub applicable_for_upgrade {
     my ($info, $upgrade) = @_;
@@ -476,6 +482,12 @@
     return 0;
 }
 
+=item upgrade_info
+
+Displays the upgrade information screen,
+
+=cut
+
 sub upgrade_info {
     my ($request) = @_;
     my $database = _init_db($request);

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.


------------------------------------------------------------------------------
WatchGuard Dimension instantly turns raw network data into actionable 
security intelligence. It gives you real-time visual feedback on key
security issues and trends.  Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk
_______________________________________________
Ledger-smb-commits mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-commits