README.md in faraday_middleware-aws-signers-v4-0.1.0 vs README.md in faraday_middleware-aws-signers-v4-0.1.1
- old
+ new
@@ -1,9 +1,10 @@
# FaradayMiddleware::AwsSignersV4
-Faraday middleware for Signature Version 4.
+[Faraday](https://github.com/lostisland/faraday) middleware for AWS Signature Version 4.
+[![Gem Version](https://badge.fury.io/rb/faraday_middleware-aws-signers-v4.svg)](http://badge.fury.io/rb/faraday_middleware-aws-signers-v4)
[![Build Status](https://travis-ci.org/winebarrel/faraday_middleware-aws-signers-v4.svg)](https://travis-ci.org/winebarrel/faraday_middleware-aws-signers-v4)
## Installation
Add this line to your application's Gemfile:
@@ -25,10 +26,10 @@
```ruby
require 'faraday_middleware'
require 'faraday_middleware/aws_signers_v4'
require 'pp'
-conn = Faraday.new(:url => 'https://apigateway.us-east-1.amazonaws.com') do |faraday|
+conn = Faraday.new(url: 'https://apigateway.us-east-1.amazonaws.com') do |faraday|
faraday.request :aws_signers_v4,
credentials: Aws::Credentials.new(ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']),
service_name: 'apigateway',
region: 'us-east-1'