README.md in hash_diff-0.6.1 vs README.md in hash_diff-0.6.2
- old
+ new
@@ -1,6 +1,7 @@
# HashDiff
+[![Build Status](https://travis-ci.org/CodingZeal/hash_diff.png?branch=master)](https://travis-ci.org/CodingZeal/hash_diff) [![Code Climate](https://codeclimate.com/github/CodingZeal/hash_diff.png)](https://codeclimate.com/github/CodingZeal/hash_diff) [![Gem Version](https://badge.fury.io/rb/hash_diff.png)](http://badge.fury.io/rb/hash_diff)
Deep comparison of Ruby Hash objects
## Installation
@@ -77,10 +78,10 @@
Hash#diff is not provided by default, and monkey patching is frowned upon by some, but to provide a one way shorthand, use the following code snippet.
```ruby
class Hash
def diff(right)
- HashDiff.right_diff(self, right)
+ HashDiff.left_diff(self, right)
end
end
left = { foo: 'bar', num: 1 }
right = { foo: 'baz', num: 1 }