Encoding Strings for Embedding in JSON with Ruby on the Command-Line (1 mins read).

How to easily convert a string to a format that can be used as a value for JSON strings.
Encoding Strings for Embedding in JSON with Ruby on the Command-Line (1 mins read).

How to easily convert a string to a format that can be used as a value for JSON strings.
Programatically Comparing Versions Using Chef's Versioning Schemes (1 mins read).

How to use Chef's versioning classes to determine whether a version constraint is matched.