sugar_utils

Gem Version Dependency Status Build Status Coverage Status Code Climate Inline docs 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:

gem 'sugar_utils'

And then execute:

$ bundle

Or install it yourself as:

$ gem install sugar_utils

Contributing

See CONTRIBUTING for how you can contribute changes back into this project.

Acknowledgments

Copyright 2016 SugarCRM Inc., released under the Apache2 License.