Changes 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. Revision history for Disk-SMART
  2. 0.13 2015-06-11
  3. Removed bad mocking code from module and unit tests and refactored to use Test::MockModule
  4. Refactored getting smart output into subroutine
  5. 0.12 2015-05-02
  6. Added get_disk_list() to detect sdX and hdX devices
  7. Changed new() to use get_disk_list() if no device list is passed to it
  8. Changed shell call to 'which' to use File::Which
  9. Changed update_data() to take a list of devices
  10. 0.11 2014-11-24
  11. Updated POD
  12. Code cleanup.
  13. Added extended output to get_disk_health() that will report any values > 1 from specific attributes that show impending drive failure
  14. 0.10 2014-10-18
  15. Updated regex to get disk temperature to look for two different lines that could contain temp
  16. Corrected get_disk_attributes() to return hash correctly on Perl < 5.14
  17. 0.09 2014-10-17
  18. Minor changes to get unit tests to pass on smokers
  19. Added testing of env parameter for smartctl path, which will enable multi OS support
  20. Added COMPATABILITY pod section
  21. 0.08 2014-10-16
  22. Corrected test data var name in new();
  23. 0.07 2014-10-15
  24. Implemented dummy testing in unit tests to bypass the need for smokers having smartctl installed
  25. Regex and function cleanups
  26. Added run_short_test() to run the SMART short self test and unit tests for it
  27. 0.06 2014-10-09
  28. Fixed issue with N/A disk temp not returning correctly and causing failure
  29. 0.05 2014-10-08
  30. Separated out data processing from the getter methods. Getter methods now only return hash data.
  31. Added methods and unit tests for update_data() and get_disk_attributes(). update_data() can be called at any point in a calling script to update the drive data. This makes it where Disk::SMART can be used in a script called by cron, or a continuously running daemon.
  32. Updated MANIFEST to include LICENSE file
  33. Changes to satisfy perl critic
  34. Simplified get_disk_temp with substr to read the disk temp
  35. 0.04 2014-10-06
  36. Updated Makefile.PL to better interact with Meta::CPAN
  37. Updated pod for clarity
  38. 0.03 2014-10-04
  39. Added Math::Round to dependency list in Makefile.PL. Credit - Syohei YOSHIDA.
  40. Refactored methods to return N/A first before any further proessing is done
  41. Cleaned up unit tests
  42. get_disk_model() only outputs just the model information now.
  43. Added get_disk_errors()
  44. Methods now validate the device passed to it, to ensure smartctl has already read it
  45. Added unit tests to test passing invalid device to methods
  46. Changed to croak() as I didn't feel a trace was necessary with proper error returning
  47. 0.02 2014-10-03
  48. Added confess to new() in case smartctl cannot find the specified device
  49. 0.01 2014-10-03
  50. First version, released on an unsuspecting world.