# sugar_utils [![Gem Version](https://badge.fury.io/rb/sugar_utils.svg)](http://badge.fury.io/rb/sugar_utils) [![Dependency Status](https://gemnasium.com/sugarcrm/sugar_utils.svg)](https://gemnasium.com/sugarcrm/sugar_utils) [![Build Status](https://travis-ci.org/sugarcrm/sugar_utils.svg?branch=master)](https://travis-ci.org/sugarcrm/sugar_utils) [![Coverage Status](http://img.shields.io/coveralls/sugarcrm/sugar_utils/master.svg)](https://coveralls.io/r/sugarcrm/sugar_utils) [![Code Climate](https://codeclimate.com/github/sugarcrm/sugar_utils/badges/gpa.svg)](https://codeclimate.com/github/sugarcrm/sugar_utils) [![Inline docs](http://inch-ci.org/github/sugarcrm/sugar_utils.svg)](http://inch-ci.org/github/sugarcrm/sugar_utils) [![License](http://img.shields.io/badge/license-Apache2-green.svg?style=flat)](LICENSE) Utility methods extracted from SugarCRM Ruby projects. These methods are included: * ensure_boolean * ensure_integer These methods will probably be included in the future: * sizeof_dir * find_files * find_file! * read_json * write_json * gzip * gunzip * tarball * untarball * tarball_list * encrypt * http_get_file * timeout_retry * flock_with_timeout ## Installation Add this line to your application's Gemfile: ```ruby gem 'sugar_utils' ``` And then execute: ```bash $ bundle ``` Or install it yourself as: ```bash $ gem install sugar_utils ``` ## Contributing See [CONTRIBUTING](CONTRIBUTING.md) for how you can contribute changes back into this project. ## Acknowledgments Copyright 2016 [SugarCRM Inc.](http://sugarcrm.com), released under the Apache2 License.