README.md in sugar_utils-0.2.0 vs README.md in sugar_utils-0.3.0
- old
+ new
@@ -1,38 +1,41 @@
# 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)
+[![Test Coverage](https://codeclimate.com/github/sugarcrm/sugar_utils/badges/coverage.svg)](https://codeclimate.com/github/sugarcrm/sugar_utils/coverage)
[![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
+* SugarUtils.ensure_boolean
+* SugarUtils.ensure_integer
+* SugarUtils::File.flock_shared
+* SugarUtils::File.flock_exclusive
+* SugarUtils::File.read
+* SugarUtils::File.write
+* SugarUtils::File.read_json
+* SugarUtils::File.write_json
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:
@@ -42,10 +45,10 @@
```
And then execute:
```bash
-$ bundle
+$ bundle install
```
Or install it yourself as:
```bash
$ gem install sugar_utils