Changes 3.0 KB

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