README.md in fernet-1.4 vs README.md in fernet-1.5
- old
+ new
@@ -1,10 +1,14 @@
# Fernet
-Fernet allows you to easily generate and verify HMAC based authentication
-tokens for issuing API requests between remote servers.
+[![Build Status](https://secure.travis-ci.org/hgmnz/fernet.png)](http://travis-ci.org/hgmnz/fernet)
+[![Code Climate](https://codeclimate.com/badge.png)](https://codeclimate.com/github/hgmnz/fernet)
+Fernet allows you to easily generate and verify **HMAC based authentication
+tokens** for issuing API requests between remote servers. It also **encrypts**
+data by default, so it can be used to transmit secure messages over the wire.
+
![Fernet](http://f.cl.ly/items/2d0P3d26271O3p2v253u/photo.JPG)
Fernet is usually served as a *digestif* after a meal but may also be served
with coffee and espresso or mixed into coffee and espresso drinks.
@@ -53,11 +57,11 @@
Otherwise, `verified` will be false, and you should deny the request with an
HTTP 401, for example.
The `Fernet.verify` method can be awkward if extracting the plain text data is
-required. For this case, a `verifier` can be requested that makes more
-pleasent:
+required. For this case, a `verifier` can be requested that makes that
+use case more pleasent:
```ruby
verifier = Fernet.verifier(secret, token)
if verifier.valid? # signature valid, TTL verified
operate_on(verifier.data) # the original, decrypted data