Эх сурвалжийг харах

Added new version, check Changes for details

Paul Trost 11 жил өмнө
parent
commit
f1c2b86fa8

+ 5 - 0
Changes

@@ -1,5 +1,10 @@
 Revision history for Disk-SMART
 
+0.09    2014-10-17 
+        Minor changes to get unit tests to pass on smokers
+        Added testing of env parameter for smartctl path, which will enable multi OS support
+        Added COMPATABILITY pod section
+
 0.08    2014-10-16 
         Corrected test data var name in new();        
 

BIN
dist/Disk-SMART-0.09.tar.gz


+ 3 - 2
lib/Disk/SMART.pm

@@ -291,7 +291,8 @@ sub _process_disk_temp {
 
 sub _validate_param {
     my ( $self, $device ) = @_;
-    croak "$device not found in object. Verify you specified the right device identifier.\n" if ( !exists $self->{'devices'}->{$device} );
+    croak "$device not found in object. Verify you specified the right device identifier.\n"
+        if ( !exists $self->{'devices'}->{$device} );
 
     return;
 }
@@ -302,7 +303,7 @@ __END__
 
 =head1 COMPATIBILITY
 
-  This module should run on any UNIX like OS with Perl 5.10+ and has the smartctl progam installed from the smartmontools package.
+  This module should run on any UNIX like OS with Perl 5.10+ and the smartctl progam installed from the smartmontools package.
 
 =head1 AUTHOR