0.0
Low commit activity in last 3 years
There's a lot of open issues
No release in over a year
Utility methods extracted from SugarCRM Ruby projects.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
 Dependencies

Development

~> 0.14.9
~> 1.7
~> 3.1.2
~> 0.7
~> 12.0
~> 3.8.0
~> 0.68.0
>= 0

Runtime

 Project Readme

sugar_utils

Gem Version Build Status Code Climate Test Coverage License

Inline docs RubyDoc CucumberPro

Utility methods extracted from SugarCRM Ruby projects.

These methods are included:

  • SugarUtils.ensure_boolean
  • SugarUtils.ensure_integer
  • SugarUtils.scrub_encoding
  • SugarUtils::File.flock_shared
  • SugarUtils::File.flock_exclusive
  • SugarUtils::File.change_access
  • SugarUtils::File.read
  • SugarUtils::File.write
  • SugarUtils::File.atomic_write
  • SugarUtils::File.read_json
  • SugarUtils::File.write_json
  • SugarUtils::File.append

Installation

Add this line to your application's Gemfile:

gem 'sugar_utils'

And then execute:

$ bundle install

Or install it yourself as:

$ gem install sugar_utils

Roadmap

These methods might be added in the future:

  • sizeof_dir
  • find_files
  • find_file!
  • gzip
  • gunzip
  • tarball
  • untarball
  • tarball_list
  • encrypt
  • http_get_file
  • timeout_retry

Elsewhere on the web

Links to other places on the web where this projects exists:

Contributing

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

Contributors

Acknowledgements

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