openSUSE/cheetah

View on GitHub
CHANGELOG

Summary

Maintainability
Test Coverage
1.0.0 (2021-11-30)
------------------

* Add support for ruby 3.0
  As side effect now Recorder#record_status receive additional parameter

0.5.2 (2020-01-06)
------------------

* If listed in allowed_exitstatus, log exit code as Info, not as Error
  (bsc#1153749)
* Added support for ruby 2.7

0.5.1 (2019-10-16)
------------------

* Implement closing open fds after call to fork (bsc#1151960). This will work
  only in linux system with mounted /proc. For other Unixes it works as before.
* drop support for ruby that is EOL (2.3 and lower)
* Added support for ruby 2.4, 2.5, 2.6

0.5.0 (2015-12-18)
------------------

* Added chroot option for executing in different system root.
* Added ENV overwrite option.
* Allowed to specify known exit codes that are not errors.
* Documented how to execute in different working directory.
* Allowed passing nil as :stdin to be same as :stdout and :strerr.
* Converted parameters for command to strings with `.to_s`.
* Adapted testsuite to new rspec.
* Updated documentation with various fixes.
* Dropped support for Ruby 1.9.3.
* Added support for Ruby 2.1 and 2.2.

0.4.0 (2013-11-21)
------------------

* Implemented incremental logging. The input and both outputs of the executed
  command are now logged one-by-line by the default recorder. A custom recorder
  can record them on even finer granularity.
* Dropped support for Ruby 1.8.7.
* Added support for Ruby 2.0.0.
* Internal code improvements.

0.3.0 (2012-06-21)
------------------

* Allowed passing an IO in the :stdin option.
* Replaced the :capture option with :stdout and :stderr and allowed streaming
  standard and error output into an IO.
* Implemented support for piped commands.
* Implemented the :recorder option allowing to customize logging.
* Replaced Cheetah.logger with more generic Cheetah.default_options.
* Commands in logs and exception messages are now directly copy-pastable into
  the shell.
* Officially supports Ruby 1.8.7 and 1.9.3 on Unix systems.
* Added Travis CI integration.
* Various internal code improvements and fixes.
* Improved gem description and summary.
* Improved documentation.
* Improved README.md.

0.2.1 (2012-04-12)
------------------

* Use Logger#add instead of Logger#log. This means ActiveSupport::BufferedLogger
  can now be passed as a logger.

0.2.0 (2012-04-05)
------------------

* Logger can be set globally.
* Use :info and :error levels for logging instead of :debug.
* Added API documentation.
* Added proper README.md.
* Updated gem description.
* Rewrote tests into RSpec.
* Improved performance for commands with big outputs.
* Internal code improvements.

0.1.0 (2012-03-23)
------------------

* Initial release.