Changes 2.9 KB

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