Skip to content

Releases: avamia/kanrisuru

0.11.0

04 Dec 19:32
Compare
Choose a tag to compare
  • Add codequality badge, cleanup code linting issues.
  • Fix fstab issue with blkid device return type.
  • Fix find spec with sudo permissions.
  • Change stub_network result override to use block.call with a conditional check for indvidual command stubs.
  • Add architecture method to cpu.
  • Add functional test cases for cpu class.
  • Add more unit test cases.

0.10.0

03 Dec 16:18
Compare
Choose a tag to compare
  • Add stub_command and unstub_command to mock indvidual command results from a remote server.
  • Add count and delete to Kanrisuru::Remote::Env class for managing environment variables.
  • Add unit and functional test cases for Kanrisuru::Remote::Env.
  • Add functional test cases for the archive command.
  • Fix typo bugs in the archive command. Fix --exclude opt field in archive command.
  • Add unit test cases for Kanrisuru::Mode class.

0.9.0

23 Nov 16:04
Compare
Choose a tag to compare
  • Add delete to Kanrisuru::Remote::Cluster class to allow removal of hosts from cluster.
  • Add functional test cases for remote cluster class.

0.8.3

20 Aug 22:14
Compare
Choose a tag to compare
  • Fix bug with disk usage, du command by escaping the awk variables in the command.
  • Update du command to execute with shell user.

0.8.2

20 Aug 22:13
Compare
Choose a tag to compare
  • Convert major and minor device field values to an integer in lsblk system module.

0.8.1

20 Aug 22:13
Compare
Choose a tag to compare
  • Fix nodeps flag value for lsblk command in disk module.

0.8.0

18 Aug 22:03
Compare
Choose a tag to compare
  • Add last / lastb implementation in system core module.

0.7.3

09 Aug 04:54
Compare
Choose a tag to compare
  • Fixed bug with zypper remove package, where the package names weren't being added to the linux command.
  • Test case added to ensure package is removed.

0.7.2

09 Aug 04:30
Compare
Choose a tag to compare

Kanrisuru 0.7.2 (August 9, 2021)

  • Fixed bug with the os_method_cache instance variable set in the namespaced instance of a host. This was causing collision issues inbetween host instances, where, hosts with the same aliased method name was getting overwritten (with a different OS), since the namespace instance variable existing on the host class definition wasn't getting reset inbetween host instantiations. Given that the os_method_cache is normally re-instantiated, this bug fix addresses this so that the os_method_cache is always defined on the host instance, ie:

    host.instance_variable_get(:@os_method_cache)
    host.instance_variable_set(:@os_method_cache, os_method_cache)

    This is done instead of being saved on the namespace module. With the previous bug fix of using namespaced keys, there's no way for a method to be overwritten otherwise with a global os_method_cache.

0.7.1

09 Aug 00:39
Compare
Choose a tag to compare
  • Fix bug with os_include when caching namespace unbound methods, use the namespace in the
    cache key to avoid any namespace collisions with the same method name, namely:
"#{namespace}.#{method_name}"