0.0
No commit activity in last 3 years
No release in over 3 years
Translate YCP-like library calls (Ops.*, Builtins.*) to idiomatic Ruby
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
 Dependencies

Development

< 999, >= 10
< 4, > 2
= 0.41.2

Runtime

~> 0
< 3, >= 2.2.0
 Project Readme

Zombie Killer

In YaST we have tons of Ruby code which is ugly, because it was translated from a legacy language, striving for bug-compatibility.

Zombie Killer analyzes the code for situations where it is safe to replace the ugly variants with nice ones.

See the runnable specification for details.

Installation

Source: clone the git repository.

Dependencies: run bundle. (On openSUSE, most dependencies are packaged as rubygem-*.rpm except unparser)

Usage

zk [FILES...] works in place, so it is best to use in a Git checkout. By default it finds all *.rb files under the current directory.